From 9257967b31adab199251119e54bf4d5c6fb37dd3 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Tue, 28 Nov 2006 09:27:25 +0000 Subject: git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6387 33e552b5-05e3-0310-8538-816dae2090ed --- .../generic/configure-remove-includes.diff | 49 ++++++++++++++++++++++ .../generic/configure_ac-remove-includes.diff | 49 ++++++++++++++++++++++ patches/pure-ftpd-1.0.21/generic/series | 2 + 3 files changed, 100 insertions(+) create mode 100644 patches/pure-ftpd-1.0.21/generic/configure-remove-includes.diff create mode 100644 patches/pure-ftpd-1.0.21/generic/configure_ac-remove-includes.diff create mode 100644 patches/pure-ftpd-1.0.21/generic/series (limited to 'patches') diff --git a/patches/pure-ftpd-1.0.21/generic/configure-remove-includes.diff b/patches/pure-ftpd-1.0.21/generic/configure-remove-includes.diff new file mode 100644 index 000000000..8d531d7d9 --- /dev/null +++ b/patches/pure-ftpd-1.0.21/generic/configure-remove-includes.diff @@ -0,0 +1,49 @@ +Index: pure-ftpd-1.0.21/configure +=================================================================== +--- pure-ftpd-1.0.21.orig/configure ++++ pure-ftpd-1.0.21/configure +@@ -3588,22 +3588,6 @@ fi + + CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE=1" + +-if test -d /usr/local/include; then +- CPPFLAGS="$CPPFLAGS -I/usr/local/include" +-fi +- +-if test -d /usr/kerberos/include; then +- CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include" +-fi +- +-if test -d /usr/local/lib; then +- LDFLAGS="$LDFLAGS -L/usr/local/lib" +-fi +- +-if uname | fgrep SunOS > /dev/null 2> /dev/null ; then +- CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__=1 -D_XPG4_2=1" +-fi +- + + echo "$as_me:$LINENO: checking for ANSI C header files" >&5 + echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 +@@ -22242,10 +22226,6 @@ if test "${with_mysql+set}" = set; then + LD_RUN_PATH="${withval}/lib${LD_RUN_PATH:+:}${LD_RUN_PATH}" + LDFLAGS="$LDFLAGS -L${withval}/lib -L${withval}/lib/mysql -L${withval}/mysql/lib" + CPPFLAGS="$CPPFLAGS -I${withval}/include -I${withval}/include/mysql -I${withval}/mysql/include" +- else +- LD_RUN_PATH="/usr/local/mysql/lib:/usr/local/mysql/lib/mysql:/usr/lib/mysql:/usr/mysql/lib:/usr/mysql/lib/mysql:/usr/local/lib/mysql:${LD_RUN_PATH:+:}${LD_RUN_PATH}" +- LDFLAGS="$LDFLAGS -L/usr/local/mysql/lib -L/usr/lib/mysql -L/usr/mysql/lib -L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql -L/usr/mysql/lib/mysql" +- CPPFLAGS="$CPPFLAGS -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql" + fi + + echo "$as_me:$LINENO: checking for floor in -lm" >&5 +@@ -22645,10 +22625,6 @@ if test "${with_pgsql+set}" = set; then + LD_RUN_PATH="${withval}/lib${LD_RUN_PATH:+:}${LD_RUN_PATH}" + LDFLAGS="$LDFLAGS -L${withval}/lib -L${withval}/lib/pgsql -L${withval}/lib/postgresql -L${withval}/pgsql/lib -L${withval}/postgresql/lib" + CPPFLAGS="$CPPFLAGS -I${withval}/include -I${withval}/include/pgsql -I${withval}/include/postgresql -I${withval}/pgsql/include -I${withval}/postgresql/include" +- else +- LD_RUN_PATH="/usr/local/pgsql/lib:/usr/local/pgsql/lib/pgsql:/usr/lib/pgsql:/usr/pgsql/lib:/usr/pgsql/lib/pgsql:/usr/local/lib/pgsql:/usr/local/postgresql/lib:/usr/local/postgresql/lib/postgresql:/usr/lib/postgresql:/usr/postgresql/lib:/usr/postgresql/lib/postgresql:/usr/local/lib/postgresql:${LD_RUN_PATH:+:}${LD_RUN_PATH}" +- LDFLAGS="$LDFLAGS -L/usr/local/pgsql/lib -L/usr/lib/pgsql -L/usr/pgsql/lib -L/usr/local/lib/pgsql -L/usr/local/pgsql/lib/pgsql -L/usr/pgsql/lib/pgsql -L/usr/local/postgresql/lib -L/usr/lib/postgresql -L/usr/postgresql/lib -L/usr/local/lib/postgresql -L/usr/local/postgresql/lib/postgresql -L/usr/postgresql/lib/postgresql" +- CPPFLAGS="$CPPFLAGS -I/usr/local/pgsql/include -I/usr/include/pgsql -I/usr/pgsql/include -I/usr/local/include/pgsql -I/usr/local/pgsql/include/pgsql -I/usr/pgsql/include/pgsql -I/usr/local/postgresql/include -I/usr/include/postgresql -I/usr/postgresql/include -I/usr/local/include/postgresql -I/usr/local/postgresql/include/postgresql -I/usr/postgresql/include/postgresql" + fi + + echo "$as_me:$LINENO: checking for floor in -lm" >&5 diff --git a/patches/pure-ftpd-1.0.21/generic/configure_ac-remove-includes.diff b/patches/pure-ftpd-1.0.21/generic/configure_ac-remove-includes.diff new file mode 100644 index 000000000..c25bee884 --- /dev/null +++ b/patches/pure-ftpd-1.0.21/generic/configure_ac-remove-includes.diff @@ -0,0 +1,49 @@ +Index: pure-ftpd-1.0.21/configure.ac +=================================================================== +--- pure-ftpd-1.0.21.orig/configure.ac ++++ pure-ftpd-1.0.21/configure.ac +@@ -30,22 +30,6 @@ AC_PATH_PROG(PYTHON,python,/usr/bin/env + + CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE=1" + +-if test -d /usr/local/include; then +- CPPFLAGS="$CPPFLAGS -I/usr/local/include" +-fi +- +-if test -d /usr/kerberos/include; then +- CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include" +-fi +- +-if test -d /usr/local/lib; then +- LDFLAGS="$LDFLAGS -L/usr/local/lib" +-fi +- +-if uname | fgrep SunOS > /dev/null 2> /dev/null ; then +- CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__=1 -D_XPG4_2=1" +-fi +- + dnl Checks for header files + + AC_HEADER_STDC +@@ -1188,10 +1172,6 @@ AC_ARG_WITH(mysql, + LD_RUN_PATH="${withval}/lib${LD_RUN_PATH:+:}${LD_RUN_PATH}" + LDFLAGS="$LDFLAGS -L${withval}/lib -L${withval}/lib/mysql -L${withval}/mysql/lib" + CPPFLAGS="$CPPFLAGS -I${withval}/include -I${withval}/include/mysql -I${withval}/mysql/include" +- else +- LD_RUN_PATH="/usr/local/mysql/lib:/usr/local/mysql/lib/mysql:/usr/lib/mysql:/usr/mysql/lib:/usr/mysql/lib/mysql:/usr/local/lib/mysql:${LD_RUN_PATH:+:}${LD_RUN_PATH}" +- LDFLAGS="$LDFLAGS -L/usr/local/mysql/lib -L/usr/lib/mysql -L/usr/mysql/lib -L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql -L/usr/mysql/lib/mysql" +- CPPFLAGS="$CPPFLAGS -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql" + fi + AC_CHECK_LIB(m, floor) + AC_CHECK_LIB(z, gzclose) +@@ -1224,10 +1204,6 @@ AC_ARG_WITH(pgsql, + LD_RUN_PATH="${withval}/lib${LD_RUN_PATH:+:}${LD_RUN_PATH}" + LDFLAGS="$LDFLAGS -L${withval}/lib -L${withval}/lib/pgsql -L${withval}/lib/postgresql -L${withval}/pgsql/lib -L${withval}/postgresql/lib" + CPPFLAGS="$CPPFLAGS -I${withval}/include -I${withval}/include/pgsql -I${withval}/include/postgresql -I${withval}/pgsql/include -I${withval}/postgresql/include" +- else +- LD_RUN_PATH="/usr/local/pgsql/lib:/usr/local/pgsql/lib/pgsql:/usr/lib/pgsql:/usr/pgsql/lib:/usr/pgsql/lib/pgsql:/usr/local/lib/pgsql:/usr/local/postgresql/lib:/usr/local/postgresql/lib/postgresql:/usr/lib/postgresql:/usr/postgresql/lib:/usr/postgresql/lib/postgresql:/usr/local/lib/postgresql:${LD_RUN_PATH:+:}${LD_RUN_PATH}" +- LDFLAGS="$LDFLAGS -L/usr/local/pgsql/lib -L/usr/lib/pgsql -L/usr/pgsql/lib -L/usr/local/lib/pgsql -L/usr/local/pgsql/lib/pgsql -L/usr/pgsql/lib/pgsql -L/usr/local/postgresql/lib -L/usr/lib/postgresql -L/usr/postgresql/lib -L/usr/local/lib/postgresql -L/usr/local/postgresql/lib/postgresql -L/usr/postgresql/lib/postgresql" +- CPPFLAGS="$CPPFLAGS -I/usr/local/pgsql/include -I/usr/include/pgsql -I/usr/pgsql/include -I/usr/local/include/pgsql -I/usr/local/pgsql/include/pgsql -I/usr/pgsql/include/pgsql -I/usr/local/postgresql/include -I/usr/include/postgresql -I/usr/postgresql/include -I/usr/local/include/postgresql -I/usr/local/postgresql/include/postgresql -I/usr/postgresql/include/postgresql" + fi + AC_CHECK_LIB(m, floor) + AC_CHECK_LIB(z, gzclose) diff --git a/patches/pure-ftpd-1.0.21/generic/series b/patches/pure-ftpd-1.0.21/generic/series new file mode 100644 index 000000000..3c9ffadb1 --- /dev/null +++ b/patches/pure-ftpd-1.0.21/generic/series @@ -0,0 +1,2 @@ +configure_ac-remove-includes.diff +configure-remove-includes.diff -- cgit v1.2.3