From 02407b4c05285a385cfe37b2de876878fbe7aa10 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Wed, 21 Jan 2009 00:21:43 +0000 Subject: include string.h when building cgicc, add libcgicc-unpacked, and clean up libcgicc.mk - still does not build OK --- package/libcgicc/cgicc-3.2.7-memset.patch | 12 ++++++++++++ package/libcgicc/libcgicc.mk | 9 ++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 package/libcgicc/cgicc-3.2.7-memset.patch (limited to 'package/libcgicc') diff --git a/package/libcgicc/cgicc-3.2.7-memset.patch b/package/libcgicc/cgicc-3.2.7-memset.patch new file mode 100644 index 000000000..f1c1411e9 --- /dev/null +++ b/package/libcgicc/cgicc-3.2.7-memset.patch @@ -0,0 +1,12 @@ +diff -urN cgicc-3.2.7-0rig//demo/dns.cpp cgicc-3.2.7/demo/dns.cpp +--- cgicc-3.2.7-0rig//demo/dns.cpp 2009-01-21 00:24:13.000000000 +0100 ++++ cgicc-3.2.7/demo/dns.cpp 2009-01-21 00:24:30.000000000 +0100 +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + + #include "cgicc/CgiDefs.h" + #include "cgicc/Cgicc.h" + diff --git a/package/libcgicc/libcgicc.mk b/package/libcgicc/libcgicc.mk index 02c864ab3..09c17aa81 100644 --- a/package/libcgicc/libcgicc.mk +++ b/package/libcgicc/libcgicc.mk @@ -17,7 +17,8 @@ libcgicc-source: $(DL_DIR)/$(LIBCGICC_SOURCE) $(LIBCGICC_DIR)/.unpacked: $(DL_DIR)/$(LIBCGICC_SOURCE) $(LIBCGICC_CAT) $(DL_DIR)/$(LIBCGICC_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - - touch $(LIBCGICC_DIR)/.unpacked + toolchain/patch-kernel.sh $(LIBCGICC_DIR) package/libcgicc cgicc\*.patch + touch $@ $(LIBCGICC_DIR)/.configured: $(LIBCGICC_DIR)/.unpacked (cd $(LIBCGICC_DIR); rm -f config.cache; \ @@ -40,11 +41,11 @@ $(LIBCGICC_DIR)/.configured: $(LIBCGICC_DIR)/.unpacked --mandir=/usr/man \ --infodir=/usr/info \ ) - touch $(LIBCGICC_DIR)/.configured + touch $@ $(LIBCGICC_DIR)/.compiled: $(LIBCGICC_DIR)/.configured $(MAKE) -C $(LIBCGICC_DIR) - touch $(LIBCGICC_DIR)/.compiled + touch $@ $(STAGING_DIR)/lib/libcgicc.so: $(LIBCGICC_DIR)/.compiled $(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBCGICC_DIR) install @@ -55,6 +56,8 @@ $(TARGET_DIR)/usr/lib/libcgicc.so: $(STAGING_DIR)/lib/libcgicc.so libcgicc: uclibc $(TARGET_DIR)/usr/lib/libcgicc.so +libcgicc-unpacked: $(LIBCGICC_DIR)/.unpacked + libcgicc-clean: -$(MAKE) -C $(LIBCGICC_DIR) clean -- cgit v1.2.3