Accepting request 360788 from home:Andreas_Schwab:Factory
- remove-bad-symbol-use.patch: Remove bad use of internal glibc interface (bnc#967437) OBS-URL: https://build.opensuse.org/request/show/360788 OBS-URL: https://build.opensuse.org/package/show/Base:System/blog?expand=0&rev=13
This commit is contained in:
parent
0b53bae596
commit
18e030ae2b
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 22 10:00:13 UTC 2016 - schwab@suse.de
|
||||||
|
|
||||||
|
- remove-bad-symbol-use.patch: Remove bad use of internal glibc interface
|
||||||
|
(bnc#967437)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 19 16:30:46 UTC 2016 - werner@suse.de
|
Fri Feb 19 16:30:46 UTC 2016 - werner@suse.de
|
||||||
|
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define __filter_GLIBC_PRIVATE 1
|
|
||||||
|
|
||||||
Name: blog
|
Name: blog
|
||||||
Version: 2.17
|
Version: 2.17
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -27,6 +25,7 @@ Group: System/Base
|
|||||||
Url: https://build.opensuse.org/package/show/Base:System/blog
|
Url: https://build.opensuse.org/package/show/Base:System/blog
|
||||||
Source: showconsole-%{version}.tar.bz2
|
Source: showconsole-%{version}.tar.bz2
|
||||||
Source1: blog-rpmlintrc
|
Source1: blog-rpmlintrc
|
||||||
|
Patch: remove-bad-symbol-use.patch
|
||||||
BuildRequires: suse-module-tools
|
BuildRequires: suse-module-tools
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Provides: sysvinit-tools:/sbin/blogd
|
Provides: sysvinit-tools:/sbin/blogd
|
||||||
@ -66,6 +65,7 @@ the LSB startproc command.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n showconsole-%version
|
%setup -q -n showconsole-%version
|
||||||
|
%patch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} CC="%__cc" \
|
make %{?_smp_mflags} CC="%__cc" \
|
||||||
|
22
remove-bad-symbol-use.patch
Normal file
22
remove-bad-symbol-use.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
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");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user