e530a7c6cb73cb87e931d61f37a751b97f4b8261
[packages.git] / net / linuxigd / patches / 003-Makefile-fix.patch
1 Index: linuxigd-1.0/Makefile
2 ===================================================================
3 --- linuxigd-1.0.orig/Makefile  2006-05-24 00:16:36.000000000 +0200
4 +++ linuxigd-1.0/Makefile       2010-10-27 17:37:40.000000000 +0200
5 @@ -15,7 +15,7 @@
6  INCLUDES += -I$(LIBIPTC_PREFIX)/include
7  endif
8  
9 -LIBS += -liptc
10 +LIBS += -lip4tc
11  INCLUDES += -DHAVE_LIBIPTC
12  FILES += iptc.o
13  endif
14 @@ -27,7 +27,7 @@
15         @echo "make $@ finished on `date`"
16  
17  %.o:   %.c
18 -       $(CC) $(CFLAGS) $(INCLUDES) -c $<
19 +       $(CC) $(CFLAGS) $(INCLUDES) -D_GNU_SOURCE -c $<
20  
21  clean:
22         rm -f *.o upnpd