diff options
Diffstat (limited to 'source/d/oprofile')
-rwxr-xr-x | source/d/oprofile/oprofile.SlackBuild | 3 | ||||
-rw-r--r-- | source/d/oprofile/oprofile.config.h.diff | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/source/d/oprofile/oprofile.SlackBuild b/source/d/oprofile/oprofile.SlackBuild index 8df342e3..b425e9aa 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 00000000..41c86857 --- /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" |