rpms/numactl/devel numactl-2.0.2-clearcache-fix.patch, NONE, 1.1 numactl.spec, 1.54, 1.55
Neil Horman
nhorman at fedoraproject.org
Mon Sep 29 20:10:53 UTC 2008
- Previous message (by thread): rpms/kdesvn/F-9 kdesvn-1.0.0-asneeded.patch, NONE, 1.1 .cvsignore, 1.18, 1.19 kdesvn.spec, 1.38, 1.39 sources, 1.18, 1.19 kdesvn-0.14.1-asneeded.patch, 1.1, NONE kdesvn-0.14.1-png.patch, 1.1, NONE
- Next message (by thread): rpms/mozvoikko/devel mozvoikko.spec,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: nhorman
Update of /cvs/extras/rpms/numactl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27756
Modified Files:
numactl.spec
Added Files:
numactl-2.0.2-clearcache-fix.patch
Log Message:
Fixing build break
numactl-2.0.2-clearcache-fix.patch:
--- NEW FILE numactl-2.0.2-clearcache-fix.patch ---
diff -up numactl-2.0.2/clearcache.c.orig numactl-2.0.2/clearcache.c
--- numactl-2.0.2/clearcache.c.orig 2008-09-29 16:08:38.000000000 -0400
+++ numactl-2.0.2/clearcache.c 2008-09-29 16:08:49.000000000 -0400
@@ -57,7 +57,7 @@ void clearcache(unsigned char *mem, unsi
#if defined(__i386__) || defined(__x86_64__)
unsigned i, cl, eax, feat;
/* get clflush unit and feature */
- asm("cpuid" : "=a" (eax), "=b" (cl), "=d" (feat) : "0" (1) : "cx");
+ asm("cpuid" : "=a" (eax), "=r" (cl), "=d" (feat) : "0" (1) : "cx");
if (!(feat & (1 << 19)))
fallback_clearcache();
cl = ((cl >> 8) & 0xff) * 8;
Index: numactl.spec
===================================================================
RCS file: /cvs/extras/rpms/numactl/devel/numactl.spec,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- numactl.spec 29 Sep 2008 19:45:39 -0000 1.54
+++ numactl.spec 29 Sep 2008 20:10:23 -0000 1.55
@@ -1,13 +1,15 @@
Name: numactl
Summary: Library for tuning for Non Uniform Memory Access machines
Version: 2.0.2
-Release: 1%{dist}
+Release: 2%{dist}
License: LGPLv2/GPLv2
Group: System Environment/Base
URL: ftp://oss.sgi.com/www/projects/libnuma/download
Source0: ftp://oss.sgi.com/www/projects/libnuma/download/numactl-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-buildroot
+Patch0: numactl-2.0.2-clearcache-fix.patch
+
ExcludeArch: s390 s390x
%description
@@ -25,6 +27,7 @@
%prep
%setup -q
+%patch0 -p1
%build
make CFLAGS="$RPM_OPT_FLAGS -I. -fPIC"
@@ -69,6 +72,9 @@
%{_mandir}/man3/*.3*
%changelog
+* Mon Sep 29 2008 Neil Horman <nhorman at redhat.com> - 2.0.2-2
+- Fix build break due to register selection in asm
+
* Mon Sep 29 2008 Neil Horman <nhorman at redhat.com> - 2.0.2-1
- Update rawhide to version 2.0.2 of numactl
- Previous message (by thread): rpms/kdesvn/F-9 kdesvn-1.0.0-asneeded.patch, NONE, 1.1 .cvsignore, 1.18, 1.19 kdesvn.spec, 1.38, 1.39 sources, 1.18, 1.19 kdesvn-0.14.1-asneeded.patch, 1.1, NONE kdesvn-0.14.1-png.patch, 1.1, NONE
- Next message (by thread): rpms/mozvoikko/devel mozvoikko.spec,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list