diff options
Diffstat (limited to 'testing/openvcp/system-libiptc.patch')
-rw-r--r-- | testing/openvcp/system-libiptc.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/openvcp/system-libiptc.patch b/testing/openvcp/system-libiptc.patch new file mode 100644 index 0000000000..cfbe7296ea --- /dev/null +++ b/testing/openvcp/system-libiptc.patch @@ -0,0 +1,27 @@ +--- ./Makefile.in.orig ++++ ./Makefile.in +@@ -7,9 +7,9 @@ + CC=@CC@ + CFLAGS=@CFLAGS@ @DEFS@ -DOPENVCP_CONFIG=\"$(sysconfdir)/openvcpd.conf\" -DOPENVCP_DATA=\"$(datadir)/openvcpd\" -Ilib/ -Isrc/ -rdynamic -DREVISION=\"$(REV)\" `python-config --cflags` + LDFLAGS=@LDFLAGS@ +-LIBS=@LIBS@ `python-config --ldflags` ++LIBS=@LIBS@ `python-config --ldflags` -liptc + +-OBJECTS = lib/libiptc/libip6tc.o lib/libiptc/libip4tc.o src/modules.o src/misc.o src/node.o src/traffic.o src/logtraffic.o src/setup.o src/set.o src/parseconfig.o src/get.o src/request.o lib/fs.o lib/strings.o lib/ovcpxml.o src/filter.o src/bandwidth.o src/trafficlimit.o src/userbackup.o src/task.o ++OBJECTS = src/modules.o src/misc.o src/node.o src/traffic.o src/logtraffic.o src/setup.o src/set.o src/parseconfig.o src/get.o src/request.o lib/fs.o lib/strings.o lib/ovcpxml.o src/filter.o src/bandwidth.o src/trafficlimit.o src/userbackup.o src/task.o + + all: openvcpd lib/pyovcp/ovcp.so + openvcpd: src/main.c $(OBJECTS) lib/pyovcp/pyovcp.a +@@ -35,12 +35,6 @@ + + lib/ovcpxml.o: lib/ovcpxml.c + $(CC) $(CFLAGS) -fPIC -c lib/ovcpxml.c -o lib/ovcpxml.o +- +-lib/libiptc/libip4tc.o: +- cd lib/libiptc/; make libip4tc.o; +- +-lib/libiptc/libip6tc.o: +- cd lib/libiptc/; make libip6tc.o; + + lib/pyovcp/ovcp.so: + cd lib/pyovcp/; make ovcp.so; |