Dr. Werner Fink 2014-09-15 13:08:24 +00:00 committed by Git OBS Bridge
parent 954ca5ade3
commit d52e2ca68b
3 changed files with 26 additions and 0 deletions

View 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

View File

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

View File

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