summaryrefslogtreecommitdiffstats
path: root/source/d/oprofile
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/oprofile')
-rwxr-xr-xsource/d/oprofile/oprofile.SlackBuild3
-rw-r--r--source/d/oprofile/oprofile.config.h.diff22
2 files changed, 24 insertions, 1 deletions
diff --git a/source/d/oprofile/oprofile.SlackBuild b/source/d/oprofile/oprofile.SlackBuild
index 8df342e3e..b425e9aa0 100755
--- a/source/d/oprofile/oprofile.SlackBuild
+++ b/source/d/oprofile/oprofile.SlackBuild
@@ -22,7 +22,7 @@
VERSION=${VERSION:-$(echo oprofile-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
NUMJOBS=${NUMJOBS:-" -j7 "}
@@ -65,6 +65,7 @@ tar xvf $CWD/oprofile-$VERSION.tar.?z* || exit 1
cd oprofile-$VERSION
zcat $CWD/oprofile.binutils.diff.gz | patch -p1 --verbose || exit 1
+zcat $CWD/oprofile.config.h.diff.gz | patch -p1 --verbose || exit 1
./autogen.sh
diff --git a/source/d/oprofile/oprofile.config.h.diff b/source/d/oprofile/oprofile.config.h.diff
new file mode 100644
index 000000000..41c868572
--- /dev/null
+++ b/source/d/oprofile/oprofile.config.h.diff
@@ -0,0 +1,22 @@
+--- ./libutil++/bfd_spu_support.cpp.orig 2011-07-04 21:25:04.000000000 -0500
++++ ./libutil++/bfd_spu_support.cpp 2012-12-20 18:42:01.400977322 -0600
+@@ -9,6 +9,8 @@
+ * (C) Copyright IBM Corporation 2007
+ */
+
++#include "config.h"
++
+ #include "bfd_support.h"
+ #include "op_bfd.h"
+ #include "config.h"
+--- ./libutil++/bfd_support.cpp.orig 2011-07-04 21:25:04.000000000 -0500
++++ ./libutil++/bfd_support.cpp 2012-12-20 18:41:31.160978289 -0600
+@@ -8,6 +8,8 @@
+ * @author John Levon
+ */
+
++#include "config.h"
++
+ #include "bfd_support.h"
+
+ #include "op_bfd.h"