Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=7629e2396efc44f0a0595dcee37b9d4ec4d2441b

commit 7629e2396efc44f0a0595dcee37b9d4ec4d2441b
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Wed Jun 10 00:35:08 2009 +0200

firefox-3.0.10-2-i686

- add firefox-3.0.10-gcc44.patch

diff --git a/source/xapps/firefox/FrugalBuild b/source/xapps/firefox/FrugalBuild
index a029190..91a3424 100644
--- a/source/xapps/firefox/FrugalBuild
+++ b/source/xapps/firefox/FrugalBuild
@@ -5,7 +5,7 @@
pkgname=firefox
pkgver=3.0.10
pathver=${pkgver} # version used in path names
-pkgrel=1
+pkgrel=2
pkgdesc="Mozilla Firefox web browser"
url="http://www.mozilla.org/products/firefox/";
depends=('gtk+2' 'libidl' 'desktop-file-utils' 'nss>=3.12' 'glibc>=2.6' 
'dbus-glib' 'curl>=7.19.0' 'nspr>=4.7.1' \
@@ -22,8 +22,9 @@ 
source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$pkgver/sou
# Autodetect language.
03-lang_detection.diff \
ffremote \
-       $pkgname.desktop)
-signatures=("${source[0]}.asc" '' '' '' '' '')
+       $pkgname.desktop \
+       firefox-3.0.10-gcc44.patch)
+signatures=("${source[0]}.asc" '' '' '' '' '' '')
options=('scriptlet')

build() {
diff --git a/source/xapps/firefox/firefox-3.0.10-gcc44.patch 
b/source/xapps/firefox/firefox-3.0.10-gcc44.patch
new file mode 100644
index 0000000..55b09e4
--- /dev/null
+++ b/source/xapps/firefox/firefox-3.0.10-gcc44.patch
@@ -0,0 +1,41 @@
+--- 
mozilla/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc.orig
   2009-06-10 00:17:41.000000000 +0200
++++ 
mozilla/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc
        2009-06-10 00:17:52.000000000 +0200
+@@ -33,6 +33,7 @@
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <unistd.h>
++#include <stdio.h>
+
+ #include <cassert>
+ #include <cstdlib>
+--- 
mozilla/toolkit/crashreporter/google-breakpad/src/client/linux/handler/minidump_generator.cc.orig
  2009-06-10 00:18:06.000000000 +0200
++++ 
mozilla/toolkit/crashreporter/google-breakpad/src/client/linux/handler/minidump_generator.cc
       2009-06-10 00:18:19.000000000 +0200
+@@ -41,6 +41,7 @@
+ #include <cstdlib>
+ #include <ctime>
+ #include <string.h>
++#include <stdio.h>
+
+ #include "common/linux/file_id.h"
+ #include "client/linux/handler/linux_thread.h"
+--- 
mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc.orig
        2009-06-10 00:15:23.000000000 +0200
++++ 
mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc  
   2009-06-10 00:16:06.000000000 +0200
+@@ -45,6 +45,7 @@
+ #include <functional>
+ #include <vector>
+ #include <string.h>
++#include <stdio.h>
+
+ #include "common/linux/dump_symbols.h"
+ #include "common/linux/file_id.h"
+--- mozilla/toolkit/xre/nsAppRunner.cpp.orig   2009-06-10 00:19:15.000000000 
+0200
++++ mozilla/toolkit/xre/nsAppRunner.cpp        2009-06-10 00:19:27.000000000 
+0200
+@@ -1459,7 +1459,7 @@
+   if (NS_FAILED(rv))
+     return rv;
+
+-#elif
++#else
+ #error Oops, you need platform-specific code here
+ #endif
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to