0cedd339f0
fixes several vulnerabilities, for details see: http://www.mozilla.org/projects/security/known-vulnerabilities.html#thunderbird1.5.0.7
44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
$OpenBSD: patch-configure_in,v 1.10 2006/09/20 08:35:31 steven Exp $
|
|
--- configure.in.orig Wed Aug 23 18:31:03 2006
|
|
+++ configure.in Mon Sep 18 18:13:02 2006
|
|
@@ -1291,9 +1291,9 @@ dnl Get mozilla version from central mil
|
|
MOZILLA_VERSION=`$PERL $srcdir/config/milestone.pl -topsrcdir $srcdir`
|
|
|
|
dnl Get version of various core apps from the version files.
|
|
-FIREFOX_VERSION=`cat $topsrcdir/browser/config/version.txt`
|
|
-THUNDERBIRD_VERSION=`cat $topsrcdir/mail/config/version.txt`
|
|
-SEAMONKEY_VERSION=`cat $topsrcdir/xpfe/bootstrap/version.txt`
|
|
+FIREFOX_VERSION=`cat ./browser/config/version.txt`
|
|
+THUNDERBIRD_VERSION=`cat ./mail/config/version.txt`
|
|
+SEAMONKEY_VERSION=`cat ./xpfe/bootstrap/version.txt`
|
|
|
|
AC_DEFINE_UNQUOTED(MOZILLA_VERSION,"$MOZILLA_VERSION")
|
|
AC_DEFINE_UNQUOTED(MOZILLA_VERSION_U,$MOZILLA_VERSION)
|
|
@@ -1863,7 +1863,7 @@ case "$target" in
|
|
;;
|
|
|
|
*-openbsd*)
|
|
- DLL_SUFFIX=".so.1.0"
|
|
+ DLL_SUFFIX=".so.${SO_VERSION}"
|
|
DSO_CFLAGS=''
|
|
DSO_PIC_CFLAGS='-fPIC'
|
|
DSO_LDOPTS='-shared -fPIC'
|
|
@@ -3647,7 +3647,7 @@ _SAVE_LIBS=$LIBS
|
|
CFLAGS="$ZLIB_CFLAGS $CFLAGS"
|
|
LDFLAGS="$ZLIB_LIBS -lz $LDFLAGS"
|
|
if test -n "${PNG_DIR}" -a "${PNG_DIR}" != "yes"; then
|
|
- CFLAGS="-I${PNG_DIR}/include $CFLAGS"
|
|
+ CFLAGS="-I${PNG_DIR}/include/libpng $CFLAGS"
|
|
LDFLAGS="-L${PNG_DIR}/lib $LDFLAGS"
|
|
fi
|
|
if test -z "$PNG_DIR" -o "$PNG_DIR" = no; then
|
|
@@ -3677,7 +3677,7 @@ LDFLAGS=$_SAVE_LDFLAGS
|
|
LIBS=$_SAVE_LIBS
|
|
|
|
if test "${PNG_DIR}" -a -d "${PNG_DIR}" -a "$SYSTEM_PNG" = 1; then
|
|
- PNG_CFLAGS="-I${PNG_DIR}/include"
|
|
+ PNG_CFLAGS="-I${PNG_DIR}/include/libpng"
|
|
PNG_LIBS="-L${PNG_DIR}/lib ${PNG_LIBS}"
|
|
fi
|
|
|