[Packages] net/linuxigd: Fix compilation (closes: #3181)
authorolli <olli@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 27 Feb 2008 09:53:34 +0000 (09:53 +0000)
committerolli <olli@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 27 Feb 2008 09:53:34 +0000 (09:53 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10528 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/linuxigd/patches/003-Makefile-fix.patch [new file with mode: 0644]

diff --git a/net/linuxigd/patches/003-Makefile-fix.patch b/net/linuxigd/patches/003-Makefile-fix.patch
new file mode 100644 (file)
index 0000000..25a1c54
--- /dev/null
@@ -0,0 +1,13 @@
+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