diff options
author | Alex Efros <powerman-asdf@yandex.ru> | 2020-10-22 22:57:08 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-10-27 09:35:30 +0200 |
commit | 213b345dfe3375390741c8212c4b0e5f6078b850 (patch) | |
tree | a21bd9b0d435209303ffffefde01b91d5e62c99a /net-proxy/3proxy/files | |
parent | net-voip/telepathy-haze: Remove last-rited pkg (diff) | |
download | gentoo-213b345dfe3375390741c8212c4b0e5f6078b850.tar.gz gentoo-213b345dfe3375390741c8212c4b0e5f6078b850.tar.bz2 gentoo-213b345dfe3375390741c8212c4b0e5f6078b850.zip |
net-proxy/3proxy: bump to 0.9.0
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Aleksandr Efros <powerman-asdf@yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/18005
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-proxy/3proxy/files')
-rw-r--r-- | net-proxy/3proxy/files/3proxy-0.9.0-gentoo.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-proxy/3proxy/files/3proxy-0.9.0-gentoo.patch b/net-proxy/3proxy/files/3proxy-0.9.0-gentoo.patch new file mode 100644 index 000000000000..d7c530535f64 --- /dev/null +++ b/net-proxy/3proxy/files/3proxy-0.9.0-gentoo.patch @@ -0,0 +1,36 @@ +diff -uNr a/Makefile.Linux b/Makefile.Linux +--- a/Makefile.Linux 2020-10-22 11:38:44.000000000 +0300 ++++ b/Makefile.Linux 2020-10-22 22:38:26.257745810 +0300 +@@ -8,13 +8,13 @@ + # library support. Add -DSAFESQL for poorely written ODBC library / drivers. + + BUILDDIR = ../bin/ +-CC = gcc ++CC ?= gcc + +-CFLAGS = -g -fPIC -O2 -fno-strict-aliasing -c -pthread -DWITHSPLICE -D_GNU_SOURCE -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITH_NETFILTER ++CFLAGS += -fPIC -fno-strict-aliasing -c -pthread -DWITHSPLICE -D_GNU_SOURCE -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITH_NETFILTER + COUT = -o +-LN = gcc ++LN ?= gcc + DCFLAGS = +-LDFLAGS = -fPIE -O2 -fno-strict-aliasing -pthread ++LDFLAGS += -fPIE -fno-strict-aliasing -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 = + exec_prefix = $(prefix) +-man_prefix = /usr/share ++man_prefix = $(prefix)/usr/share + + INSTALL = /usr/bin/install + INSTALL_BIN = $(INSTALL) -m 755 |