summaryrefslogtreecommitdiff
path: root/package/bogofilter
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-12 22:58:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-12 22:58:45 +0100
commitd29b7059e0e3dacc3e051c310eabaecabe19a8d2 (patch)
tree078693d3be8a0d6096587f5ac01b2ffc76dc8626 /package/bogofilter
parent4129680028eaddf98219126f787b08551bbf7088 (diff)
updates and build fixes for a lot of packages
compiled for ibmx40 with eglibc.
Diffstat (limited to 'package/bogofilter')
-rw-r--r--package/bogofilter/patches/patch-configure96
1 files changed, 96 insertions, 0 deletions
diff --git a/package/bogofilter/patches/patch-configure b/package/bogofilter/patches/patch-configure
new file mode 100644
index 000000000..21db7d973
--- /dev/null
+++ b/package/bogofilter/patches/patch-configure
@@ -0,0 +1,96 @@
+--- bogofilter-1.2.2.orig/configure 2010-07-08 05:30:26.000000000 +0200
++++ bogofilter-1.2.2/configure 2010-11-09 23:29:25.894996376 +0100
+@@ -10284,93 +10284,7 @@ $as_echo "$LIBDB" >&6; }
+
+ saveLIBS="$LIBS"
+ LIBS="$LIBS $LIBDB"
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if a program can be linked against Berkeley DB and run" >&5
+-$as_echo_n "checking if a program can be linked against Berkeley DB and run... " >&6; }
+- if test "$cross_compiling" = yes; then :
+- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+-as_fn_error "cannot run test program while cross compiling
+-See \`config.log' for more details." "$LINENO" 5; }
+-else
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-
+-#ifdef HAVE_INTTYPES_H
+-#include <inttypes.h>
+-#endif
+-#include <db.h>
+-
+-int
+-main ()
+-{
+-
+-return 0;
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_run "$LINENO"; then :
+-
+-else
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+-$as_echo "no" >&6; }
+- as_fn_error "Cannot run a program linked against libdb.
+-Did you adjust your library search path to include your libdb?" "$LINENO" 5
+-fi
+-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+- conftest.$ac_objext conftest.beam conftest.$ac_ext
+-fi
+-
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+-$as_echo "yes" >&6; }
+-
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Berkeley DB header and library versions match" >&5
+-$as_echo_n "checking if Berkeley DB header and library versions match... " >&6; }
+- rm -r -f bfadtestdir
+- mkdir bfadtestdir
+- if test "$cross_compiling" = yes; then :
+- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+-as_fn_error "cannot run test program while cross compiling
+-See \`config.log' for more details." "$LINENO" 5; }
+-else
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-
+- #include <stdlib.h>
+- #include <stdio.h>
+-#ifdef HAVE_INTTYPES_H
+-#include <inttypes.h>
+-#endif
+- #include <db.h>
+
+-int
+-main ()
+-{
+-
+- int maj, min;
+- (void)db_version(&maj, &min, 0);
+- (void)fprintf(stderr, "headers: %d.%d, library: %d.%d\n",
+- DB_VERSION_MAJOR, DB_VERSION_MINOR, maj, min);
+- if (maj != DB_VERSION_MAJOR) exit(1);
+- if (min != DB_VERSION_MINOR) exit(1);
+- exit(0);
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_run "$LINENO"; then :
+-
+-else
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+-$as_echo "no" >&6; }
+- as_fn_error "db.h header file and db library version do not match." "$LINENO" 5
+-fi
+-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+- conftest.$ac_objext conftest.beam conftest.$ac_ext
+-fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ $as_echo "yes" >&6; }