Skip to contentSkip to conversation

package/numactl: bump version to 2.0.11, add hash

PATCH New Bernd Kuhls 2 participants 4 messages Jan 30, 2016 – Feb 7, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/numactl: bump version to 2.0.11, add hash

The tarball contains a working configure script, therefore removed autoreconf.

---
 package/numactl/numactl.hash | 2 ++
 package/numactl/numactl.mk   | 5 +----
 2 files changed, 3 insertions(+), 4 deletions(-)
 create mode 100644 package/numactl/numactl.hash
package/numactl/numactl.hash new file +2 -0
new file mode 100644
index 0000000..c36e24d
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	450c091235f891ee874a8651b179c30f57a1391ca5c4673354740ba65e527861	numactl-2.0.11.tar.gz
package/numactl/numactl.mk +1 -4
index c9ea945..6e1d5e3 100644
@@ -4,13 +4,10 @@
 #
 ################################################################################
 
-NUMACTL_VERSION = 2.0.10
+NUMACTL_VERSION = 2.0.11
 NUMACTL_SITE = ftp://oss.sgi.com/www/projects/libnuma/download
 NUMACTL_LICENSE = LGPLv2.1 (libnuma), GPLv2 (programs)
 NUMACTL_LICENSE_FILES = README
 NUMACTL_INSTALL_STAGING = YES
 
-# numactl tarball doesn't contain a pregenerated configure script.
-NUMACTL_AUTORECONF = YES
-
 $(eval $(autotools-package))
Signature · 1 line
2.7.0.rc3
#1 lore raw

PATCH 2/2 package/numactl: fix musl build

Fixes
http://autobuild.buildroot.net/results/355/3555cd0abe68b6f0e2b2089af5ce26dbc4c73df6/

---
 package/numactl/0001-musl.patch | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 package/numactl/0001-musl.patch
package/numactl/0001-musl.patch new file +32 -0
new file mode 100644
index 0000000..1c9bf9e
@@ -0,0 +1,32 @@
+Fix musl build
+
+Downloaded from
+https://github.com/voidlinux/void-packages/blob/master/srcpkgs/numactl/patches/musl.patch
+and adjusted path
+
+Signed-off-by: Bernd Kuhls <[email protected]>
+
+
+__GLIBC_PREREQ is only defined with glibc, so that only process it with __GLIBC__.
+
+--- a/syscall.c.orig	2014-10-20 16:12:53.000000000 +0200
++++ b/syscall.c	2015-06-22 08:13:22.729034702 +0200
+@@ -115,14 +115,16 @@
+ 
+ #endif
+ 
+-#if defined(__GLIBC__) && __GLIBC_PREREQ(2, 11)
++#if defined(__GLIBC__)
++# if __GLIBC_PREREQ(2,11)
+ 
+ /* glibc 2.11 seems to have working 6 argument sycall. Use the
+    glibc supplied syscall in this case.
+    The version cut-off is rather arbitary and could be probably
+    earlier. */
+ 
+-#define syscall6 syscall
++#  define syscall6 syscall
++#endif
+ #elif defined(__x86_64__)
+ /* 6 argument calls on x86-64 are often buggy in both glibc and
+    asm/unistd.h. Add a working version here. */
Signature · 1 line
2.7.0.rc3
#2 lore raw

PATCH 2/2 package/numactl: fix musl build

Dear Bernd Kuhls,

Quoted 8 lines · Bernd Kuhls

Fixes
http://autobuild.buildroot.net/results/355/3555cd0abe68b6f0e2b2089af5ce26dbc4c73df6/

---
 package/numactl/0001-musl.patch | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 package/numactl/0001-musl.patch

I've applied after renaming the patch, and improving its description.

See:

https://git.busybox.net/buildroot/commit/?id=21ed7a92fe5a771911ef06f97522e504d0eebbc2

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH 1/2 package/numactl: bump version to 2.0.11, add hash

In reply to Bernd Kuhls

Dear Bernd Kuhls,

Quoted 9 lines · Bernd Kuhls

The tarball contains a working configure script, therefore removed autoreconf.

---
 package/numactl/numactl.hash | 2 ++
 package/numactl/numactl.mk   | 5 +----
 2 files changed, 3 insertions(+), 4 deletions(-)
 create mode 100644 package/numactl/numactl.hash

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com