pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/firefox Fix build problems on solaris reported in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/123d31e29f66
branches:  trunk
changeset: 524019:123d31e29f66
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Tue Jan 16 23:35:16 2007 +0000

description:
Fix build problems on solaris reported in NetBSD PR/31481, PR/42905,
and PR/33583.  See also https://bugzilla.mozilla.org/show_bug.cgi?id=77788
for a discussion of this.

diffstat:

 www/firefox/Makefile.common  |  6 +++++-
 www/firefox/distinfo         |  4 ++--
 www/firefox/patches/patch-ap |  4 ++--
 3 files changed, 9 insertions(+), 5 deletions(-)

diffs (56 lines):

diff -r c0179e746e1d -r 123d31e29f66 www/firefox/Makefile.common
--- a/www/firefox/Makefile.common       Tue Jan 16 23:27:51 2007 +0000
+++ b/www/firefox/Makefile.common       Tue Jan 16 23:35:16 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.14 2007/01/15 19:25:22 joerg Exp $
+# $NetBSD: Makefile.common,v 1.15 2007/01/16 23:35:16 dmcmahill Exp $
 
 MOZ_DIST_VER?=         ${MOZ_VER}
 DISTNAME?=             mozilla-${MOZ_DIST_VER}-source
@@ -125,6 +125,10 @@
 SCRIPTS_ENV+=          SUNOSLIB="@comment "
 .endif
 
+.if ${OPSYS} == "SunOS" && ${PKGSRC_COMPILER} == "gcc"
+MAKEFLAGS+=            NS_USE_GCC=YES
+.endif
+
 SCRIPTS_ENV+=          OBJECT_FMT=${OBJECT_FMT:Q}
 SCRIPTS_ENV+=          PLIST_SRC=${PLIST_SRC:Q}
 SCRIPTS_ENV+=          SED=${SED:Q}
diff -r c0179e746e1d -r 123d31e29f66 www/firefox/distinfo
--- a/www/firefox/distinfo      Tue Jan 16 23:27:51 2007 +0000
+++ b/www/firefox/distinfo      Tue Jan 16 23:35:16 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.59 2006/12/20 11:01:26 ghen Exp $
+$NetBSD: distinfo,v 1.60 2007/01/16 23:35:16 dmcmahill Exp $
 
 SHA1 (firefox-1.5.0.9-source.tar.bz2) = 55147ecf4882baf618d1e5eb5f5a438086706425
 RMD160 (firefox-1.5.0.9-source.tar.bz2) = b83bca8f317a6bc00dd40fd0d868cbe82536f45e
@@ -17,7 +17,7 @@
 SHA1 (patch-al) = e5fc425630a5363807bf1cc2c648d5eb31d0e40e
 SHA1 (patch-an) = 8b855be2d22422fcbf9293717ee45a8115e15bff
 SHA1 (patch-ao) = f7221f4135c8bb5adc154f523cef7ff0ef42e602
-SHA1 (patch-ap) = 0a99d04b6746cf85e73a3a9a1e6fed118495c6a5
+SHA1 (patch-ap) = 0380e884b579bf8bb596e88c1adc20fd764242e3
 SHA1 (patch-aq) = 59c1c9922413fd50e1b0573158ad56439a79debf
 SHA1 (patch-at) = 1b541df50b9ed94613524d1d48ff98970d8f21dd
 SHA1 (patch-aw) = 9d4388a7bd89b7ca884b9e7eb4855e3afb8e8c3a
diff -r c0179e746e1d -r 123d31e29f66 www/firefox/patches/patch-ap
--- a/www/firefox/patches/patch-ap      Tue Jan 16 23:27:51 2007 +0000
+++ b/www/firefox/patches/patch-ap      Tue Jan 16 23:35:16 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ap,v 1.5 2005/12/10 13:47:22 taya Exp $
+$NetBSD: patch-ap,v 1.6 2007/01/16 23:35:16 dmcmahill Exp $
 
 diff -ruN ../Orig/mozilla/security/coreconf/command.mk ./security/coreconf/command.mk
 --- ../Orig/mozilla/security/coreconf/command.mk       2004-04-26 00:02:17.000000000 +0900
@@ -8,7 +8,7 @@
  LINK_EXE      = $(LINK) $(OS_LFLAGS) $(LFLAGS)
  NFSPWD        = $(NSINSTALL_DIR)/nfspwd
 -CFLAGS        = $(OPTIMIZER) $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \
-+CFLAGS       += $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \
++CFLAGS        = $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \
                $(XCFLAGS)
  RANLIB        = echo
  TAR           = /bin/tar



Home | Main Index | Thread Index | Old Index