[Packages] net/linuxigd: Fix compilation (closes: #3181)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10528 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e766864f15
commit
962ac1f115
13
net/linuxigd/patches/003-Makefile-fix.patch
Normal file
13
net/linuxigd/patches/003-Makefile-fix.patch
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user