SHA256
1
0
forked from pool/schily

- Add gccwarns.diff to address some undefined behavior.

OBS-URL: https://build.opensuse.org/package/show/utilities/schily?expand=0&rev=15
This commit is contained in:
2018-05-16 14:03:54 +00:00
committed by Git OBS Bridge
parent 05d931e0f0
commit 14326decbf
3 changed files with 42 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ Source: https://downloads.sf.net/schilytools/%name-%rver.tar.bz2
Patch1: gcc48wa.diff
Patch2: mkisofs-j-crash.diff
Patch3: iconv-name.diff
Patch4: gccwarns.diff
# Honor https://en.opensuse.org/openSUSE:Packaging_Patches_guidelines#Upstream_policy
# and submit patches upstream FIRST (cc to the bspkg maintainer perhaps).
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -396,7 +397,7 @@ Features:
%prep
%setup -qn %name-%rver
%patch -P 1 -P 2 -P 3 -p1
%patch -P 1 -P 2 -P 3 -P 4 -p1
find . "(" -type d -o -type f ")" -exec chmod u+w "{}" "+"
%build