forked from jengelh/SDL2
move to std2
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=67
This commit is contained in:
parent
dd6f816a78
commit
5803e5d582
@ -1,3 +1,5 @@
|
||||
# From: sreeves@suse.com
|
||||
# CVE-2017-2888. Check for overflow when computing size.
|
||||
# Based on upstream patch: 81a4950907a01359f2f9390875291eb3951e6c6b
|
||||
|
||||
Index: SDL2-2.0.6/include/SDL_stdinc.h
|
||||
|
@ -32,7 +32,6 @@ Source3: %name.keyring
|
||||
Source4: baselibs.conf
|
||||
Patch1: dbus.diff
|
||||
Patch2: %name-ppc64-declaration-after-statement.patch
|
||||
# PATCH-FIX-UPSTREAM SDL-bnc1062784-check-overflow-xcf-props.patch sreeves@suse.com - CVE-2017-2888. Check for overflow when computing size.
|
||||
Patch3: SDL-bnc1062784-check-overflow-xcf-props.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: cmake
|
||||
@ -107,11 +106,10 @@ library.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -p1
|
||||
%patch -P 1 -P 3 -p1
|
||||
%ifarch ppc64 ppc64le
|
||||
%patch -P 2 -p1
|
||||
%endif
|
||||
%patch -P 3 -p1
|
||||
dos2unix WhatsNew.txt
|
||||
dos2unix TODO.txt
|
||||
dos2unix BUGS.txt
|
||||
|
Loading…
Reference in New Issue
Block a user