[23801] trunk/dports/devel/gettext

source_changes at macosforge.org source_changes at macosforge.org
Mon Apr 9 21:43:56 PDT 2007


Revision: 23801
          http://trac.macosforge.org/projects/macports/changeset/23801
Author:   ryandesign at macports.org
Date:     2007-04-09 21:43:56 -0700 (Mon, 09 Apr 2007)

Log Message:
-----------
Fix #11756: no more Crash Reporter window during configure on Intel Macs.

Modified Paths:
--------------
    trunk/dports/devel/gettext/Portfile

Added Paths:
-----------
    trunk/dports/devel/gettext/files/patch-gettext-runtime-configure.diff
    trunk/dports/devel/gettext/files/patch-gettext-tools-configure.diff

Modified: trunk/dports/devel/gettext/Portfile
===================================================================
--- trunk/dports/devel/gettext/Portfile	2007-04-10 04:34:31 UTC (rev 23800)
+++ trunk/dports/devel/gettext/Portfile	2007-04-10 04:43:56 UTC (rev 23801)
@@ -22,7 +22,13 @@
 		sha1 8642f4346dfd6a18ecd883329e150bfe9e0886c3 \
 		rmd160 0fa96b2d005e2490e8603a0a3612041086d5aea1
 
-patchfiles	patch-gettext-tools-Makefile.in
+# Patching gettext-runtime/configure and gettext-tools/configure fixes
+# bug #11756 and it should be possible to remove this in a future version
+# of gettext, maybe as soon as 0.16.2.
+patchfiles \
+	patch-gettext-runtime-configure.diff \
+	patch-gettext-tools-configure.diff \
+	patch-gettext-tools-Makefile.in
 
 configure.env	LIBS="-L${prefix}/lib" LDFLAGS="-L${prefix}/lib" \
 		CPPFLAGS="-I${prefix}/include -no-cpp-precomp"

Added: trunk/dports/devel/gettext/files/patch-gettext-runtime-configure.diff
===================================================================
--- trunk/dports/devel/gettext/files/patch-gettext-runtime-configure.diff	                        (rev 0)
+++ trunk/dports/devel/gettext/files/patch-gettext-runtime-configure.diff	2007-04-10 04:43:56 UTC (rev 23801)
@@ -0,0 +1,30 @@
+--- gettext-runtime/configure	2007-04-07 02:56:47.000000000 -0500
++++ gettext-runtime/configure	2007-04-07 02:57:14.000000000 -0500
+@@ -22374,6 +22374,19 @@
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
++      gt_cv_int_divbyzero_sigfpe=
++      case "$host_os" in
++        macos* | darwin[6-9]* | darwin[1-9][0-9]*)
++          # On MacOS X 10.2 or newer, just assume the same as when cross-
++          # compiling. If we were to perform the real test, 1 Crash Report
++          # dialog window would pop up.
++          case "$host_cpu" in
++            i[34567]86 | x86_64)
++              gt_cv_int_divbyzero_sigfpe="guessing yes" ;;
++          esac
++          ;;
++      esac
++      if test -z "$gt_cv_int_divbyzero_sigfpe"; then
+       if test "$cross_compiling" = yes; then
+ 
+           # Guess based on the CPU.
+@@ -22462,6 +22475,7 @@
+ fi
+ 
+ 
++      fi
+ 
+ fi
+ { echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5

Added: trunk/dports/devel/gettext/files/patch-gettext-tools-configure.diff
===================================================================
--- trunk/dports/devel/gettext/files/patch-gettext-tools-configure.diff	                        (rev 0)
+++ trunk/dports/devel/gettext/files/patch-gettext-tools-configure.diff	2007-04-10 04:43:56 UTC (rev 23801)
@@ -0,0 +1,30 @@
+--- gettext-tools/configure	2007-04-07 02:57:25.000000000 -0500
++++ gettext-tools/configure	2007-04-07 02:57:51.000000000 -0500
+@@ -23076,6 +23076,19 @@
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
++      gt_cv_int_divbyzero_sigfpe=
++      case "$host_os" in
++        macos* | darwin[6-9]* | darwin[1-9][0-9]*)
++          # On MacOS X 10.2 or newer, just assume the same as when cross-
++          # compiling. If we were to perform the real test, 1 Crash Report
++          # dialog window would pop up.
++          case "$host_cpu" in
++            i[34567]86 | x86_64)
++              gt_cv_int_divbyzero_sigfpe="guessing yes" ;;
++          esac
++          ;;
++      esac
++      if test -z "$gt_cv_int_divbyzero_sigfpe"; then
+       if test "$cross_compiling" = yes; then
+ 
+           # Guess based on the CPU.
+@@ -23164,6 +23177,7 @@
+ fi
+ 
+ 
++      fi
+ 
+ fi
+ { echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070409/b6d65cef/attachment.html


More information about the macports-changes mailing list