From 936ea7238aa2601a0466560d39930ca5a8a5657c Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 26 Sep 2018 18:23:45 +0200 Subject: extra/numactl: provisoric patch for FS#60205 --- extra/doxygen/PKGBUILD | 23 +++++++++++++++++++++++ extra/numactl/PKGBUILD | 8 ++++++++ extra/numactl/numactl-2.0.11-minor-major.patch | 11 +++++++++++ 3 files changed, 42 insertions(+) create mode 100644 extra/doxygen/PKGBUILD create mode 100644 extra/numactl/PKGBUILD create mode 100644 extra/numactl/numactl-2.0.11-minor-major.patch diff --git a/extra/doxygen/PKGBUILD b/extra/doxygen/PKGBUILD new file mode 100644 index 00000000..9152a88c --- /dev/null +++ b/extra/doxygen/PKGBUILD @@ -0,0 +1,23 @@ +if [ "${CARCH}" = "i486" ]; then + # no qt5 + makedepends=(${makedepends[@]//qt5-base/}) + + # no TeX + makedepends=(${makedepends[@]//texlive-core/}) + makedepends=(${makedepends[@]//texlive-latexextra/}) + + # no Graphviz + makedepends=(${makedepends[@]//graphviz/}) + + # no ghostscript + makedepends=(${makedepends[@]//ghostscript/}) + + eval "$( + declare -f build | \ + sed ' + /make docs/d + s|-Dbuild_doc:BOOL=ON|-Dbuild_doc:BOOL=OFF| + s|-Dbuild_wizard:BOOL=ON|-Dbuild_wizard:BOOL=OFF| + ' + )" +fi 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 + #include + #include ++#include + #include "numa.h" + #include "numaint.h" + #include "sysfs.h" -- cgit v1.2.3-70-g09d2