pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www Sync patches with Firefox2: Don't use thread testi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a8149e46a1b
branches:  trunk
changeset: 524695:3a8149e46a1b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jan 30 14:34:34 2007 +0000

description:
Sync patches with Firefox2: Don't use thread testing on NetBSD and
DragonFly, fix the build on DragonFly.

diffstat:

 www/seamonkey-gtk1/Makefile             |   3 ++-
 www/seamonkey/Makefile                  |   3 ++-
 www/seamonkey/Makefile-seamonkey.common |   8 +++++++-
 www/seamonkey/distinfo                  |   5 ++++-
 www/seamonkey/patches/patch-da          |  12 ++++++++++++
 www/seamonkey/patches/patch-de          |  13 +++++++++++++
 www/seamonkey/patches/patch-dx          |  32 ++++++++++++++++++++++++++++++++
 7 files changed, 72 insertions(+), 4 deletions(-)

diffs (140 lines):

diff -r 7ee577163bf6 -r 3a8149e46a1b www/seamonkey-gtk1/Makefile
--- a/www/seamonkey-gtk1/Makefile       Tue Jan 30 14:26:23 2007 +0000
+++ b/www/seamonkey-gtk1/Makefile       Tue Jan 30 14:34:34 2007 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2006/11/08 14:39:16 ghen Exp $
+# $NetBSD: Makefile,v 1.11 2007/01/30 14:34:34 joerg Exp $
 
 MOZILLA=               seamonkey-gtk1
+PKGREVISION=           1
 
 COMMENT=               Full featured gecko-based browser built with GTK1
 
diff -r 7ee577163bf6 -r 3a8149e46a1b www/seamonkey/Makefile
--- a/www/seamonkey/Makefile    Tue Jan 30 14:26:23 2007 +0000
+++ b/www/seamonkey/Makefile    Tue Jan 30 14:34:34 2007 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2006/11/23 10:04:15 ghen Exp $
+# $NetBSD: Makefile,v 1.16 2007/01/30 14:34:34 joerg Exp $
 
 MOZILLA=               seamonkey
+PKGREVISION=           1
 
 COMMENT=               Full featured gecko-based browser
 
diff -r 7ee577163bf6 -r 3a8149e46a1b www/seamonkey/Makefile-seamonkey.common
--- a/www/seamonkey/Makefile-seamonkey.common   Tue Jan 30 14:26:23 2007 +0000
+++ b/www/seamonkey/Makefile-seamonkey.common   Tue Jan 30 14:34:34 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile-seamonkey.common,v 1.6 2007/01/20 10:54:44 ghen Exp $
+# $NetBSD: Makefile-seamonkey.common,v 1.7 2007/01/30 14:34:34 joerg Exp $
 
 MOZILLA_BIN=           seamonkey-bin
 MOZ_VER=               1.1
@@ -20,4 +20,10 @@
 BUILD_SVG=             # yes
 BUILD_MATHML=          # yes
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
+CPPFLAGS+=             -DSQLITE_THREAD_OVERRIDE_LOCK=0
+.endif
+
 .include "../../www/seamonkey/Makefile.common"
diff -r 7ee577163bf6 -r 3a8149e46a1b www/seamonkey/distinfo
--- a/www/seamonkey/distinfo    Tue Jan 30 14:26:23 2007 +0000
+++ b/www/seamonkey/distinfo    Tue Jan 30 14:34:34 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2007/01/20 10:54:44 ghen Exp $
+$NetBSD: distinfo,v 1.19 2007/01/30 14:34:34 joerg Exp $
 
 SHA1 (seamonkey-1.1.source.tar.bz2) = 8e778d72d0bab597a641ce02cc2872bc1e3d9f82
 RMD160 (seamonkey-1.1.source.tar.bz2) = ffb85d9871f52527c571d6d7ec9f1f9a262ae7d6
@@ -44,9 +44,11 @@
 SHA1 (patch-cl) = 0c6d7f86739ec8cb805d8ddc0034a421488274bc
 SHA1 (patch-cm) = f3de952dd8eedfb5e4a11a2b05500d37890b13f5
 SHA1 (patch-cn) = 50ce66acc8df8cab48f281b93ae74edcaf939d21
+SHA1 (patch-da) = 356e37429832ffd296fa79b9aa7ef20c05d851e0
 SHA1 (patch-db) = f10187cf9de4466e49a967b79875eb01c5afd69f
 SHA1 (patch-dc) = ba7b06f04460d4966e115a9ffdeafc1ebf555972
 SHA1 (patch-dd) = de9d705fdc3cb9879a19d58dfd170d104ca379f7
