summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Efros <powerman@powerman.name>2016-12-16 20:34:08 +0200
committerMichael Palimaka <kensington@gentoo.org>2017-02-12 23:01:11 +1100
commitefd18d8e86a5ead0f454310f3e750a38ed82e813 (patch)
tree0cf275c89e2352994189ed863e358156b69ce405 /net-proxy/3proxy/files
parentapp-i18n/jfbterm: add patch from Fedora fixing build with gcc-5 (diff)
downloadgentoo-efd18d8e86a5ead0f454310f3e750a38ed82e813.tar.gz
gentoo-efd18d8e86a5ead0f454310f3e750a38ed82e813.tar.bz2
gentoo-efd18d8e86a5ead0f454310f3e750a38ed82e813.zip
net-proxy/3proxy: version bump to 0.8.8
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-proxy/3proxy/files')
-rw-r--r--net-proxy/3proxy/files/3proxy-0.8.8-gentoo.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/net-proxy/3proxy/files/3proxy-0.8.8-gentoo.patch b/net-proxy/3proxy/files/3proxy-0.8.8-gentoo.patch
new file mode 100644
index 000000000000..a88dedefff98
--- /dev/null
+++ b/net-proxy/3proxy/files/3proxy-0.8.8-gentoo.patch
@@ -0,0 +1,43 @@
+--- a/Makefile.Linux 2016-12-16 20:24:53.809856430 +0200
++++ b/Makefile.Linux 2016-12-16 20:26:24.912859170 +0200
+@@ -10,11 +10,11 @@
+ BUILDDIR =
+ CC = gcc
+
+-CFLAGS = -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
++CFLAGS += -g -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
+ COUT = -o
+ LN = gcc
+ DCFLAGS = -fpic
+-LDFLAGS = -O2 -pthread
++LDFLAGS += -pthread
+ DLFLAGS = -shared
+ DLSUFFICS = .ld.so
+ # -lpthreads may be reuqired on some platforms instead of -pthreads
+@@ -39,12 +39,12 @@
+ include Makefile.inc
+
+ allplugins:
+- @list='$(PLUGINS)'; for p in $$list; do cp Makefile Makefile.var plugins/$$p; cd plugins/$$p ; make ; cd ../.. ; done
++ @list='$(PLUGINS)'; for p in $$list; do cp Makefile Makefile.var plugins/$$p; cd plugins/$$p ; $(MAKE) ; cd ../.. ; done
+
+ DESTDIR =
+-prefix = /usr/local
++prefix =
+ exec_prefix = $(prefix)
+-man_prefix = $(prefix)/share
++man_prefix = $(prefix)/usr/share
+
+ INSTALL = /usr/bin/install
+ INSTALL_BIN = $(INSTALL) -m 755
+--- a/src/stringtable.c 2016-12-16 20:24:53.811856430 +0200
++++ b/src/stringtable.c 2016-12-16 20:26:48.288859873 +0200
+@@ -38,7 +38,7 @@
+ /* 24 */ NULL,
+ #ifndef TPROXY_CONF
+ #ifndef _WIN32
+-/* 25 */ (unsigned char *)"/usr/local/etc/3proxy/3proxy.cfg",
++/* 25 */ (unsigned char *)"/etc/3proxy/3proxy.cfg",
+ #else
+ /* 25 */ (unsigned char *)"3proxy.cfg",
+ #endif