- Use system NSPR

- Fix crash on 64bit platforms
This commit is contained in:
Christopher Aillon 2005-07-15 15:42:37 +00:00
parent 39c70fc4e8
commit 81bf77cf88
2 changed files with 16 additions and 2 deletions

View File

@ -9,6 +9,7 @@ ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xft ac_add_options --enable-xft
ac_add_options --enable-optimize="$CFLAGS" ac_add_options --enable-optimize="$CFLAGS"
ac_add_options --with-system-nspr
ac_add_options --with-system-jpeg ac_add_options --with-system-jpeg
ac_add_options --with-system-png ac_add_options --with-system-png
ac_add_options --with-system-zlib ac_add_options --with-system-zlib

View File

@ -3,12 +3,12 @@
%define desktop_file_utils_version 0.3 %define desktop_file_utils_version 0.3
ExclusiveArch: i386 x86_64 ia64 ppc s390 s390x ExcludeArch: ppc64
Summary: Mozilla Thunderbird mail/newsgroup client Summary: Mozilla Thunderbird mail/newsgroup client
Name: thunderbird Name: thunderbird
Version: 1.0.2 Version: 1.0.2
Release: 7 Release: 8
Epoch: 0 Epoch: 0
URL: http://www.mozilla.org/projects/thunderbird/ URL: http://www.mozilla.org/projects/thunderbird/
License: MPL License: MPL
@ -24,11 +24,14 @@ Source6: thunderbird-open-browser.sh
Source10: thunderbird-redhat-default-prefs.js Source10: thunderbird-redhat-default-prefs.js
Source100: find-external-requires Source100: find-external-requires
# Build patches
Patch1: thunderbird-0.7.3-freetype-compile.patch Patch1: thunderbird-0.7.3-freetype-compile.patch
Patch2: firefox-1.0-prdtoa.patch Patch2: firefox-1.0-prdtoa.patch
Patch3: firefox-1.0-gcc4-compile.patch Patch3: firefox-1.0-gcc4-compile.patch
Patch4: firefox-1.0-recv-fortify.patch Patch4: firefox-1.0-recv-fortify.patch
Patch5: firefox-1.0-gfxshared_s.patch Patch5: firefox-1.0-gfxshared_s.patch
Patch6: firefox-1.0-nss-system-nspr.patch
Patch7: firefox-1.0-system-nspr-ldap.patch
Patch10: thunderbird-0.7.3-psfonts.patch Patch10: thunderbird-0.7.3-psfonts.patch
Patch11: thunderbird-0.7.3-gnome-uriloader.patch Patch11: thunderbird-0.7.3-gnome-uriloader.patch
@ -62,10 +65,13 @@ Patch105: firefox-1.0-nspr-s390.patch
Patch106: thunderbird-1.0-useragent.patch Patch106: thunderbird-1.0-useragent.patch
Patch107: firefox-1.0-execshield-nspr.patch Patch107: firefox-1.0-execshield-nspr.patch
Patch108: firefox-1.0-execshield-xpcom.patch Patch108: firefox-1.0-execshield-xpcom.patch
Patch109: firefox-1.0-imgloader-comarray.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: nspr >= %{nspr_devel}
BuildRequires: libpng-devel, libjpeg-devel, gtk2-devel BuildRequires: libpng-devel, libjpeg-devel, gtk2-devel
BuildRequires: zlib-devel, gzip, zip, unzip BuildRequires: zlib-devel, gzip, zip, unzip
BuildRequires: nspr-devel >= %{nspr_version}
BuildRequires: XFree86-devel BuildRequires: XFree86-devel
BuildRequires: libIDL-devel BuildRequires: libIDL-devel
BuildRequires: tcsh BuildRequires: tcsh
@ -100,6 +106,8 @@ echo "mk_add_options MOZ_MAKE_FLAGS='%{?_smp_mflags}'" >> .mozconfig
%patch3 -p0 -b .gcc4 %patch3 -p0 -b .gcc4
%patch4 -p0 -b .recv-fortify %patch4 -p0 -b .recv-fortify
%patch5 -p0 %patch5 -p0
%patch6 -p1
%patch7 -p0
%patch10 -p1 -b .psfonts %patch10 -p1 -b .psfonts
%patch11 -p1 -b .gnome-uriloader %patch11 -p1 -b .gnome-uriloader
%patch24 -p1 %patch24 -p1
@ -122,6 +130,7 @@ echo "mk_add_options MOZ_MAKE_FLAGS='%{?_smp_mflags}'" >> .mozconfig
%patch106 -p0 %patch106 -p0
%patch107 -p0 %patch107 -p0
%patch108 -p0 %patch108 -p0
%patch109 -p0
#=============================================================================== #===============================================================================
@ -200,6 +209,10 @@ cd -
#=============================================================================== #===============================================================================
%changelog %changelog
* Fri Jul 15 2005 Christopher Aillon <caillon@redhat.com> 1.0.2-8
- Use system NSPR
- Fix crash on 64bit platforms (#160330)
* Thu Jun 23 2005 Kristian Høgsberg <krh@redhat.com> 1.0.2-7 * Thu Jun 23 2005 Kristian Høgsberg <krh@redhat.com> 1.0.2-7
- Add firefox-1.0-pango-cairo.patch to get rid of the last few Xft - Add firefox-1.0-pango-cairo.patch to get rid of the last few Xft
references, fixing the "no fonts" problem. references, fixing the "no fonts" problem.