apply patch to avoid format-security errors (RHBZ#1037330)

This commit is contained in:
Iain Arnell 2013-12-04 09:24:57 -07:00
parent db85173fc3
commit 4cd63b0552
2 changed files with 1629 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
Name: slashem Name: slashem
Version: 0.0.8 Version: 0.0.8
Release: 0.13.E0F1%{?dist} Release: 0.14.E0F1%{?dist}
Summary: Super Lotsa Added Stuff Hack - Extended Magic Summary: Super Lotsa Added Stuff Hack - Extended Magic
Group: Amusements/Games Group: Amusements/Games
@ -13,6 +13,8 @@ Patch0: slashem-config.patch
Patch1: slashem-libpng-1.5.patch Patch1: slashem-libpng-1.5.patch
# update config.guess and config.sub to recognize aarch64 # update config.guess and config.sub to recognize aarch64
Patch2: slashem-aarch64.patch Patch2: slashem-aarch64.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1037330
Patch3: slashem-format-security.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
@ -58,6 +60,7 @@ SLASH'EM is the (continuing) saga of one such variant...
%patch0 -p 1 -b .config %patch0 -p 1 -b .config
%patch1 -p 1 -b .libpng %patch1 -p 1 -b .libpng
%patch2 -p 1 -b .aarch64 %patch2 -p 1 -b .aarch64
%patch3 -p 1 -b .format-security
sed -i \ sed -i \
-e 's:^\(#define FILE_AREA_VAR\).*:\1 "%{fa_var}/":' \ -e 's:^\(#define FILE_AREA_VAR\).*:\1 "%{fa_var}/":' \
@ -158,6 +161,9 @@ rm -rf %{buildroot}
%changelog %changelog
* Wed Dec 04 2013 Iain Arnell <iarnell@gmail.com> 0.0.8-0.14.E0F1
- apply patch to avoid format-security errors (RHBZ#1037330)
* Sat Aug 10 2013 Iain Arnell <iarnell@gmail.com> 0.0.8-0.13.E0F1 * Sat Aug 10 2013 Iain Arnell <iarnell@gmail.com> 0.0.8-0.13.E0F1
- use _pkgdocdir macro - use _pkgdocdir macro