Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/numactl
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-09-26 18:23:45 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-09-26 18:23:45 +0200
commit936ea7238aa2601a0466560d39930ca5a8a5657c (patch)
tree196163541fd3b332099ba7d45fb44fc4a8046439 /extra/numactl
parentfdfd65b8ab768294043d02e2b12469891e4d3c2d (diff)
extra/numactl: provisoric patch for FS#60205
Diffstat (limited to 'extra/numactl')
-rw-r--r--extra/numactl/PKGBUILD8
-rw-r--r--extra/numactl/numactl-2.0.11-minor-major.patch11
2 files changed, 19 insertions, 0 deletions
diff --git a/extra/numactl/PKGBUILD b/extra/numactl/PKGBUILD
new file mode 100644
index 00000000..54510d20
--- /dev/null
+++ b/extra/numactl/PKGBUILD
@@ -0,0 +1,8 @@
+source+=('numactl-2.0.11-minor-major.patch')
+md5sums+=('ef6533742f4392431bccf935626281e5')
+sha1sums+=('791e2fc154bd3d3fa644f00775bef941943a6e59')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i ../numactl-2.0.11-minor-major.patch
+}
diff --git a/extra/numactl/numactl-2.0.11-minor-major.patch b/extra/numactl/numactl-2.0.11-minor-major.patch
new file mode 100644
index 00000000..d95e5525
--- /dev/null
+++ b/extra/numactl/numactl-2.0.11-minor-major.patch
@@ -0,0 +1,11 @@
+diff -rauN numactl-2.0.11/affinity.c numactl-2.0.11-minor-major-patch/affinity.c
+--- numactl-2.0.11/affinity.c 2015-12-10 22:24:17.000000000 +0100
++++ numactl-2.0.11-minor-major-patch/affinity.c 2018-09-26 18:17:54.138713285 +0200
+@@ -43,6 +43,7 @@
+ #include <ctype.h>
+ #include <assert.h>
+ #include <regex.h>
++#include <sys/sysmacros.h>
+ #include "numa.h"
+ #include "numaint.h"
+ #include "sysfs.h"