summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2012-07-26 16:14:47 +0000
committerFabian Groffen <grobian@gentoo.org>2012-07-26 16:14:47 +0000
commitfa3a9878d260b0ab05064786757582746df442d1 (patch)
treedaf291fb6fa8fbaf4ad84885c086982a333eb1cd /eclass
parentAdd missing slot dependencies on Qt. (diff)
downloadgentoo-2-fa3a9878d260b0ab05064786757582746df442d1.tar.gz
gentoo-2-fa3a9878d260b0ab05064786757582746df442d1.tar.bz2
gentoo-2-fa3a9878d260b0ab05064786757582746df442d1.zip
elt-patches: add Solaris no de-deplication patch to fix built C++ objects from aborting when an exception is thrown
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog7
-rw-r--r--eclass/ELT-patches/sol2-ltmain/2.4.211
-rw-r--r--eclass/libtool.eclass4
3 files changed, 19 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 6b0d636de680..cf4a4af07965 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for eclass directory
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.355 2012/07/26 12:53:01 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.356 2012/07/26 16:14:47 grobian Exp $
+
+ 26 Jul 2012; Fabian Groffen <grobian@gentoo.org>
+ +ELT-patches/sol2-ltmain/2.4.2, libtool.eclass:
+ elt-patches: add Solaris no de-deplication patch to fix built C++ objects
+ from aborting when an exception is thrown
26 Jul 2012; <swift@gentoo.org> selinux-policy-2.eclass:
Use warnings for SELinux failures, not errors, since the failure is not fatal
diff --git a/eclass/ELT-patches/sol2-ltmain/2.4.2 b/eclass/ELT-patches/sol2-ltmain/2.4.2
new file mode 100644
index 000000000000..ad35ed88db45
--- /dev/null
+++ b/eclass/ELT-patches/sol2-ltmain/2.4.2
@@ -0,0 +1,11 @@
+--- libltdl/config/ltmain.sh
++++ libltdl/config/ltmain.sh
+@@ -1180,7 +1180,7 @@
+ test "$opt_debug" = : || func_append preserve_args " --debug"
+
+ case $host in
+- *cygwin* | *mingw* | *pw32* | *cegcc*)
++ *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2*)
+ # don't eliminate duplications in $postdeps and $predeps
+ opt_duplicate_compiler_generated_deps=:
+ ;;
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass
index d85bdb63e882..f2af6f7ef502 100644
--- a/eclass/libtool.eclass
+++ b/eclass/libtool.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.100 2012/05/06 11:42:07 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.101 2012/07/26 16:14:47 grobian Exp $
# @ECLASS: libtool.eclass
# @MAINTAINER:
@@ -182,7 +182,7 @@ elibtoolize() {
case ${CHOST} in
*-aix*) elt_patches+=" hardcode aixrtl aix-noundef" ;; #213277
*-darwin*) elt_patches+=" darwin-ltconf darwin-ltmain darwin-conf" ;;
- *-solaris*) elt_patches+=" sol2-conf" ;;
+ *-solaris*) elt_patches+=" sol2-conf sol2-ltmain" ;;
*-freebsd*) elt_patches+=" fbsd-conf fbsd-ltconf" ;;
*-hpux*) elt_patches+=" hpux-conf deplibs hc-flag-ld hardcode hardcode-relink relink-prog no-lc" ;;
*-irix*) elt_patches+=" irix-ltmain" ;;