diff options
author | Tom "spot" Callaway <tcallawa@redhat.com> | 2010-09-07 10:57:17 -0400 |
---|---|---|
committer | Tom "spot" Callaway <tcallawa@redhat.com> | 2010-09-07 10:57:17 -0400 |
commit | 7807013a6c58c16080f481c06b6ca44ea492f15d (patch) | |
tree | af27c7be8d11debe4e9d55d670e7a3b6ee710966 /firefox4-jemalloc.patch | |
parent | tarball upload (diff) | |
download | librewolf-fedora-ff-7807013a6c58c16080f481c06b6ca44ea492f15d.tar.gz librewolf-fedora-ff-7807013a6c58c16080f481c06b6ca44ea492f15d.tar.bz2 librewolf-fedora-ff-7807013a6c58c16080f481c06b6ca44ea492f15d.zip |
fixed patches, fixed spec file
Diffstat (limited to 'firefox4-jemalloc.patch')
-rw-r--r-- | firefox4-jemalloc.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/firefox4-jemalloc.patch b/firefox4-jemalloc.patch new file mode 100644 index 0000000..982483f --- /dev/null +++ b/firefox4-jemalloc.patch @@ -0,0 +1,22 @@ +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) |