packages/net/linuxigd/patches/003-Makefile-fix.patch
olli 962ac1f115 [Packages] net/linuxigd: Fix compilation (closes: #3181)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-27 09:53:34 +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