[111430] trunk/dports/devel/libut

jmr at macports.org jmr at macports.org
Sat Sep 21 06:54:13 PDT 2013


Revision: 111430
          https://trac.macports.org/changeset/111430
Author:   jmr at macports.org
Date:     2013-09-21 06:54:13 -0700 (Sat, 21 Sep 2013)
Log Message:
-----------
libut: fix broken configure check for va_copy

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

Added Paths:
-----------
    trunk/dports/devel/libut/files/
    trunk/dports/devel/libut/files/configure.patch

Modified: trunk/dports/devel/libut/Portfile
===================================================================
--- trunk/dports/devel/libut/Portfile	2013-09-21 12:58:05 UTC (rev 111429)
+++ trunk/dports/devel/libut/Portfile	2013-09-21 13:54:13 UTC (rev 111430)
@@ -24,6 +24,9 @@
 
 use_bzip2           yes
 
+# misuse of AC_TRY_LINK produces broken code
+patchfiles          configure.patch
+
 configure.args      --mandir=${prefix}/share/man
 
 post-destroot {

Added: trunk/dports/devel/libut/files/configure.patch
===================================================================
--- trunk/dports/devel/libut/files/configure.patch	                        (rev 0)
+++ trunk/dports/devel/libut/files/configure.patch	2013-09-21 13:54:13 UTC (rev 111430)
@@ -0,0 +1,22 @@
+--- configure.orig	2005-11-10 17:54:23.000000000 +1100
++++ configure	2013-09-21 23:51:15.000000000 +1000
+@@ -4114,9 +4114,6 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h.  */
+ #include <stdarg.h>
+-int
+-main ()
+-{
+ int test_va(int i, ...) {
+     va_list ap,ac;
+     int j=0;
+@@ -4133,9 +4130,6 @@
+ int main(int argc,char**argv) {
+     exit( (test_va(1,2) == 2) ? 0 : -1);
+ }
+-  ;
+-  return 0;
+-}
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130921/a7387f5c/attachment.html>


More information about the macports-changes mailing list