openbsd-ports/www/mozilla-firefox/patches/patch-js_src_configure_in
landry c7958be068 Update to firefox 18.0 :
- see http://www.mozilla.org/en-US/firefox/18.0/releasenotes/
- fixes MFSA 2013-14 -> 20
- build with clang on i386/amd64 and with gcc 4.6 on powerpc. Required
  since upstream dropped support for gcc < 4.4.
- don't build against systemwide jpeg anymore since it now needs its
  internal libjpeg-turbo.
- add a stub method to sydney_audio_sndio.c in post-patch. Cant add it
  to the file in cvs directly otherwise it breaks other mozillas
- remove patch-ipc_chromium_src_base_atomicops_h, not needed anymore
ok sthen@
2013-01-11 22:57:14 +00:00

31 lines
936 B
Plaintext

$OpenBSD: patch-js_src_configure_in,v 1.18 2013/01/11 22:57:14 landry Exp $
https://bugzilla.mozilla.org/show_bug.cgi?id=648721
https://bugzilla.mozilla.org/show_bug.cgi?id=589754
--- js/src/configure.in.orig Wed Nov 21 17:10:41 2012
+++ js/src/configure.in Mon Nov 26 22:15:19 2012
@@ -1912,7 +1912,12 @@ ia64*-hpux*)
;;
*-openbsd*)
- DLL_SUFFIX=".so.1.0"
+ if test "$SO_VERSION"; then
+ DLL_SUFFIX=".so.$SO_VERSION"
+ else
+ DLL_SUFFIX=".so.1.0"
+ fi
+ MOZ_FIX_LINK_PATHS='-Wl,-rpath-link,$(LIBXUL_DIST)/bin -Wl,-rpath-link,$(prefix)/lib -Wl,-rpath-link,$(if $(X11BASE),$(X11BASE),/usr/X11R6)/lib'
DSO_CFLAGS=''
DSO_PIC_CFLAGS='-fPIC'
DSO_LDOPTS='-shared -fPIC'
@@ -2203,6 +2208,10 @@ mips*-*)
ENABLE_METHODJIT_TYPED_ARRAY=1
AC_DEFINE(JS_CPU_MIPS)
AC_DEFINE(JS_NUNBOX32)
+ ;;
+sparc64-*)
+ AC_DEFINE(AVMPLUS_SPARC)
+ AC_DEFINE(AVMPLUS_64BIT)
;;
esac