numactl: update to 2.0.11.
This commit is contained in:
parent
87f4ca9fb1
commit
c38816c595
2 changed files with 20 additions and 4 deletions
16
srcpkgs/numactl/patches/hardening.patch
Normal file
16
srcpkgs/numactl/patches/hardening.patch
Normal file
|
@ -0,0 +1,16 @@
|
|||
--- Makefile.am.orig 2015-12-12 07:25:52.299910471 +0100
|
||||
+++ Makefile.am 2015-12-12 07:26:15.027143050 +0100
|
||||
@@ -23,11 +23,11 @@ numastat_CFLAGS = $(AM_CFLAGS) -std=gnu9
|
||||
|
||||
numademo_SOURCES = numademo.c stream_lib.c stream_lib.h mt.c mt.h clearcache.c clearcache.h
|
||||
numademo_CPPFLAGS = $(AM_CPPFLAGS) -DHAVE_STREAM_LIB -DHAVE_MT -DHAVE_CLEAR_CACHE
|
||||
-numademo_CFLAGS = -O3 -ffast-math -funroll-loops
|
||||
+numademo_CFLAGS = $(AM_CFLAGS) -O3 -ffast-math -funroll-loops
|
||||
if HAVE_TREE_VECTORIZE
|
||||
numademo_CFLAGS += -ftree-vectorize
|
||||
endif
|
||||
-numademo_LDADD = libnuma.la -lm
|
||||
+numademo_LDADD = libnuma.la -lm $(AM_LDFLAGS)
|
||||
|
||||
migratepages_SOURCES = migratepages.c util.c
|
||||
migratepages_LDADD = libnuma.la
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'numactl'
|
||||
pkgname=numactl
|
||||
version=2.0.10
|
||||
revision=4
|
||||
version=2.0.11
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake libtool"
|
||||
short_desc="Simple NUMA policy support"
|
||||
|
@ -9,11 +9,11 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|||
license="LGPL-2.1"
|
||||
homepage="http://oss.sgi.com/projects/libnuma/"
|
||||
distfiles="ftp://oss.sgi.com/www/projects/libnuma/download/${pkgname}-${version}.tar.gz"
|
||||
checksum=dbdac8fe74f13b2e2864bba352f1597ab1d3345c8c485d7805f58d66f414db61
|
||||
checksum=450c091235f891ee874a8651b179c30f57a1391ca5c4673354740ba65e527861
|
||||
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
||||
|
||||
pre_configure() {
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
autoreconf -fi
|
||||
}
|
||||
post_install() {
|
||||
rm -r ${DESTDIR}/usr/share/man/man2
|
||||
|
|
Loading…
Reference in a new issue