+++ /dev/null
-#
-# Copyright (C) 2016 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=lpc21isp
-PKG_VERSION:=197
-PKG_RELEASE:=7
-PKG_LICENSE:=LGPL-3.0-or-later
-PKG_LICENSE_FILES:=README gpl.txt lgpl-3.0.txt
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/lpc21isp_$(PKG_VERSION)
-PKG_SOURCE:=lpc21isp_$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=@SF/lpc21isp
-PKG_HASH:=9f7d80382e4b70bfa4200233466f29f73a36fea7dc604e32f05b9aa69ef591dc
-PKG_CAT:=zcat
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/lpc21isp
- SECTION:=base
- CATEGORY:=Development
- TITLE:=Command line ISP for NXP LPC family and ADUC70xx
- URL:=http://lpc21isp.sourceforge.net/
- MAINTAINER:=Emil 'Skeen' Madsen <sovende@gmail.com>
-endef
-
-define Package/lpc21isp/description
- Portable command line ISP (In-circuit Programmer) for NXP LPC family
- and Analog Devices ADUC70xx.
-endef
-
-TARGET_CFLAGS += $(if $(CONFIG_USE_GLIBC),-lc -lgcc_eh)
-
-MAKE_FLAGS += \
- OSTYPE="Linux"
-
-define Package/lpc21isp/install
- $(INSTALL_DIR) $(1)/usr/sbin
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/lpc21isp $(1)/usr/sbin/
-endef
-
-$(eval $(call BuildPackage,lpc21isp))
+++ /dev/null
---- a/lpc21isp.c
-+++ b/lpc21isp.c
-@@ -1549,7 +1549,7 @@ static void ReadArguments(ISP_ENVIRONMEN
- DebugPrintf(2, "\n"
- "Portable command line ISP\n"
- "for NXP LPC family and Analog Devices ADUC 70xx\n"
-- "Version " VERSION_STR " compiled for " COMPILED_FOR ": " __DATE__ ", " __TIME__ "\n"
-+ "Version " VERSION_STR " compiled for " COMPILED_FOR "\n"
- "Copyright (c) by Martin Maurer, 2003-2013, Email: Martin.Maurer@clibb.de\n"
- "Portions Copyright (c) by Aeolus Development 2004, www.aeolusdevelopment.com\n"
- "\n");
+++ /dev/null
---- a/lpc21isp.c
-+++ b/lpc21isp.c
-@@ -533,7 +533,7 @@ static void OpenSerialPort(ISP_ENVIRONME
-
- tcgetattr(IspEnvironment->fdCom, &IspEnvironment->oldtio); /* save current port settings */
-
-- bzero(&IspEnvironment->newtio, sizeof(IspEnvironment->newtio));
-+ memset(&IspEnvironment->newtio, 0, sizeof(IspEnvironment->newtio));
- IspEnvironment->newtio.c_cflag = CS8 | CLOCAL | CREAD;
-
- #if defined(__FreeBSD__) || defined(__OpenBSD__)