diff --git a/killproc-sysmacros.patch b/killproc-sysmacros.patch new file mode 100644 index 0000000..5240771 --- /dev/null +++ b/killproc-sysmacros.patch @@ -0,0 +1,24 @@ +Index: killproc-2.21/libinit.c +=================================================================== +--- killproc-2.21.orig/libinit.c ++++ killproc-2.21/libinit.c +@@ -23,6 +23,7 @@ + */ + + #include ++#include + #include "libinit.h" /* Now get the inlined functions */ + #ifndef INITDIR + # define INITDIR "/etc/init.d" +Index: killproc-2.21/rvmtab.c +=================================================================== +--- killproc-2.21.orig/rvmtab.c ++++ killproc-2.21/rvmtab.c +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + #include + #include + #include "libinit.h" diff --git a/startpar-sysmacros.patch b/startpar-sysmacros.patch new file mode 100644 index 0000000..770ed3a --- /dev/null +++ b/startpar-sysmacros.patch @@ -0,0 +1,12 @@ +Index: startpar-0.58/proc.c +=================================================================== +--- startpar-0.58.orig/proc.c ++++ startpar-0.58/proc.c +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/sysvinit.changes b/sysvinit.changes index ae661af..1466867 100644 --- a/sysvinit.changes +++ b/sysvinit.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 1 14:50:54 UTC 2018 - schwab@suse.de + +- killproc-sysmacros.patch, startpar-sysmacros.patch: Include + for makedev + ------------------------------------------------------------------- Thu May 24 10:30:28 CEST 2018 - kukuk@suse.de diff --git a/sysvinit.spec b/sysvinit.spec index 9575cdc..fd3a01b 100644 --- a/sysvinit.spec +++ b/sysvinit.spec @@ -42,7 +42,9 @@ Patch11: %{name}-%{version}dsf-dostat.patch Patch12: %{name}-%{version}dsf-sulogin.diff Patch30: killproc-%{KPVER}.dif Patch31: killproc-2.18-open_flags.dif +Patch32: killproc-sysmacros.patch Patch50: startpar-%{START}.dif +Patch51: startpar-sysmacros.patch %description System V style init programs by Miquel van Smoorenburg that control the @@ -78,10 +80,12 @@ popd pushd ../killproc-%{KPVER} %patch30 %patch31 -p0 -b .dialog +%patch32 -p1 ln -t../%{name}-%{SIVER}dsf/doc/killproc README popd pushd ../startpar-%{START} %patch50 +%patch51 -p1 popd %_fixowner . %_fixgroup .