forked from pool/numactl
Accepting request 282152 from home:trenn:branches:Base:System
- Make latest factory version build against SLE11 as well OBS-URL: https://build.opensuse.org/request/show/282152 OBS-URL: https://build.opensuse.org/package/show/Base:System/numactl?expand=0&rev=54
This commit is contained in:
parent
3da0fecefb
commit
49201d18a2
@ -8,11 +8,11 @@ Subject: [PATCH] Fixed segfault when no node could be found in sysfs
|
|||||||
distance.c | 15 ++++++---------
|
distance.c | 15 ++++++---------
|
||||||
1 file changed, 6 insertions(+), 9 deletions(-)
|
1 file changed, 6 insertions(+), 9 deletions(-)
|
||||||
|
|
||||||
diff --git a/distance.c b/distance.c
|
Index: numactl-2.0.10/distance.c
|
||||||
index 4a26972..5db7fe2 100755
|
===================================================================
|
||||||
--- a/distance.c
|
--- numactl-2.0.10.orig/distance.c 2014-10-03 22:49:11.000000000 +0200
|
||||||
+++ b/distance.c
|
+++ numactl-2.0.10/distance.c 2015-01-20 19:07:43.397202100 +0100
|
||||||
@@ -58,19 +58,16 @@ static int read_distance_table(void)
|
@@ -58,19 +58,16 @@
|
||||||
int *table = NULL;
|
int *table = NULL;
|
||||||
int err = -1;
|
int err = -1;
|
||||||
|
|
||||||
@ -38,6 +38,3 @@ index 4a26972..5db7fe2 100755
|
|||||||
len = getdelim(&line, &linelen, '\n', dfh);
|
len = getdelim(&line, &linelen, '\n', dfh);
|
||||||
fclose(dfh);
|
fclose(dfh);
|
||||||
if (len <= 0)
|
if (len <= 0)
|
||||||
--
|
|
||||||
1.8.1.4
|
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 20 19:04:49 UTC 2015 - trenn@suse.de
|
||||||
|
|
||||||
|
- Make latest factory version build against SLE11 as well
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 27 07:35:32 UTC 2014 - meissner@suse.com
|
Thu Nov 27 07:35:32 UTC 2014 - meissner@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package numactl
|
# spec file for package numactl
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -31,8 +31,10 @@ Patch0: revert_date_in_numastat.patch
|
|||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||||
Patch1: 0001-Fixed-segfault-when-no-node-could-be-found-in-sysfs-.patch
|
Patch1: 0001-Fixed-segfault-when-no-node-could-be-found-in-sysfs-.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%if 0%{?suse_version} > 1110
|
||||||
BuildRequires: autoconf >= 2.64
|
BuildRequires: autoconf >= 2.64
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
|
%endif
|
||||||
Requires: perl
|
Requires: perl
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -64,7 +66,9 @@ individual NUMA policy in applications.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if 0%{?suse_version} > 1110
|
||||||
autoconf
|
autoconf
|
||||||
|
%endif
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user