[SVN-Commit] r523 - branches/experimental/www/firefox/files

svn-freebsd-gecko at chruetertee.ch svn-freebsd-gecko at chruetertee.ch
Fri Mar 18 20:59:13 UTC 2011


Author: andreast
Date: Fri Mar 18 20:59:06 2011
New Revision: 523

Log:
Fix compilation on powerpc. Tested also on amd64.

Modified:
   branches/experimental/www/firefox/files/patch-js-src-Makefile.in

Modified: branches/experimental/www/firefox/files/patch-js-src-Makefile.in
==============================================================================
--- branches/experimental/www/firefox/files/patch-js-src-Makefile.in	Fri Mar 18 14:27:53 2011	(r522)
+++ branches/experimental/www/firefox/files/patch-js-src-Makefile.in	Fri Mar 18 20:59:06 2011	(r523)
@@ -1,11 +1,20 @@
---- js/src/Makefile.in.orig	2009-05-11 15:21:19.000000000 +0200
-+++ js/src/Makefile.in	2009-05-11 15:21:34.000000000 +0200
-@@ -427,7 +427,8 @@
+--- js/src/Makefile.in.orig	2011-03-17 18:51:39.000000000 +0100
++++ js/src/Makefile.in	2011-03-18 19:41:09.000000000 +0100
+@@ -612,7 +612,7 @@
+ # to reliably get limit macros defined, we'd always have to define the
+ # one below before including any header, but that's obscure and
+ # fragile, so we do it here.
+-DEFINES		+= -D__STDC_LIMIT_MACROS
++DEFINES		+= -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
+ 
+ INCLUDES	+= -I$(srcdir)
+ 
+@@ -666,7 +666,8 @@
  endif # WINNT
  
  ifeq ($(OS_ARCH),FreeBSD)
-+DEFINES		+= -DFREEBSD
 -EXTRA_LIBS	+= -pthread
++DEFINES		+= -DFREEBSD
 +EXTRA_LIBS	+= -pthread -lc
  endif
  ifeq ($(OS_ARCH),IRIX)


More information about the freebsd-gecko mailing list