Ticket #13150: firefox-leopard.patch

File firefox-leopard.patch, 2.3 KB (added by afb@…, 17 years ago)
  • www/firefox-x11/files/patch-pthread.diff

     
     1--- nsprpub/pr/include/md/_pth.h.orig   2005-07-21 20:22:53.000000000 +0200
     2+++ nsprpub/pr/include/md/_pth.h        2007-11-05 09:01:53.000000000 +0100
     3@@ -98,7 +98,7 @@
     4 #else
     5 #define _PT_PTHREAD_MUTEX_IS_LOCKED(m)    (EBUSY == pthread_mutex_trylock(&(m)))
     6 #endif
     7-#if defined(DARWIN)
     8+#if defined(DARWIN) && !defined(__DARWIN_UNIX03)
     9 #define _PT_PTHREAD_CONDATTR_INIT(x)      0
     10 #else
     11 #define _PT_PTHREAD_CONDATTR_INIT         pthread_condattr_init
     12@@ -205,7 +205,7 @@
     13 /*
     14  * These platforms don't have pthread_kill()
     15  */
     16-#if defined(DARWIN)
     17+#if defined(DARWIN) && !defined(__DARWIN_UNIX03)
     18 #define pthread_kill(thread, sig) ENOSYS
     19 #endif
     20 
  • www/firefox-x11/files/patch-export-list.diff

     
     1--- config/rules.mk.orig        2006-11-28 18:03:37.000000000 +0100
     2+++ config/rules.mk     2007-11-05 10:38:28.000000000 +0100
     3@@ -1018,9 +1018,10 @@
     4 ifndef NO_COMPONENT_LINK_MAP
     5 ifndef MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS
     6 ifndef MOZ_DEBUG
     7-ifeq ($(OS_ARCH)_$(IS_COMPONENT),Darwin_1)
     8-       nmedit -s $(BUILD_TOOLS)/gnu-ld-scripts/components-export-list $@
     9-endif
     10+# Export list looks empty
     11+#ifeq ($(OS_ARCH)_$(IS_COMPONENT),Darwin_1)
     12+#      nmedit -s $(BUILD_TOOLS)/gnu-ld-scripts/components-export-list $@
     13+#endif
     14 endif
     15 endif
     16 endif
  • www/firefox-x11/Portfile

     
    3434patchfiles      patch-browser-app-profile-firefox.js \
    3535                patch-xpcom-build-Makefile \
    3636                patch-dylib_file.diff \
     37                patch-export-list.diff \
    3738                patch-layout-build-Makefile.in \
    3839                patch-build-unix-mozilla-xpcom.pc \
    3940                patch-browser-app-mozilla.in \
    40                 patch-xptcall_x86.diff
     41                patch-xptcall_x86.diff \
     42                patch-pthread.diff             
    4143
    4244configure.args  --enable-application=browser \
    4345                --enable-official-branding \