SHA256
1
0
forked from pool/prctl
Petr Gajdos 2024-05-09 07:43:43 +00:00 committed by Git OBS Bridge
parent d7f11f3698
commit 5d133335ff
3 changed files with 16 additions and 5 deletions

View File

@ -1,7 +1,7 @@
Index: prctl.c
===================================================================
--- prctl.c.orig 2006-05-25 00:06:24.000000000 +0200
+++ prctl.c 2010-11-19 10:03:03.821629772 +0100
--- a/prctl.c 2006-05-25 00:06:24.000000000 +0200
+++ b/prctl.c 2010-11-19 10:03:03.821629772 +0100
@@ -48,12 +48,12 @@
/* Verbose mode */
int verbose=0;

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu May 9 07:41:50 UTC 2024 - pgajdos@suse.com
- fix build with gcc14
- use %autosetup macro
- modified patches
% prctl-1.5-warnings.patch (refreshed)
- added patches
work with gcc14
+ prctl-gcc14.patch
-------------------------------------------------------------------
Wed Feb 21 15:10:54 UTC 2024 - Michael Vetter <mvetter@suse.com>

View File

@ -27,6 +27,8 @@ Source0: http://downloads.sourceforge.net/project/prctl/prctl/%{version}/
Source1: COPYING
Patch0: prctl-1.5-Makefile.patch
Patch1: prctl-1.5-warnings.patch
# work with gcc14
Patch2: prctl-gcc14.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -34,10 +36,8 @@ The prctl utility allows a user to control certain process behaviors in
the runtime environment.
%prep
%setup -q
%autosetup -p1
cp %{SOURCE1} .
%patch -P 0 -p1 -b .makefile
%patch -P 1 -b .warnings
%build
%configure