+SHA1 (patch-de) = 1d845fd60ecd85554fa82f6c5f3cc7edc7d377a5
 SHA1 (patch-df) = 17912d183f754ab6661d2be8092e6a07d142632b
 SHA1 (patch-dh) = 7592a6238acd5ef6e802d32103c897acb576825a
 SHA1 (patch-dj) = 70360dffb20dd1029866d2e81899d003c9e17473
@@ -60,4 +62,5 @@
 SHA1 (patch-du) = c6e66bb420ce9ea988f89b57d1c20a247704cfcf
 SHA1 (patch-dv) = a380d261d4c2771a672d2b0f4f1f23821e3e5266
 SHA1 (patch-dw) = 263a64d06c6b62041c62ed4532858339d37e1873
+SHA1 (patch-dx) = ab7606171564b6879effc3b37d9eadc6565cb74b
 SHA1 (patch-ec) = 925a6f76bbfa77661256d46b0d14e847c16a865f
diff -r 7ee577163bf6 -r 3a8149e46a1b www/seamonkey/patches/patch-da
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/seamonkey/patches/patch-da    Tue Jan 30 14:34:34 2007 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-da,v 1.1 2007/01/30 14:34:34 joerg Exp $
+
+--- layout/build/Makefile.in.orig      2006-12-06 17:28:45.000000000 +0000
++++ layout/build/Makefile.in
+@@ -282,6 +282,7 @@ LDFLAGS += -Wl,-LD_LAYOUT:lgot_buffer=50
+ endif
+ endif
+ 
++LDFLAGS+= -lX11 -lXrender
+ 
+ export:: $(BUILD_DATE)
+ 
diff -r 7ee577163bf6 -r 3a8149e46a1b www/seamonkey/patches/patch-de
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/seamonkey/patches/patch-de    Tue Jan 30 14:34:34 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-de,v 1.1 2007/01/30 14:34:34 joerg Exp $
+
+--- security/nss/lib/freebl/Makefile.orig      2006-12-06 18:01:13.000000000 +0000
++++ security/nss/lib/freebl/Makefile
+@@ -192,7 +192,7 @@ endif
+ # to bind the blapi function references in FREEBLVector vector
+ # (ldvector.c) to the blapi functions defined in the freebl
+ # shared libraries.
+-ifeq (,$(filter-out BSD_OS FreeBSD Linux NetBSD, $(OS_TARGET)))
++ifeq (,$(filter-out BSD_OS DragonFly FreeBSD Linux NetBSD, $(OS_TARGET)))
+     MKSHLIB += -Wl,-Bsymbolic
+ endif
+ 
diff -r 7ee577163bf6 -r 3a8149e46a1b www/seamonkey/patches/patch-dx
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/seamonkey/patches/patch-dx    Tue Jan 30 14:34:34 2007 +0000
@@ -0,0 +1,32 @@
+$NetBSD: patch-dx,v 1.1 2007/01/30 14:34:34 joerg Exp $
+
+--- db/sqlite3/src/os_unix.c.orig      2006-05-22 19:12:32.000000000 +0000
++++ db/sqlite3/src/os_unix.c
+@@ -443,6 +443,7 @@ static int lockTrace(int fd, int op, str
+ #define fcntl lockTrace
+ #endif /* SQLITE_LOCK_TRACE */
+ 
++#if SQLITE_THREAD_OVERRIDE_LOCK == -1
+ /*
+ ** The testThreadLockingBehavior() routine launches two separate
+ ** threads on this routine.  This routine attempts to lock a file
+@@ -483,6 +484,7 @@ static void testThreadLockingBehavior(in
+   close(fd);
+   threadsOverrideEachOthersLocks =  d[0].result==0 && d[1].result==0;
+ }
++#endif
+ #endif /* SQLITE_UNIX_THREADS */
+ 
+ /*
+@@ -536,9 +538,11 @@ static int findLockInfo(
+   key1.dev = statbuf.st_dev;
+   key1.ino = statbuf.st_ino;
+ #ifdef SQLITE_UNIX_THREADS
++#if SQLITE_THREAD_OVERRIDE_LOCK == -1
+   if( threadsOverrideEachOthersLocks<0 ){
+     testThreadLockingBehavior(fd);
+   }
++#endif
+   key1.tid = threadsOverrideEachOthersLocks ? 0 : pthread_self();
+ #endif
+   memset(&key2, 0, sizeof(key2));



Home | Main Index | Thread Index | Old Index