- it might works right now (no guarantees)
[packages/capi4k-utils.git] / capi4k-utils-amd64.patch
CommitLineData
5f4efafa 1diff -Naur capi4k-utils.orig/capi20/Makefile.in capi4k-utils/capi20/Makefile.in
2--- capi4k-utils.orig/capi20/Makefile.in 2004-12-21 17:45:25.000000000 +0100
33d4af14 3+++ capi4k-utils/capi20/Makefile.in 2004-12-22 14:28:18.193567592 +0100
4@@ -118,7 +118,7 @@
5 libcapi20_la_LIBADD =
6 libcapi20_la_OBJECTS = capi20.lo capifunc.lo convert.lo
7 CFLAGS = @CFLAGS@
8-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
9+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIC
10 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
11 CCLD = $(CC)
12 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
5f4efafa 13@@ -261,7 +261,7 @@
14 done
15
16 libcapi20.la: $(libcapi20_la_OBJECTS) $(libcapi20_la_DEPENDENCIES)
17- $(LINK) -rpath $(libdir) $(libcapi20_la_LDFLAGS) $(libcapi20_la_OBJECTS) $(libcapi20_la_LIBADD) $(LIBS)
18+ $(LINK) -rpath $(libdir) $(libcapi20_la_LDFLAGS) $(libcapi20_la_CFLAGS) $(libcapi20_la_OBJECTS) $(libcapi20_la_LIBADD) $(LIBS)
19
20 install-includeHEADERS: $(include_HEADERS)
21 @$(NORMAL_INSTALL)
6345ca96 22diff -Naur capi4k-utils.orig/pppdcapiplugin/Rules.make capi4k-utils/pppdcapiplugin/Rules.make
5f4efafa 23--- capi4k-utils.orig/pppdcapiplugin/Rules.make 2004-12-21 17:45:25.000000000 +0100
33d4af14 24+++ capi4k-utils/pppdcapiplugin/Rules.make 2004-12-22 14:16:38.389953912 +0100
6345ca96 25@@ -21,7 +21,7 @@
26 all: $(ALL)
27
28 capiplugin.so: capiplugin.o capiconn.o
29- $(CC) -o $@ $(LDFLAGS) capiplugin.o capiconn.o -lcapi20dyn
30+ $(CC) -o $@ $(LDFLAGS) $(CFLAGS) capiplugin.o capiconn.o -lcapi20dyn
31
32 userpass.so: userpass.o
33 $(CC) -o $@ $(LDFLAGS) $(CFLAGS) -nostdlib userpass.o
This page took 0.059134 seconds and 4 git commands to generate.