.
OBS-URL: https://build.opensuse.org/package/show/Base:System/syslogd?expand=0&rev=117
This commit is contained in:
parent
954ca5ade3
commit
d52e2ca68b
17
sysklogd-1.4.1-glibc.patch
Normal file
17
sysklogd-1.4.1-glibc.patch
Normal file
@ -0,0 +1,17 @@
|
||||
New glibc does not know about _BSD_SOURCE anymore
|
||||
---
|
||||
syslogd.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
--- syslogd.c
|
||||
+++ syslogd.c 2014-09-15 13:04:29.518735502 +0000
|
||||
@@ -509,6 +509,9 @@ static char sccsid[] __attribute__ ((un
|
||||
#include <sd-daemon.h>
|
||||
#endif
|
||||
|
||||
+#ifdef _DEFAULT_SOURCE
|
||||
+#define _BSD_SOURCE
|
||||
+#endif
|
||||
#ifndef UTMP_FILE
|
||||
#ifdef UTMP_FILENAME
|
||||
#define UTMP_FILE UTMP_FILENAME
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 15 13:07:38 UTC 2014 - werner@suse.de
|
||||
|
||||
- Add patch sysklogd-1.4.1-glibc.patch
|
||||
newer glibc versions do not set nor use _BSD_SOURCE anymore
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 1 09:17:40 UTC 2014 - werner@suse.de
|
||||
|
||||
|
@ -82,6 +82,7 @@ Patch23: sysklogd-1.4.1-reload.dif
|
||||
Patch24: sysklogd-1.4.1-systemd.dif
|
||||
Patch25: sysklogd-1.4.1-systemd-multi.dif
|
||||
Patch26: sysklogd-1.4.1-systemd-sock-name.patch
|
||||
Patch27: sysklogd-1.4.1-glibc.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -171,6 +172,8 @@ Authors:
|
||||
%patch24 -p0 -b .sd
|
||||
%patch25 -p0 -b .sd2
|
||||
%patch26 -p0 -b .sd3
|
||||
# PATCH-FIX-SUSE Newer glibc versions do not set nor use _BSD_SOURCE anymore
|
||||
%patch27 -p0 -b .glibc
|
||||
%patch0 -p0
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user