Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/numactl: bump version to 2.0.11, add hash
@ 2016-01-30  9:18 Bernd Kuhls
  2016-01-30  9:18 ` [Buildroot] [PATCH 2/2] package/numactl: fix musl build Bernd Kuhls
  2016-02-07 18:17 ` [Buildroot] [PATCH 1/2] package/numactl: bump version to 2.0.11, add hash Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Bernd Kuhls @ 2016-01-30  9:18 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/numactl/numactl.hash | 2 ++
 package/numactl/numactl.mk   | 5 +----
 2 files changed, 3 insertions(+), 4 deletions(-)
 create mode 100644 package/numactl/numactl.hash

diff --git a/package/numactl/numactl.hash b/package/numactl/numactl.hash
new file mode 100644
index 0000000..c36e24d
--- /dev/null
+++ b/package/numactl/numactl.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	450c091235f891ee874a8651b179c30f57a1391ca5c4673354740ba65e527861	numactl-2.0.11.tar.gz
diff --git a/package/numactl/numactl.mk b/package/numactl/numactl.mk
index c9ea945..6e1d5e3 100644
--- a/package/numactl/numactl.mk
+++ b/package/numactl/numactl.mk
@@ -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))
-- 
2.7.0.rc3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] package/numactl: fix musl build
  2016-01-30  9:18 [Buildroot] [PATCH 1/2] package/numactl: bump version to 2.0.11, add hash Bernd Kuhls
@ 2016-01-30  9:18 ` Bernd Kuhls
  2016-02-07 18:18   ` Thomas Petazzoni
  2016-02-07 18:17 ` [Buildroot] [PATCH 1/2] package/numactl: bump version to 2.0.11, add hash Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Bernd Kuhls @ 2016-01-30  9:18 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/numactl/0001-musl.patch | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 package/numactl/0001-musl.patch

diff --git a/package/numactl/0001-musl.patch b/package/numactl/0001-musl.patch
new file mode 100644
index 0000000..1c9bf9e
--- /dev/null
+++ b/package/numactl/0001-musl.patch
@@ -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 <bernd.kuhls@t-online.de>
+
+
+__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. */
-- 
2.7.0.rc3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/2] package/numactl: bump version to 2.0.11, add hash
  2016-01-30  9:18 [Buildroot] [PATCH 1/2] package/numactl: bump version to 2.0.11, add hash Bernd Kuhls
  2016-01-30  9:18 ` [Buildroot] [PATCH 2/2] package/numactl: fix musl build Bernd Kuhls
@ 2016-02-07 18:17 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-02-07 18:17 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Sat, 30 Jan 2016 10:18:09 +0100, Bernd Kuhls wrote:
> The tarball contains a working configure script, therefore removed
> autoreconf.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] package/numactl: fix musl build
  2016-01-30  9:18 ` [Buildroot] [PATCH 2/2] package/numactl: fix musl build Bernd Kuhls
@ 2016-02-07 18:18   ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-02-07 18:18 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Sat, 30 Jan 2016 10:18:10 +0100, Bernd Kuhls wrote:
> Fixes
> http://autobuild.buildroot.net/results/355/3555cd0abe68b6f0e2b2089af5ce26dbc4c73df6/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-07 18:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-30  9:18 [Buildroot] [PATCH 1/2] package/numactl: bump version to 2.0.11, add hash Bernd Kuhls
2016-01-30  9:18 ` [Buildroot] [PATCH 2/2] package/numactl: fix musl build Bernd Kuhls
2016-02-07 18:18   ` Thomas Petazzoni
2016-02-07 18:17 ` [Buildroot] [PATCH 1/2] package/numactl: bump version to 2.0.11, add hash Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox