- Add patch to compile against new fortified glibc macros

This commit is contained in:
Christopher Aillon 2005-03-08 22:34:15 +00:00
parent cd17bb384a
commit 54c401dca9

View File

@ -8,7 +8,7 @@ ExclusiveArch: i386 x86_64 ia64 ppc s390 s390x
Summary: Mozilla Thunderbird mail/newsgroup client Summary: Mozilla Thunderbird mail/newsgroup client
Name: thunderbird Name: thunderbird
Version: 1.0 Version: 1.0
Release: 4 Release: 5
Epoch: 0 Epoch: 0
URL: http://www.mozilla.org/projects/thunderbird/ URL: http://www.mozilla.org/projects/thunderbird/
License: MPL License: MPL
@ -26,6 +26,7 @@ Source100: find-external-requires
Patch1: thunderbird-0.7.3-freetype-compile.patch Patch1: thunderbird-0.7.3-freetype-compile.patch
Patch2: firefox-1.0-gcc4-compile.patch Patch2: firefox-1.0-gcc4-compile.patch
Patch3: firefox-1.0-recv-fortify.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
@ -90,6 +91,7 @@ echo "mk_add_options MOZ_MAKE_FLAGS='%{?_smp_mflags}'" >> .mozconfig
%patch1 -p0 -b .freetype %patch1 -p0 -b .freetype
%endif %endif
%patch2 -p0 -b .gcc4 %patch2 -p0 -b .gcc4
%patch3 -p0 -b .recv-fortify
%patch10 -p1 -b .psfonts %patch10 -p1 -b .psfonts
%patch11 -p1 -b .gnome-uriloader %patch11 -p1 -b .gnome-uriloader
%patch12 -p0 %patch12 -p0
@ -154,17 +156,18 @@ perl -pi -e 's|LIBDIR|%{_libdir}|g' %{buildroot}%{tbdir}/open-browser.sh
%{__cp} $RPM_BUILD_ROOT/rh-default-prefs $RPM_BUILD_ROOT/%{tbdir}/defaults/pref/all-redhat.js %{__cp} $RPM_BUILD_ROOT/rh-default-prefs $RPM_BUILD_ROOT/%{tbdir}/defaults/pref/all-redhat.js
%{__rm} $RPM_BUILD_ROOT/rh-default-prefs %{__rm} $RPM_BUILD_ROOT/rh-default-prefs
cd %{buildroot}%{tbdir} cd $RPM_BUILD_ROOT/%{tbdir}
export MOZ_DISABLE_GNOME=1 export MOZ_DISABLE_GNOME=1
./thunderbird -register ./thunderbird -register
cd -
%{__rm} -rf %{buildroot}/%{tbdir}/chrome/{classic,comm,embed-sample,en-{mac,win},help,messenger} %{__rm} -rf $RPM_BUILD_ROOT/%{tbdir}/chrome/{classic,comm,embed-sample,en-{mac,win},help,messenger}
# ... # ...
#=============================================================================== #===============================================================================
%clean %clean
%{__rm} -rf %{buildroot} %{__rm} -rf $RPM_BUILD_ROOT
#=============================================================================== #===============================================================================
@ -180,6 +183,9 @@ export MOZ_DISABLE_GNOME=1
#=============================================================================== #===============================================================================
%changelog %changelog
* Tue Mar 8 2005 Christopher Aillon <caillon@redhat.com> 1.0-5
- Add patch to compile against new fortified glibc macros
* Sat Mar 5 2005 Christopher Aillon <caillon@redhat.com> 1.0-4 * Sat Mar 5 2005 Christopher Aillon <caillon@redhat.com> 1.0-4
- Rebuild against GCC 4.0 - Rebuild against GCC 4.0
- Add execshield patches - Add execshield patches