net-proxy/dante: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/3666
This commit is contained in:
Michael Mair-Keimberger (asterix)
2017-01-26 18:24:59 +01:00
committed by David Seifert
parent 04b5ecd749
commit ff70a3b83f
2 changed files with 0 additions and 69 deletions

View File

@@ -1,26 +0,0 @@
--- dante-1.3.0/bin/socksify.in.orig
+++ dante-1.3.0/bin/socksify.in
@@ -53,8 +53,6 @@
exit 1
fi
-SOCKSIFY_PRELOAD_LIBS="@SOCKSIFY_PRELOAD_LIBS@"
-
SOCKS_LIBDIR="${SOCKS_LIBDIR:-@LIBRARY_PREFIX@}"
if test x`uname` = xDarwin; then
@@ -80,8 +78,12 @@
@PRELOAD_VARIABLE@="${LIBRARY}${SOCKSIFY_PRELOAD_LIBS:+${PRELOAD_SEPERATOR}}${SOCKSIFY_PRELOAD_LIBS}${PRELOAD_POSTFIX:+${PRELOAD_SEPERATOR}}${PRELOAD_POSTFIX}"
export @PRELOAD_VARIABLE@
-LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}${SOCKS_LIBDIR}"
-export LD_LIBRARY_PATH
+# There is no reason to set LD_LIBRARY_PATH, at least on Linux, where
+# LD_PRELOAD can contain a full path to the library. Setting the
+# following breaks socksify on Linux/Alpha at least with
+# binutils-2.14.90.0.7-r3 (08 Dec 2003 agriffis)
+#LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}${LIBDIR}"
+#export LD_LIBRARY_PATH
if test x"@ISA64DIR@" != x; then
SOCKS_LIB64DIR="${LIB64DIR:-${SOCKS_LIBDIR}/@ISA64DIR@}"

View File

@@ -1,43 +0,0 @@
Respect CFLAGS (bug #377353) -JeR
--- a/configure.ac
+++ b/configure.ac
@@ -199,18 +199,6 @@
#XXX make sure compiling with compiler options works
esac
-AC_MSG_CHECKING([for support for -pipe compiler flag])
-oCFLAGS=$CFLAGS
-CFLAGS="$CFLAGS -pipe"
-AC_TRY_RUN([
-int main()
-{
- return 0;
-}], [AC_MSG_RESULT([yes])
- comp_flags="${comp_flags} -pipe"],
- AC_MSG_RESULT([no]))
-CFLAGS="$oCFLAGS"
-
AC_MSG_CHECKING([for support for -Wbounded compiler flag])
oCFLAGS=$CFLAGS
CFLAGS="$CFLAGS -Wbounded"
@@ -233,18 +221,11 @@
fi])
if test x$debug_enabled = xt; then
- #no optimization wanted
- if test $ac_cv_prog_cc_g = yes; then
- CFLAGS="$CFLAGS -g"
- fi
CPPFLAGS="$CPPFLAGS${CPPFLAGS:+ }-DDEBUG=1"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
- #autoconf_compflags is set to "-g -O2" with GCC
- #override CFLAGS when running configure to avoid this
CPPFLAGS="$CPPFLAGS${CPPFLAGS:+ }-DDEBUG=0"
- CFLAGS="$CFLAGS $autoconf_compflags"
fi
#-Wall ?