Accepting request 626935 from home:Andreas_Schwab:glibc:rebuild

- killproc-sysmacros.patch, startpar-sysmacros.patch: Include
  <sys/sysmacros.h> for makedev

OBS-URL: https://build.opensuse.org/request/show/626935
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=225
This commit is contained in:
Dirk Mueller 2018-08-02 07:00:50 +00:00 committed by Git OBS Bridge
parent 4faa0547e0
commit e8c16acbde
4 changed files with 46 additions and 0 deletions

24
killproc-sysmacros.patch Normal file
View File

@ -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 <sys/mount.h>
+#include <sys/sysmacros.h>
#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 <stdlib.h>
#include <string.h>
#include <sys/types.h>
+#include <sys/sysmacros.h>
#include <sys/stat.h>
#include <unistd.h>
#include "libinit.h"

12
startpar-sysmacros.patch Normal file
View File

@ -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 <stdlib.h>
#include <sys/ioctl.h>
#include <sys/types.h>
+#include <sys/sysmacros.h>
#include <sys/stat.h>
#include <termios.h>
#include <fcntl.h>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 1 14:50:54 UTC 2018 - schwab@suse.de
- killproc-sysmacros.patch, startpar-sysmacros.patch: Include
<sys/sysmacros.h> for makedev
-------------------------------------------------------------------
Thu May 24 10:30:28 CEST 2018 - kukuk@suse.de

View File

@ -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 .