forked from pool/hxtools
Accepting request 80174 from devel:libraries:c_c++
Fix build: clone needs _GNU_SOURCE defined to be visible (forwarded request 80169 from a_jaeger) OBS-URL: https://build.opensuse.org/request/show/80174 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hxtools?expand=0&rev=8
This commit is contained in:
parent
9f6136cfa4
commit
748824ac12
12
hxtools-fix-clone.patch
Normal file
12
hxtools-fix-clone.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: hxtools-20110721/sadmin/newns.c
|
||||||
|
===================================================================
|
||||||
|
--- hxtools-20110721.orig/sadmin/newns.c
|
||||||
|
+++ hxtools-20110721/sadmin/newns.c
|
||||||
|
@@ -2,6 +2,7 @@
|
||||||
|
* newns - start a new mount namespace
|
||||||
|
* released in the Public Domain
|
||||||
|
*/
|
||||||
|
+#define _GNU_SOURCE 1
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/wait.h>
|
||||||
|
#include <sched.h>
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 29 11:31:52 UTC 2011 - aj@suse.de
|
||||||
|
|
||||||
|
- clone needs _GNU_SOURCE defined to be visible (patch
|
||||||
|
hxtools-fix-clone.patch)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 21 14:52:09 UTC 2011 - jengelh@medozas.de
|
Thu Jul 21 14:52:09 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ Summary: Collection of day-to-day tools (binaries)
|
|||||||
|
|
||||||
Source: %name-%version.tar.xz
|
Source: %name-%version.tar.xz
|
||||||
Source2: %name-%version.tar.xz.asc
|
Source2: %name-%version.tar.xz.asc
|
||||||
|
Patch1: hxtools-fix-clone.patch
|
||||||
License: GPL,PD
|
License: GPL,PD
|
||||||
# freetype2, xorg-x11 for "bdftopcf"
|
# freetype2, xorg-x11 for "bdftopcf"
|
||||||
BuildRequires: freetype2 libHX-devel >= 3.4 libcap-devel
|
BuildRequires: freetype2 libHX-devel >= 3.4 libcap-devel
|
||||||
@ -119,6 +120,7 @@ only important parts of a path.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user