From 4062ebaceade7566a0c17c5b84c91ead6b49773e Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 19 Oct 2007 01:43:55 +0000 Subject: [PATCH] add bits so we actually build the SN support --- firefox-2.0-startup-notify.patch | 4 +++- firefox-mozconfig | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/firefox-2.0-startup-notify.patch b/firefox-2.0-startup-notify.patch index 91c322c..0a9215d 100644 --- a/firefox-2.0-startup-notify.patch +++ b/firefox-2.0-startup-notify.patch @@ -768,13 +768,15 @@ diff -d -u -p -r1.1492.2.121 configure #include "nsIRenderingContext.h" #include "nsIRegion.h" #include "nsIRollupListener.h" -@@ -58,6 +58,11 @@ +@@ -58,6 +58,13 @@ #include #include +#ifdef MOZ_ENABLE_STARTUP_NOTIFICATION +#define SN_API_NOT_YET_FROZEN ++#pragma GCC visibility push(default) +#include ++#pragma GCC visibility pop +#endif + #include "gtk2xtbin.h" diff --git a/firefox-mozconfig b/firefox-mozconfig index f224b28..84cb769 100755 --- a/firefox-mozconfig +++ b/firefox-mozconfig @@ -20,6 +20,7 @@ ac_add_options --enable-pango ac_add_options --enable-system-cairo ac_add_options --enable-svg ac_add_options --enable-canvas +ac_add_options --enable-startup-notification export BUILD_OFFICIAL=1 export MOZILLA_OFFICIAL=1