Accepting request 626926 from home:Andreas_Schwab:glibc:rebuild
- sysmacros.patch: Include <sys/sysmacros.h> for makedev OBS-URL: https://build.opensuse.org/request/show/626926 OBS-URL: https://build.opensuse.org/package/show/Base:System/blog?expand=0&rev=30
This commit is contained in:
parent
0a824181f3
commit
ee2dc02250
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 1 14:33:06 UTC 2018 - schwab@suse.de
|
||||||
|
|
||||||
|
- sysmacros.patch: Include <sys/sysmacros.h> for makedev
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 19 15:31:33 CET 2018 - kukuk@suse.de
|
Mon Mar 19 15:31:33 CET 2018 - kukuk@suse.de
|
||||||
|
|
||||||
|
@ -37,6 +37,8 @@ Patch1: libconsole-Really-allow-to-use-dev-console-as-a-fall.patch
|
|||||||
Patch2: libconsole-Add-console-into-the-list-only-when-succe.patch
|
Patch2: libconsole-Add-console-into-the-list-only-when-succe.patch
|
||||||
# PATCH-FIX-UPSTREAM libconsole-Correctly-ignore-early-consoles.patch bsc#1071568
|
# PATCH-FIX-UPSTREAM libconsole-Correctly-ignore-early-consoles.patch bsc#1071568
|
||||||
Patch3: libconsole-Correctly-ignore-early-consoles.patch
|
Patch3: libconsole-Correctly-ignore-early-consoles.patch
|
||||||
|
# PATCH-FIX-UPSTREAM Include <sys/sysmacros.h> for makedev
|
||||||
|
Patch4: sysmacros.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The blogd daemon determines the real underlying character device of
|
The blogd daemon determines the real underlying character device of
|
||||||
@ -78,6 +80,7 @@ the LSB startproc command.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} CC="%__cc" \
|
make %{?_smp_mflags} CC="%__cc" \
|
||||||
|
36
sysmacros.patch
Normal file
36
sysmacros.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Index: showconsole-2.18/libconsole/console.c
|
||||||
|
===================================================================
|
||||||
|
--- showconsole-2.18.orig/libconsole/console.c
|
||||||
|
+++ showconsole-2.18/libconsole/console.c
|
||||||
|
@@ -27,6 +27,7 @@
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
+#include <sys/sysmacros.h>
|
||||||
|
#include <sys/vfs.h>
|
||||||
|
#include <sys/wait.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
Index: showconsole-2.18/libconsole/devices.c
|
||||||
|
===================================================================
|
||||||
|
--- showconsole-2.18.orig/libconsole/devices.c
|
||||||
|
+++ showconsole-2.18/libconsole/devices.c
|
||||||
|
@@ -16,6 +16,7 @@
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
+#include <sys/sysmacros.h>
|
||||||
|
#include "libconsole.h"
|
||||||
|
|
||||||
|
char *charname(const char *str)
|
||||||
|
Index: showconsole-2.18/showconsole.c
|
||||||
|
===================================================================
|
||||||
|
--- showconsole-2.18.orig/showconsole.c
|
||||||
|
+++ showconsole-2.18/showconsole.c
|
||||||
|
@@ -10,6 +10,7 @@
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <sys/types.h> /* Defines the macros major and minor */
|
||||||
|
+#include <sys/sysmacros.h> /* Defines the macros major and minor */
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <sys/ioctl.h>
|
||||||
|
#include <err.h>
|
Loading…
Reference in New Issue
Block a user