diff options
author | Beat Gaetzi <beat@FreeBSD.org> | 2011-03-22 15:24:49 +0000 |
---|---|---|
committer | Beat Gaetzi <beat@FreeBSD.org> | 2011-03-22 15:24:49 +0000 |
commit | d8add7cac467361c78bc446d5c0db8d385f18e56 (patch) | |
tree | 9f3c0dfdef16328b5cca345328a05666b1760a59 /www/firefox-esr/files/patch-js-src-Makefile.in | |
parent | - Connect www/firefox36 and www/firefox36-i18n to the build. (diff) |
- Update to 4.0
- Add PGO option to enable Profile-Guided Optimization [1].
PR: ports/132231 [1] (based on)
Submitted by: lioux@ [1]
Thanks to: andreast@, Anonymous <swell.k AT gmail.com>, decke@, jsa@,
swills@ and all the testers for their feedback!
Diffstat (limited to 'www/firefox-esr/files/patch-js-src-Makefile.in')
-rw-r--r-- | www/firefox-esr/files/patch-js-src-Makefile.in | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/www/firefox-esr/files/patch-js-src-Makefile.in b/www/firefox-esr/files/patch-js-src-Makefile.in index 751596240adf..1657c655d8c9 100644 --- a/www/firefox-esr/files/patch-js-src-Makefile.in +++ b/www/firefox-esr/files/patch-js-src-Makefile.in @@ -1,10 +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,7 @@ +--- 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) -EXTRA_LIBS += -pthread ++DEFINES += -DFREEBSD +EXTRA_LIBS += -pthread -lc endif ifeq ($(OS_ARCH),IRIX) |