mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-proxy/dante: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/3666
This commit is contained in:
committed by
David Seifert
parent
04b5ecd749
commit
ff70a3b83f
@@ -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@}"
|
||||
@@ -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 ?
|
||||
Reference in New Issue
Block a user