Date: Mon, 17 Aug 2009 08:26:39 GMT From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org Subject: [SVN-Commit] r81 - branches/experimental/www/firefox35/files trunk/www/firefox35/files Message-ID: <200908170826.n7H8QdND050384@trillian.chruetertee.ch>
next in thread | raw e-mail | index | archive | help
Author: beat Date: Mon Aug 17 08:26:39 2009 New Revision: 81 Log: - Fix build on powerpc Submitted by: Andreas Tobler <andreast-list AT fgznet.ch> Added: branches/experimental/www/firefox35/files/patch-content-xslt-public-txDouble.h trunk/www/firefox35/files/patch-content-xslt-public-txDouble.h Modified: branches/experimental/www/firefox35/files/patch-security-coreconf-FreeBSD.mk trunk/www/firefox35/files/patch-security-coreconf-FreeBSD.mk Added: branches/experimental/www/firefox35/files/patch-content-xslt-public-txDouble.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/experimental/www/firefox35/files/patch-content-xslt-public-txDouble.h Mon Aug 17 08:26:39 2009 (r81) @@ -0,0 +1,11 @@ +--- content/xslt/public/txDouble.h.orig 2009-08-16 21:46:27.000000000 +0200 ++++ content/xslt/public/txDouble.h 2009-08-16 21:49:53.000000000 +0200 +@@ -43,7 +43,7 @@ + //A trick to handle IEEE floating point exceptions on FreeBSD - E.D. + #ifdef __FreeBSD__ + #include <ieeefp.h> +-#ifdef __alpha__ ++#if defined (__alpha__) || defined (__powerpc__) + static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP; + #else + static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML; Modified: branches/experimental/www/firefox35/files/patch-security-coreconf-FreeBSD.mk ============================================================================== --- branches/experimental/www/firefox35/files/patch-security-coreconf-FreeBSD.mk Sun Aug 16 14:03:24 2009 (r80) +++ branches/experimental/www/firefox35/files/patch-security-coreconf-FreeBSD.mk Mon Aug 17 08:26:39 2009 (r81) @@ -1,19 +1,23 @@ ---- security/coreconf/FreeBSD.mk.orig 2008-07-06 00:10:00.000000000 -0500 -+++ security/coreconf/FreeBSD.mk 2008-07-06 00:12:34.000000000 -0500 -@@ -45,8 +45,12 @@ +--- security/coreconf/FreeBSD.mk.orig 2009-07-30 17:30:28.000000000 +0200 ++++ security/coreconf/FreeBSD.mk 2009-08-10 22:22:56.000000000 +0200 +@@ -45,8 +45,16 @@ ifeq ($(OS_TEST),alpha) CPU_ARCH = alpha else +ifeq ($(OS_TEST),amd64) +CPU_ARCH = amd64 +else ++ifeq ($(OS_TEST),powerpc) ++CPU_ARCH = powerpc ++else CPU_ARCH = x86 endif +endif ++endif OS_CFLAGS = $(DSO_CFLAGS) -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -@@ -73,7 +77,7 @@ +@@ -73,7 +81,7 @@ DLL_SUFFIX = so.1.0 endif @@ -22,7 +26,7 @@ ifdef MAPFILE MKSHLIB += -Wl,--version-script,$(MAPFILE) endif -@@ -82,4 +86,4 @@ +@@ -82,4 +90,4 @@ G++INCLUDES = -I/usr/include/g++ Added: trunk/www/firefox35/files/patch-content-xslt-public-txDouble.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/www/firefox35/files/patch-content-xslt-public-txDouble.h Mon Aug 17 08:26:39 2009 (r81) @@ -0,0 +1,11 @@ +--- content/xslt/public/txDouble.h.orig 2009-08-16 21:46:27.000000000 +0200 ++++ content/xslt/public/txDouble.h 2009-08-16 21:49:53.000000000 +0200 +@@ -43,7 +43,7 @@ + //A trick to handle IEEE floating point exceptions on FreeBSD - E.D. + #ifdef __FreeBSD__ + #include <ieeefp.h> +-#ifdef __alpha__ ++#if defined (__alpha__) || defined (__powerpc__) + static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP; + #else + static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML; Modified: trunk/www/firefox35/files/patch-security-coreconf-FreeBSD.mk ============================================================================== --- trunk/www/firefox35/files/patch-security-coreconf-FreeBSD.mk Sun Aug 16 14:03:24 2009 (r80) +++ trunk/www/firefox35/files/patch-security-coreconf-FreeBSD.mk Mon Aug 17 08:26:39 2009 (r81) @@ -1,19 +1,23 @@ ---- security/coreconf/FreeBSD.mk.orig 2008-07-06 00:10:00.000000000 -0500 -+++ security/coreconf/FreeBSD.mk 2008-07-06 00:12:34.000000000 -0500 -@@ -45,8 +45,12 @@ +--- security/coreconf/FreeBSD.mk.orig 2009-07-30 17:30:28.000000000 +0200 ++++ security/coreconf/FreeBSD.mk 2009-08-10 22:22:56.000000000 +0200 +@@ -45,8 +45,16 @@ ifeq ($(OS_TEST),alpha) CPU_ARCH = alpha else +ifeq ($(OS_TEST),amd64) +CPU_ARCH = amd64 +else ++ifeq ($(OS_TEST),powerpc) ++CPU_ARCH = powerpc ++else CPU_ARCH = x86 endif +endif ++endif OS_CFLAGS = $(DSO_CFLAGS) -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -@@ -73,7 +77,7 @@ +@@ -73,7 +81,7 @@ DLL_SUFFIX = so.1.0 endif @@ -22,7 +26,7 @@ ifdef MAPFILE MKSHLIB += -Wl,--version-script,$(MAPFILE) endif -@@ -82,4 +86,4 @@ +@@ -82,4 +90,4 @@ G++INCLUDES = -I/usr/include/g++
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908170826.n7H8QdND050384>
