summaryrefslogtreecommitdiff
path: root/devel/libpeak/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libpeak/files')
-rw-r--r--devel/libpeak/files/patch-configure29
-rw-r--r--devel/libpeak/files/patch-peak_engine_mode_kqueue.c12
-rw-r--r--devel/libpeak/files/patch-peak_signal.c12
3 files changed, 53 insertions, 0 deletions
diff --git a/devel/libpeak/files/patch-configure b/devel/libpeak/files/patch-configure
new file mode 100644
index 000000000000..4e89d06e46cd
--- /dev/null
+++ b/devel/libpeak/files/patch-configure
@@ -0,0 +1,29 @@
+--- configure.orig 2007-05-24 15:25:29.000000000 +0200
++++ configure 2013-02-11 09:41:56.000000000 +0100
+@@ -2514,7 +2514,7 @@
+
+ cflags='-O2 -g -Wall'
+ default_includes=' -I. -I$(srcdir) -I$(top_builddir)'
+-includes='-I- -I$(top_builddir)'
++includes='-I$(top_builddir)'
+
+ case "$host" in
+ *-*-aix*)
+@@ -2661,7 +2661,7 @@
+ arch=powerpc
+ ;;
+
+- i*86-* | x86-* | x86_64-*)
++ i*86-* | x86-* | x86_64-* | amd64-*)
+ arch=x86
+ ;;
+
+@@ -22321,7 +22321,7 @@
+ ac_cv_header_stdint_x="no-file"
+ ac_cv_header_stdint_o="no-file"
+ ac_cv_header_stdint_u="no-file"
+- for i in stdint.h $inttype_headers ; do
++ for i in inttypes.h stdint.h $inttype_headers ; do
+ unset ac_cv_type_uintptr_t
+ unset ac_cv_type_uint64_t
+ { echo "$as_me:$LINENO: checking for uintptr_t" >&5
diff --git a/devel/libpeak/files/patch-peak_engine_mode_kqueue.c b/devel/libpeak/files/patch-peak_engine_mode_kqueue.c
new file mode 100644
index 000000000000..fc342f9b8fb6
--- /dev/null
+++ b/devel/libpeak/files/patch-peak_engine_mode_kqueue.c
@@ -0,0 +1,12 @@
+--- peak/engine_mod_kqueue.c.orig 2013-02-11 09:50:18.000000000 +0100
++++ peak/engine_mod_kqueue.c 2013-02-11 09:51:01.000000000 +0100
+@@ -47,6 +47,9 @@
+ #include <time.h>
+ #include <unistd.h>
+ #include <sys/event.h>
++#ifdef HAVE_SYS_SIGNAL_H
++#include <sys/signal.h>
++#endif
+ #ifdef HAVE_SIGNAL_H
+ #include <signal.h>
+ #endif
diff --git a/devel/libpeak/files/patch-peak_signal.c b/devel/libpeak/files/patch-peak_signal.c
new file mode 100644
index 000000000000..61244b2aaabd
--- /dev/null
+++ b/devel/libpeak/files/patch-peak_signal.c
@@ -0,0 +1,12 @@
+--- peak/signal.c.orig 2013-02-11 09:43:19.000000000 +0100
++++ peak/signal.c 2013-02-11 09:49:07.000000000 +0100
+@@ -45,6 +45,9 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
++#ifdef HAVE_SYS_SIGNAL_H
++#include <sys/signal.h>
++#endif
+ #ifdef HAVE_SIGNAL_H
+ #include <signal.h>
+ #endif