diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-05-03 04:21:20 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-05-03 04:21:20 +0000 |
commit | 027b6883e6837a44c1ae184339291ea315e674a3 (patch) | |
tree | d93a19f4c0c9125b0ee7ae9cd86e411bebd09fcc /package/netkitbase | |
parent | 48f9b7862e0231eae2c6a05378ced5e8769b2db9 (diff) | |
download | buildroot-novena-027b6883e6837a44c1ae184339291ea315e674a3.tar.gz buildroot-novena-027b6883e6837a44c1ae184339291ea315e674a3.zip |
Add patches for GCC-4.x so that packages will build properly.
Diffstat (limited to 'package/netkitbase')
-rw-r--r-- | package/netkitbase/netkitbase-gcc4.patch | 12 | ||||
-rw-r--r-- | package/netkitbase/netkitbase.mk | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/package/netkitbase/netkitbase-gcc4.patch b/package/netkitbase/netkitbase-gcc4.patch new file mode 100644 index 000000000..41fbce98a --- /dev/null +++ b/package/netkitbase/netkitbase-gcc4.patch @@ -0,0 +1,12 @@ +diff -ur netkit-base-0.17/inetd/servtab.c netkit-base-0.17-patched/inetd/servtab.c +--- netkit-base-0.17/inetd/servtab.c 2000-07-22 15:20:50.000000000 -0500 ++++ netkit-base-0.17-patched/inetd/servtab.c 2005-04-30 21:23:52.649630720 -0500 +@@ -771,7 +771,7 @@ + return; + } + +-#define SWAP(type, a, b) {type c=(type)a; (type)a=(type)b; (type)b=(type)c;} ++#define SWAP(type, a, b) {type c=(type)a; a=(type)b; b=(type)c;} + + /* + * sep->se_wait may be holding the pid of a daemon diff --git a/package/netkitbase/netkitbase.mk b/package/netkitbase/netkitbase.mk index 78565f6c6..53bacea5d 100644 --- a/package/netkitbase/netkitbase.mk +++ b/package/netkitbase/netkitbase.mk @@ -21,6 +21,7 @@ $(NETKITBASE_DIR)/.unpacked: $(DL_DIR)/$(NETKITBASE_SOURCE) $(SED) "s/main()/main(void)/;" $(NETKITBASE_DIR)/configure # don't try to run cross compiled binaries while configuring things $(SED) "s~./__conftest~#./__conftest~;" $(NETKITBASE_DIR)/configure + toolchain/patch-kernel.sh $(NETKITBASE_DIR) package/netkitbase/ netkitbase*.patch touch $(NETKITBASE_DIR)/.unpacked $(NETKITBASE_DIR)/.configured: $(NETKITBASE_DIR)/.unpacked |