Dr. Werner Fink 2016-03-01 16:22:35 +00:00 committed by Git OBS Bridge
parent 18e030ae2b
commit 5d52c1c19b
5 changed files with 11 additions and 28 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Feb 22 12:17:51 UTC 2016 - werner@suse.de
- Do not use privata glibc API (boo#967437) but implement
missing shared memory mkstemp()
- Remove patch remove-bad-symbol-use.patch
-------------------------------------------------------------------
Mon Feb 22 10:00:13 UTC 2016 - schwab@suse.de

View File

@ -17,7 +17,7 @@
Name: blog
Version: 2.17
Version: 2.18
Release: 0
Summary: Boot logging
License: GPL-2.0+
@ -25,7 +25,6 @@ Group: System/Base
Url: https://build.opensuse.org/package/show/Base:System/blog
Source: showconsole-%{version}.tar.bz2
Source1: blog-rpmlintrc
Patch: remove-bad-symbol-use.patch
BuildRequires: suse-module-tools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: sysvinit-tools:/sbin/blogd
@ -65,7 +64,6 @@ the LSB startproc command.
%prep
%setup -q -n showconsole-%version
%patch -p1
%build
make %{?_smp_mflags} CC="%__cc" \

View File

@ -1,22 +0,0 @@
Index: showconsole-2.17/libconsole/shm.c
===================================================================
--- showconsole-2.17.orig/libconsole/shm.c
+++ showconsole-2.17/libconsole/shm.c
@@ -17,8 +17,6 @@
#include <unistd.h>
#include "libconsole.h"
-extern char *__mktemp(char *) __THROW __nonnull ((1));
-
void* shm_malloc(size_t size, int flags)
{
static char temp[] = "/blogd-XXXXXX";
@@ -27,7 +25,7 @@ void* shm_malloc(size_t size, int flags)
int shmfd = -1;
int ret;
- name = __mktemp(&temp[0]);
+ name = mktemp(&temp[0]);
if (!name)
error("can not generate temporay name");

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3ae2c243186cedb8e51195e0feccdfe4a28ffd53f4880156d9ea3c04569fd860
size 36784

3
showconsole-2.18.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:003372a6f15cf030c55692f512b41a2ed044f12f2bc9d531ff98c8530f3f5ece
size 37112