summaryrefslogtreecommitdiff
path: root/package/oprofile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-17 21:55:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-17 21:55:49 +0100
commit15c84adca94bfe4a89ece5c04f06a884cf508ebb (patch)
tree727d3fd768a1abe75521190b90833b3a68cce4c6 /package/oprofile
parent0de5d9ecedff55481b3c1eb9c3841de17716a485 (diff)
fix packages to be compile with stack protector
- libtool do not pass -fstack-protector while linking, but this is required to successfully link libraries or executables with SSP - pass LDFLAGS for non-libtool packages
Diffstat (limited to 'package/oprofile')
-rw-r--r--package/oprofile/patches/patch-doc_oprofile_126
-rw-r--r--package/oprofile/patches/patch-ltmain_sh11
2 files changed, 11 insertions, 26 deletions
diff --git a/package/oprofile/patches/patch-doc_oprofile_1 b/package/oprofile/patches/patch-doc_oprofile_1
deleted file mode 100644
index 2694725cd..000000000
--- a/package/oprofile/patches/patch-doc_oprofile_1
+++ /dev/null
@@ -1,26 +0,0 @@
---- oprofile-0.9.6.orig/doc/oprofile.1 2009-11-24 16:26:33.000000000 +0100
-+++ oprofile-0.9.6/doc/oprofile.1 2010-07-13 17:55:07.343074887 +0200
-@@ -1,4 +1,4 @@
--.TH OPROFILE 1 "Tue 24 November 2009" "oprofile 0.9.6"
-+.TH OPROFILE 1 "Tue 13 July 2010" "oprofile 0.9.6"
- .UC 4
- .SH NAME
- oprofile \- a system-wide profiler
-@@ -153,7 +153,7 @@ Configuration files
- .I /root/.oprofile/daemonrc
- Configuration file for opcontrol
- .TP
--.I /usr/local/share/oprofile/
-+.I /usr/share/oprofile/
- Event description files used by OProfile.
- .TP
- .I /var/lib/oprofile/samples/oprofiled.log
-@@ -173,7 +173,7 @@ The location of the generated sample fil
- This man page is current for oprofile-0.9.6.
-
- .SH SEE ALSO
--.BR /usr/local/share/doc/oprofile/,
-+.BR /usr/share/doc/oprofile/,
- .BR opcontrol(1),
- .BR opreport(1),
- .BR opannotate(1),
diff --git a/package/oprofile/patches/patch-ltmain_sh b/package/oprofile/patches/patch-ltmain_sh
new file mode 100644
index 000000000..734d4fee0
--- /dev/null
+++ b/package/oprofile/patches/patch-ltmain_sh
@@ -0,0 +1,11 @@
+--- oprofile-0.9.6.orig/ltmain.sh 2008-10-01 16:41:58.000000000 +0200
++++ oprofile-0.9.6/ltmain.sh 2011-01-16 14:01:51.000000000 +0100
+@@ -1676,7 +1676,7 @@ EOF
+ # -F/path gives path to uninstalled frameworks, gcc on darwin
+ # @file GCC response files
+ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
+- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto)
+
+ # Unknown arguments in both finalize_command and compile_command need
+ # to be aesthetically quoted because they are evaled later.