File project.diff of Package pmount

--- pmount.spec.orig
+++ pmount.spec
@@ -16,6 +16,7 @@
 #
 
 
+%define gccver 13
 %define tar_ver 0.9.99-alpha
 Name:           pmount
 Version:        0.9.99alpha
@@ -37,6 +38,8 @@ BuildRequires:  intltool
 BuildRequires:  libblkid-devel
 BuildRequires:  shadow
 BuildRequires:  sysuser-tools
+BuildRequires:  gcc%{gccver}
+#!BuildIgnore:  gcc
 Requires(pre):  permissions
 Suggests:       cryptsetup
 %sysusers_requires
@@ -54,12 +57,13 @@ decrypt the device first and mount the m
 
 %prep
 %setup -q -n %{name}-%{tar_ver}
-%patch0 -p1
-%patch1
-%patch2 -p1
-%patch3
+%patch -P 0 -p1
+%patch -P 1
+%patch -P 2 -p1
+%patch -P 3
 
 %build
+export CC=gcc-%{gccver}
 export CFLAGS="%{optflags} -fpie"
 export LDFLAGS="-pie"
 %configure
openSUSE Build Service is sponsored by