packages/net/linuxigd/patches/003-Makefile-fix.patch
mb 3c4b9d26c7 Revert r23676
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 16:02:56 +00:00

14 lines
407 B
Diff

Index: linuxigd-1.0/Makefile
===================================================================
--- linuxigd-1.0.orig/Makefile 2008-02-27 10:45:26.000000000 +0100
+++ linuxigd-1.0/Makefile 2008-02-27 10:45:54.000000000 +0100
@@ -27,7 +27,7 @@
@echo "make $@ finished on `date`"
%.o: %.c
- $(CC) $(CFLAGS) $(INCLUDES) -c $<
+ $(CC) $(CFLAGS) $(INCLUDES) -D_GNU_SOURCE -c $<
clean:
rm -f *.o upnpd