From b7017525a9fcea36b72756c40f92b355f5b6b0e8 Mon Sep 17 00:00:00 2001 From: Christopher Aillon Date: Thu, 26 Oct 2006 17:43:09 +0000 Subject: Need cairo-xlib-render.h as well. So rename the patch as firefox-2.0-visibility.patch --- firefox-2.0-visibility.patch | 68 ++++++++++++++++++++++++++++++++++++++++++++ firefox.spec | 2 +- 2 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 firefox-2.0-visibility.patch diff --git a/firefox-2.0-visibility.patch b/firefox-2.0-visibility.patch new file mode 100644 index 0000000..f1feb12 --- /dev/null +++ b/firefox-2.0-visibility.patch @@ -0,0 +1,68 @@ +--- mozilla/config/system-headers.visibility 2005-06-17 17:03:42.000000000 -0400 ++++ mozilla/config/system-headers 2006-08-30 17:57:48.000000000 -0400 +@@ -66,6 +66,8 @@ + Button.h + byteswap.h + cairo.h ++cairo-xlib.h ++cairo-xlib-render.h + callconv.h + Carbon/Carbon.h + CarbonEvents.h +@@ -176,7 +177,7 @@ + freetype/freetype.h + freetype/ftcache.h + freetype/ftglyph.h +-freetype/ftoutlin.h ++freetype/ftoutln.h + freetype/ttnameid.h + freetype/tttables.h + fribidi/fribidi.h +@@ -192,6 +193,8 @@ + gdk/gdkregion.h + gdk/gdkwindow.h + gdk/gdkx.h ++gdk/gdkpango.h ++gdk/gdkalias.h + gdk-pixbuf/gdk-pixbuf.h + Gestalt.h + getopt.h +@@ -212,7 +215,11 @@ + gtk/gtkcontainer.h + gtk/gtkdialog.h + gtk/gtkentry.h ++gtk/gtkfilechooser.h ++gtk/gtkfixed.h + gtk/gtk.h ++gtk/gtkiconfactory.h ++gtk/gtkimage.h + gtk/gtkimmulticontext.h + gtk/gtkinvisible.h + gtk/gtkmain.h +@@ -500,6 +507,7 @@ + PLStringFuncs.h + PMApplication.h + pmddim.h ++png.h + poll.h + Polygon.h + portable.h +@@ -874,6 +882,7 @@ + X11/Xutil.h + xpt_struct.h + xpt_xdr.h ++zlib.h + zmouse.h + sslt.h + smime.h +--- mozilla/modules/oji/src/nsJVMManager.cpp.visibility 2006-09-03 13:10:52.000000000 -0400 ++++ mozilla/modules/oji/src/nsJVMManager.cpp 2006-09-03 13:11:49.000000000 -0400 +@@ -845,7 +845,7 @@ + return fStatus; + } + +-extern "C" nsresult JSJ_RegisterLiveConnectFactory(void); ++extern "C" NS_VISIBILITY_DEFAULT nsresult JSJ_RegisterLiveConnectFactory(void); + + PRBool + nsJVMManager::MaybeStartupLiveConnect(void) diff --git a/firefox.spec b/firefox.spec index 762a731..cb549c2 100644 --- a/firefox.spec +++ b/firefox.spec @@ -38,7 +38,7 @@ Source101: add-gecko-provides.in Patch1: firefox-2.0-link-layout.patch Patch3: firefox-1.1-nss-system-nspr.patch Patch4: firefox-1.5-with-system-nss.patch -Patch5: firefox-1.5-visibility.patch +Patch5: firefox-2.0-visibility.patch # customization patches Patch20: firefox-redhat-homepage.patch -- cgit