aboutsummaryrefslogtreecommitdiffstats
path: root/www/seamonkey
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2011-12-21 16:10:17 +0800
committerbeat <beat@FreeBSD.org>2011-12-21 16:10:17 +0800
commitf7a614f33e41bcfe3c45c7863669664eacb64df0 (patch)
treeaef71962ca616f8d74f8a10654d345e60351b4d7 /www/seamonkey
parent1dad79064e91af9d10463700f84709d5c94d9866 (diff)
downloadfreebsd-ports-gnome-f7a614f33e41bcfe3c45c7863669664eacb64df0.tar.gz
freebsd-ports-gnome-f7a614f33e41bcfe3c45c7863669664eacb64df0.tar.zst
freebsd-ports-gnome-f7a614f33e41bcfe3c45c7863669664eacb64df0.zip
- Update SeaMonkey to 2.6
Approved by: portmgr (erwin, implicit) Security: http://www.vuxml.org/freebsd/e3ff776b-2ba6-11e1-93c6-0011856a6e37.html
Diffstat (limited to 'www/seamonkey')
-rw-r--r--www/seamonkey/Makefile2
-rw-r--r--www/seamonkey/distinfo4
-rw-r--r--www/seamonkey/files/patch-configure.in33
-rw-r--r--www/seamonkey/files/patch-ipc-chromium-src-base-file_util.h13
-rw-r--r--www/seamonkey/files/patch-mozilla-ipc-chromium-src-base-dir_reader_linux.h45
5 files changed, 60 insertions, 37 deletions
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile
index dcc36f532f3b..6af38b1cd315 100644
--- a/www/seamonkey/Makefile
+++ b/www/seamonkey/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= seamonkey
-DISTVERSION= 2.5
+DISTVERSION= 2.6
CATEGORIES?= www ipv6
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
MASTER_SITE_SUBDIR= seamonkey/releases/${DISTVERSION}/source
diff --git a/www/seamonkey/distinfo b/www/seamonkey/distinfo
index b72564bc8cb8..62774a342568 100644
--- a/www/seamonkey/distinfo
+++ b/www/seamonkey/distinfo
@@ -1,2 +1,2 @@
-SHA256 (seamonkey-2.5.source.tar.bz2) = 50d6146f20d3221fac0366f6647956e142749891dbd411f85e745d75cc32c8d0
-SIZE (seamonkey-2.5.source.tar.bz2) = 89448141
+SHA256 (seamonkey-2.6.source.tar.bz2) = ebac80074583bb8a79e58aa59595b57266de092c846d51c005222decba5d9cb2
+SIZE (seamonkey-2.6.source.tar.bz2) = 96733312
diff --git a/www/seamonkey/files/patch-configure.in b/www/seamonkey/files/patch-configure.in
index 56c07e868572..393b67a0341c 100644
--- a/www/seamonkey/files/patch-configure.in
+++ b/www/seamonkey/files/patch-configure.in
@@ -1,6 +1,6 @@
---- configure.in.orig 2011-07-15 07:42:33.000000000 +0200
-+++ configure.in 2011-07-22 13:43:44.000000000 +0200
-@@ -1438,7 +1438,7 @@
+--- configure.in.orig 2011-12-17 18:35:47.000000000 +0100
++++ configure.in 2011-12-19 15:57:09.000000000 +0100
+@@ -1410,7 +1410,7 @@
CPU_ARCH=sparc
;;
@@ -9,7 +9,7 @@
CPU_ARCH="$OS_TEST"
;;
-@@ -1458,7 +1458,7 @@
+@@ -1430,7 +1430,7 @@
dnl ===============================================================
INTEL_ARCHITECTURE=
case "$OS_TEST" in
@@ -18,7 +18,7 @@
INTEL_ARCHITECTURE=1
esac
-@@ -1781,7 +1781,7 @@
+@@ -1753,7 +1753,7 @@
esac
case "${host_cpu}" in
@@ -27,7 +27,7 @@
HOST_CFLAGS="$HOST_CFLAGS -D_AMD64_"
;;
esac
-@@ -2437,6 +2437,9 @@
+@@ -2415,6 +2415,9 @@
x86_64-*)
AC_DEFINE(_AMD64_)
;;
@@ -37,7 +37,7 @@
*)
AC_DEFINE(_CPU_ARCH_NOT_DEFINED)
;;
-@@ -2508,7 +2511,7 @@
+@@ -2486,7 +2489,7 @@
else
DLL_SUFFIX=".so.1.0"
fi
@@ -46,7 +46,7 @@
DSO_CFLAGS=''
DSO_PIC_CFLAGS='-fPIC'
DSO_LDOPTS='-shared -fPIC'
-@@ -3326,11 +3329,11 @@
+@@ -3304,11 +3307,11 @@
;;
*)
MOZ_CHECK_PTHREADS(pthreads,
@@ -61,7 +61,7 @@
MOZ_CHECK_PTHREADS(c,
USE_PTHREADS=1
)
-@@ -3405,18 +3408,18 @@
+@@ -3383,18 +3386,18 @@
*-*-freebsd*)
AC_DEFINE(_REENTRANT)
AC_DEFINE(_THREAD_SAFE)
@@ -83,7 +83,7 @@
if test "$ac_cv_have_dash_pthread" = "yes"; then
_PTHREAD_LDFLAGS="-pthread"
fi
-@@ -3591,7 +3594,7 @@
+@@ -3569,7 +3572,7 @@
ac_cv_func_iconv,
[AC_TRY_LINK([
#include <stdlib.h>
@@ -92,7 +92,7 @@
],
[
iconv_t h = iconv_open("", "");
-@@ -3612,7 +3615,7 @@
+@@ -3590,7 +3593,7 @@
ac_cv_func_const_iconv,
[AC_TRY_COMPILE([
#include <stdlib.h>
@@ -101,7 +101,7 @@
],
[
const char *input = "testing";
-@@ -4409,7 +4412,7 @@
+@@ -4383,7 +4386,7 @@
LDFLAGS=$_SAVE_LDFLAGS
LIBS=$_SAVE_LIBS
@@ -110,12 +110,3 @@
ZLIB_CFLAGS="-I${ZLIB_DIR}/include"
ZLIB_LIBS="-L${ZLIB_DIR}/lib ${ZLIB_LIBS}"
fi
-@@ -5966,7 +5969,7 @@
- i*86)
- MOZ_CRT_CPU_ARCH=intel
- ;;
-- x86_64)
-+ amd64 | x86_64)
- MOZ_CRT_CPU_ARCH=amd64
- ;;
- *)
diff --git a/www/seamonkey/files/patch-ipc-chromium-src-base-file_util.h b/www/seamonkey/files/patch-ipc-chromium-src-base-file_util.h
deleted file mode 100644
index 81a4693140a8..000000000000
--- a/www/seamonkey/files/patch-ipc-chromium-src-base-file_util.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- mozilla/ipc/chromium/src/base/file_util.h~
-+++ mozilla/ipc/chromium/src/base/file_util.h
-@@ -15,8 +15,9 @@
- #elif defined(ANDROID)
- #include <sys/stat.h>
- #elif defined(OS_POSIX)
-+#include <sys/types.h>
-+#include <sys/stat.h>
- #include <fts.h>
--#include <sys/stat.h>
- #endif
-
- #include <stdio.h>
diff --git a/www/seamonkey/files/patch-mozilla-ipc-chromium-src-base-dir_reader_linux.h b/www/seamonkey/files/patch-mozilla-ipc-chromium-src-base-dir_reader_linux.h
new file mode 100644
index 000000000000..5c4e5b79f3d1
--- /dev/null
+++ b/www/seamonkey/files/patch-mozilla-ipc-chromium-src-base-dir_reader_linux.h
@@ -0,0 +1,45 @@
+--- mozilla/ipc/chromium/src/base/dir_reader_linux.h.orig 2011-12-16 21:29:22.000000000 +0100
++++ mozilla/ipc/chromium/src/base/dir_reader_linux.h 2011-12-19 21:00:27.000000000 +0100
+@@ -9,6 +9,7 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <stdint.h>
++#include <sys/dirent.h>
+ #include <sys/syscall.h>
+ #include <unistd.h>
+
+@@ -19,6 +20,8 @@
+
+ namespace base {
+
++#define linux_dirent struct dirent
++#if 0
+ struct linux_dirent {
+ uint64_t d_ino;
+ int64_t d_off;
+@@ -26,11 +29,16 @@
+ unsigned char d_type;
+ char d_name[0];
+ };
++#endif
+
+ class DirReaderLinux {
+ public:
+ explicit DirReaderLinux(const char* directory_path)
++#ifdef O_DIRECTORY
+ : fd_(open(directory_path, O_RDONLY | O_DIRECTORY)),
++#else
++ : fd_(open(directory_path, O_RDONLY)),
++#endif
+ offset_(0),
+ size_(0) {
+ memset(buf_, 0, sizeof(buf_));
+@@ -57,7 +65,7 @@
+ if (offset_ != size_)
+ return true;
+
+- const int r = syscall(__NR_getdents64, fd_, buf_, sizeof(buf_));
++ const int r = syscall(SYS_getdents, fd_, buf_, sizeof(buf_));
+ if (r == 0)
+ return false;
+ if (r == -1) {