summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/irix-ltmain/2.2.6')
-rw-r--r--patches/irix-ltmain/2.2.630
1 files changed, 30 insertions, 0 deletions
diff --git a/patches/irix-ltmain/2.2.6 b/patches/irix-ltmain/2.2.6
new file mode 100644
index 0000000..7091637
--- /dev/null
+++ b/patches/irix-ltmain/2.2.6
@@ -0,0 +1,30 @@
+I notice that $EPREFIX/usr/share/libtool/config/ltmain.sh also has this
+stray increment - so I'd assume that this is a bug in libtool (which is
+perhaps trying to fix a deprecated behaviour of old IRIX versions?).
+
+http://bugs.gentoo.org/show_bug.cgi?id=301520
+
+
+--- ltmain.sh.dist 2010-01-19 14:04:22.101603800 +0000
++++ ltmain.sh 2010-01-19 14:08:29.361500240 +0000
+@@ -6225,7 +6225,6 @@ func_mode_link ()
+ current=$func_arith_result
+ age="$number_minor"
+ revision="$number_minor"
+- lt_irix_increment=no
+ ;;
+ esac
+ ;;
+@@ -6297,11 +6296,7 @@ func_mode_link ()
+ ;;
+
+ irix | nonstopux)
+- if test "X$lt_irix_increment" = "Xno"; then
+- func_arith $current - $age
+- else
+- func_arith $current - $age + 1
+- fi
++ func_arith $current - $age
+ major=$func_arith_result
+
+ case $version_type in