summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/cbtt/patches/patch-Makefile3
-rw-r--r--package/httping/Makefile2
-rw-r--r--package/httping/patches/patch-Makefile21
-rw-r--r--package/python2/Makefile2
-rw-r--r--package/tcsh/patches/patch-sh_h14
-rw-r--r--toolchain/kernel-headers/patches/linux-gcc-check.patch18
6 files changed, 57 insertions, 3 deletions
diff --git a/package/cbtt/patches/patch-Makefile b/package/cbtt/patches/patch-Makefile
index 6701c7e2b..ddcc23d82 100644
--- a/package/cbtt/patches/patch-Makefile
+++ b/package/cbtt/patches/patch-Makefile
@@ -1,5 +1,5 @@
--- cbtt80-20060211-src.orig/Makefile 2006-02-07 18:44:58.000000000 +0100
-+++ cbtt80-20060211-src/Makefile 2010-02-11 20:13:13.000000000 +0100
++++ cbtt80-20060211-src/Makefile 2010-02-14 09:21:02.000000000 +0100
@@ -1,10 +1,8 @@
-SHELL = /bin/sh
-SYSTEM = $(shell uname)
@@ -58,5 +58,4 @@
tracker.mysql.o: bnbt.h bnbt_mysql.h atom.h bencode.h config.h md5.h server.h sort.h tracker.h util.h
tracker_announce.mysql.o: bnbt.h bnbt_mysql.h atom.h bencode.h link.h tracker.h util.h
-tracker_scrape.mysql.o: bnbt.h bnbt_mysql.h atom.h bencode.h tracker.h util.h
-\ No newline at end of file
+tracker_scrape.mysql.o: bnbt.h bnbt_mysql.h atom.h bencode.h tracker.h util.h
diff --git a/package/httping/Makefile b/package/httping/Makefile
index 7f0d6add6..18a97a85b 100644
--- a/package/httping/Makefile
+++ b/package/httping/Makefile
@@ -23,6 +23,6 @@ CONFIG_STYLE:= manual
post-install:
${INSTALL_DIR} ${IDIR_HTTPING}/usr/bin
- ${CP} ${WRKINST}/usr/bin/httping ${IDIR_HTTPING}/usr/bin/
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/httping ${IDIR_HTTPING}/usr/bin/
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/httping/patches/patch-Makefile b/package/httping/patches/patch-Makefile
new file mode 100644
index 000000000..9b7f55b7b
--- /dev/null
+++ b/package/httping/patches/patch-Makefile
@@ -0,0 +1,21 @@
+--- httping-1.4.1.orig/Makefile 2010-01-10 21:35:22.000000000 +0100
++++ httping-1.4.1/Makefile 2010-02-14 11:30:47.000000000 +0100
+@@ -17,7 +17,7 @@ include version
+ TARGET=httping
+
+ WFLAGS=-Wall -W
+-OFLAGS=-O2
++OFLAGS=
+ CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\"
+
+ PACKAGE=$(TARGET)-$(VERSION)
+@@ -73,9 +73,6 @@ install: $(TARGET)
+ $(INSTALLMAN) $(MANS) $(DESTDIR)/$(MANDIR)/man1
+ $(INSTALLDIR) $(DESTDIR)/$(DOCDIR)
+ $(INSTALLDOC) $(DOCS) $(DESTDIR)/$(DOCDIR)
+-ifneq (DEBUG,yes)
+- $(STRIP) $(DESTDIR)/$(BINDIR)/$(TARGET)
+-endif
+
+ clean:
+ $(RMDIR) $(OBJS) $(TARGET) *~ core
diff --git a/package/python2/Makefile b/package/python2/Makefile
index 56aaa9062..c9edbcd42 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -12,6 +12,8 @@ PKG_SECTION:= lang
PKG_URL:= http://www.python.org
PKG_SITES:= http://www.python.org/ftp/python/${PKG_VERSION}/
+PKG_HOST_DEPENDS:= !netbsd
+
DISTFILES= Python-${PKG_VERSION}.tgz
WRKDIST= ${WRKDIR}/Python-${PKG_VERSION}
diff --git a/package/tcsh/patches/patch-sh_h b/package/tcsh/patches/patch-sh_h
new file mode 100644
index 000000000..b638e850f
--- /dev/null
+++ b/package/tcsh/patches/patch-sh_h
@@ -0,0 +1,14 @@
+--- tcsh-6.17.00.orig/sh.h 2009-06-25 23:27:37.000000000 +0200
++++ tcsh-6.17.00/sh.h 2010-02-15 18:45:11.000000000 +0100
+@@ -375,9 +375,11 @@ static inline void ignore(intptr_t a)
+ #include <pwd.h>
+ #include <grp.h>
+ #endif /* WINNT_NATIVE */
++#if !defined(BSD)
+ #ifdef HAVE_SHADOW_H
+ # include <shadow.h>
+ #endif /* HAVE_SHADOW_H */
++#endif
+ #ifdef HAVE_AUTH_H
+ # include <auth.h>
+ #endif /* HAVE_AUTH_H */
diff --git a/toolchain/kernel-headers/patches/linux-gcc-check.patch b/toolchain/kernel-headers/patches/linux-gcc-check.patch
new file mode 100644
index 000000000..7cc381845
--- /dev/null
+++ b/toolchain/kernel-headers/patches/linux-gcc-check.patch
@@ -0,0 +1,18 @@
+diff -Nur linux-2.6.32.orig/arch/mips/include/asm/sgidefs.h linux-2.6.32/arch/mips/include/asm/sgidefs.h
+--- linux-2.6.32.orig/arch/mips/include/asm/sgidefs.h 2009-12-03 04:51:21.000000000 +0100
++++ linux-2.6.32/arch/mips/include/asm/sgidefs.h 2010-02-14 11:49:21.000000000 +0100
+@@ -11,14 +11,6 @@
+ #define __ASM_SGIDEFS_H
+
+ /*
+- * Using a Linux compiler for building Linux seems logic but not to
+- * everybody.
+- */
+-#ifndef __linux__
+-#error Use a Linux compiler or give up.
+-#endif
+-
+-/*
+ * Definitions for the ISA levels
+ *
+ * With the introduction of MIPS32 / MIPS64 instruction sets definitions