sys-process/numad/files/numad-pthread.patch | 11 +++++++++++ sys-process/numad/numad-0.5.ebuild | 4 ++++ 2 files changed, 15 insertions(+) create mode 100644 sys-process/numad/files/numad-pthread.patch diff --git a/sys-process/numad/files/numad-pthread.patch b/sys-process/numad/files/numad-pthread.patch new file mode 100644 index 0000000..6813744 --- /dev/null +++ b/sys-process/numad/files/numad-pthread.patch @@ -0,0 +1,11 @@ +--- Makefile.orig 2012-09-11 08:29:18.965821127 +0200 ++++ Makefile 2012-09-11 08:29:29.391803358 +0200 +@@ -31,7 +31,7 @@ + + all: numad + +-numad: numad.o -lpthread ++numad: numad.o + + AR ?= ar + RANLIB ?= ranlib diff --git a/sys-process/numad/numad-0.5.ebuild b/sys-process/numad/numad-0.5.ebuild index 46cbd59..cc55ca9 100644 --- a/sys-process/numad/numad-0.5.ebuild +++ b/sys-process/numad/numad-0.5.ebuild @@ -37,6 +37,10 @@ src_configure() { : } +src_compile() { + emake CFLAGS="${CFLAGS} -std=gnu99" LDFLAGS="-lpthread" +} + src_install() { emake prefix="${ED}/usr" install } -- 1.8.3.2