summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-01-14 16:07:54 -0600
committerTim Harder <radhermit@gentoo.org>2017-01-14 16:22:10 -0600
commit0d1eca2754c7c5fd91662efd1fbc1ec1c8ad666b (patch)
tree95dffdd09ac183ebf7ed86db5792ff554526a483 /net-misc/proxychains/files
parentgnustep-base/gnustep-make: fix documentation installation, bug #585796 (diff)
downloadgentoo-0d1eca2754c7c5fd91662efd1fbc1ec1c8ad666b.tar.gz
gentoo-0d1eca2754c7c5fd91662efd1fbc1ec1c8ad666b.tar.bz2
gentoo-0d1eca2754c7c5fd91662efd1fbc1ec1c8ad666b.zip
net-misc/proxychains: version bump to 4.12
Diffstat (limited to 'net-misc/proxychains/files')
-rw-r--r--net-misc/proxychains/files/proxychains-4.12-makefile.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/proxychains/files/proxychains-4.12-makefile.patch b/net-misc/proxychains/files/proxychains-4.12-makefile.patch
new file mode 100644
index 000000000000..4b3fe530e34f
--- /dev/null
+++ b/net-misc/proxychains/files/proxychains-4.12-makefile.patch
@@ -0,0 +1,43 @@
+--- proxychains-ng-4.12/Makefile
++++ proxychains-ng-4.12/Makefile
+@@ -22,10 +22,8 @@
+
+ GENH = src/version.h
+
+-CFLAGS += -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe
+-NO_AS_NEEDED = -Wl,--no-as-needed
+-LIBDL = -ldl
+-LDFLAGS = -fPIC $(NO_AS_NEEDED) $(LIBDL) -lpthread
++CFLAGS = -Wall -std=c99 -D_GNU_SOURCE
++LIBS = -ldl -lpthread
+ INC =
+ PIC = -fPIC
+ AR = $(CROSS_COMPILE)ar
+@@ -35,11 +33,11 @@
+ LD_SET_SONAME = -Wl,-soname=
+ INSTALL = ./tools/install.sh
+
+-LDSO_PATHNAME = libproxychains4.$(LDSO_SUFFIX)
++LDSO_PATHNAME = libproxychains.$(LDSO_SUFFIX)
+
+ SHARED_LIBS = $(LDSO_PATHNAME)
+ ALL_LIBS = $(SHARED_LIBS)
+-PXCHAINS = proxychains4
++PXCHAINS = proxychains
+ ALL_TOOLS = $(PXCHAINS)
+ ALL_CONFIGS = src/proxychains.conf
+
+@@ -81,11 +79,10 @@
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_MAIN) $(INC) $(PIC) -c -o $@ $<
+
+ $(LDSO_PATHNAME): $(LOBJS)
+- $(CC) $(LDFLAGS) $(LD_SET_SONAME)$(LDSO_PATHNAME) $(USER_LDFLAGS) \
+- -shared -o $@ $(LOBJS)
++ $(CC) $(LDFLAGS) $(LD_SET_SONAME)$(LDSO_PATHNAME) -shared $(PIC) -o $@ $(LOBJS)
+
+ $(ALL_TOOLS): $(OBJS)
+- $(CC) src/main.o src/common.o $(USER_LDFLAGS) -o $(PXCHAINS)
++ $(CC) $(LDFLAGS) src/main.o src/common.o -o $(PXCHAINS)
+
+
+ .PHONY: all clean install install-config install-libs install-tools