summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Aillon <caillon@redhat.com>2011-01-31 19:13:52 -0800
committerChristopher Aillon <caillon@redhat.com>2011-01-31 19:13:52 -0800
commitb4d6e96efe5914cdfc2dd9aaf33de12149220f86 (patch)
treeefcbd1aad84d16f0edc822e3db3a71f273527e96
parentMove the categories directly into the .desktop file itself (diff)
downloadlibrewolf-fedora-ff-b4d6e96efe5914cdfc2dd9aaf33de12149220f86.tar.gz
librewolf-fedora-ff-b4d6e96efe5914cdfc2dd9aaf33de12149220f86.tar.bz2
librewolf-fedora-ff-b4d6e96efe5914cdfc2dd9aaf33de12149220f86.zip
Remove the jemalloc specific patches
They belong in XR, but have already been fixed in other ways anyway
-rw-r--r--firefox.spec7
-rw-r--r--firefox4-build-throw.patch12
-rw-r--r--firefox4-jemalloc.patch22
3 files changed, 0 insertions, 41 deletions
diff --git a/firefox.spec b/firefox.spec
index a744881..f3ab69b 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -54,8 +54,6 @@ Source23: firefox.1
#Build patches
Patch0: firefox-version.patch
-Patch1: firefox4-jemalloc.patch
-Patch2: firefox4-build-throw.patch
# Fedora patches
Patch11: firefox-default.patch
@@ -106,8 +104,6 @@ sed -e 's/__RPM_VERSION_INTERNAL__/%{internal_version}/' %{P:%%PATCH0} \
# For branding specific patches.
-%patch1 -p1 -b .526152
-%patch2 -p1 -b .throw
# Fedora patches
%patch11 -p2 -b .default
@@ -295,9 +291,6 @@ done
touch $RPM_BUILD_ROOT/%{mozappdir}/components/compreg.dat
touch $RPM_BUILD_ROOT/%{mozappdir}/components/xpti.dat
-# jemalloc shows up sometimes, but it's not needed here, it's in XR
-%{__rm} -f $RPM_BUILD_ROOT/%{mozappdir}/libjemalloc.so
-
# Enable crash reporter for Firefox application
%if %{include_debuginfo}
sed -i -e "s/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/" $RPM_BUILD_ROOT/%{mozappdir}/application.ini
diff --git a/firefox4-build-throw.patch b/firefox4-build-throw.patch
deleted file mode 100644
index 87a3058..0000000
--- a/firefox4-build-throw.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up mozilla-central/memory/mozalloc/mozalloc.h.throw mozilla-central/memory/mozalloc/mozalloc.h
---- mozilla-central/memory/mozalloc/mozalloc.h.throw 2010-09-01 17:21:53.906286481 -0400
-+++ mozilla-central/memory/mozalloc/mozalloc.h 2010-09-01 17:22:27.422157338 -0400
-@@ -214,7 +214,7 @@ MOZALLOC_EXPORT void* moz_valloc(size_t
- #define MOZALLOC_THROW_IF_HAS_EXCEPTIONS throw()
- #endif
-
--#ifdef MOZ_CPP_EXCEPTIONS
-+#if 1
- #define MOZALLOC_THROW_BAD_ALLOC throw(std::bad_alloc)
- #else
- #define MOZALLOC_THROW_BAD_ALLOC MOZALLOC_THROW_IF_HAS_EXCEPTIONS
diff --git a/firefox4-jemalloc.patch b/firefox4-jemalloc.patch
deleted file mode 100644
index 982483f..0000000
--- a/firefox4-jemalloc.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -up mozilla-central/memory/jemalloc/jemalloc.h.jemalloc mozilla-central/memory/jemalloc/jemalloc.h
---- mozilla-central/memory/jemalloc/jemalloc.h.jemalloc 2010-08-18 15:21:10.000000000 -0400
-+++ mozilla-central/memory/jemalloc/jemalloc.h 2010-09-01 16:50:38.615946834 -0400
-@@ -42,12 +42,12 @@ extern const char *_malloc_options;
-
- /* Darwin and Linux already have memory allocation functions */
- #if (!defined(MOZ_MEMORY_DARWIN) && !defined(MOZ_MEMORY_LINUX))
--void *malloc(size_t size);
--void *valloc(size_t size);
--void *calloc(size_t num, size_t size);
--void *realloc(void *ptr, size_t size);
--void free(void *ptr);
--int posix_memalign(void **memptr, size_t alignment, size_t size);
-+void *malloc(size_t size) __THROW __attribute_malloc__ __wur;
-+void *valloc(size_t size) __THROW __attribute_malloc__ __wur;
-+void *calloc(size_t num, size_t size) __THROW __attribute_malloc__ __wur;
-+void *realloc(void *ptr, size_t size) __THROW __attribute_malloc__ __wur;
-+void free(void *ptr) __THROW __attribute_malloc__ __wur;
-+int posix_memalign(void **memptr, size_t alignment, size_t size) __THROW __attribute_malloc__ __wur;
- #endif /* MOZ_MEMORY_DARWIN, MOZ_MEMORY_LINUX */
-
- #if defined(MOZ_MEMORY_ANDROID) || defined(WRAP_MALLOC)
bgstack15