[120161] trunk/dports/lang/qore

davidnichols at macports.org davidnichols at macports.org
Sat May 17 08:26:05 PDT 2014


Revision: 120161
          https://trac.macports.org/changeset/120161
Author:   davidnichols at macports.org
Date:     2014-05-17 08:26:05 -0700 (Sat, 17 May 2014)
Log Message:
-----------
updated revision to 1, included patches for compiling on Mavericks with XCode 5.1, cannot use -Wl,-x in link anymore since Apple LLVM 5.1 will fail with optimization enabled

Modified Paths:
--------------
    trunk/dports/lang/qore/Portfile

Added Paths:
-----------
    trunk/dports/lang/qore/files/patch-configure.diff
    trunk/dports/lang/qore/files/patch-lib-QoreObject.cpp.diff

Modified: trunk/dports/lang/qore/Portfile
===================================================================
--- trunk/dports/lang/qore/Portfile	2014-05-17 15:00:01 UTC (rev 120160)
+++ trunk/dports/lang/qore/Portfile	2014-05-17 15:26:05 UTC (rev 120161)
@@ -5,7 +5,7 @@
 
 name                qore
 version             0.8.9
-revision            0
+revision            1
 categories          lang
 license             {LGPL-2.1 MIT}
 maintainers         davidnichols
@@ -37,3 +37,5 @@
 
 # the autoconf check for iconv() in libiconv fails with GNU iconv, but we need it, so we turn it on anyway
 configure.ldflags   -liconv
+
+patchfiles          patch-configure.diff patch-lib-QoreObject.cpp.diff

Added: trunk/dports/lang/qore/files/patch-configure.diff
===================================================================
--- trunk/dports/lang/qore/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/lang/qore/files/patch-configure.diff	2014-05-17 15:26:05 UTC (rev 120161)
@@ -0,0 +1,17 @@
+--- configure.orig	2014-05-17 16:53:52.000000000 +0200
++++ configure	2014-05-17 16:54:11.000000000 +0200
+@@ -21980,14 +21980,6 @@
+     fi
+ fi
+ 
+-# turn on some build flags for non-debugging, non-profiling builds
+-if test "$enable_debug" = "no" -a "$enable_profile" = "no" -a "$enable_optimization" = "yes" ; then
+-    # strip binaries and libraries on darwin with -x
+-    if test "`echo $host_os|cut -b-6`" = "darwin"; then
+-       LDFLAGS="$LDFLAGS -Wl,-x"
+-    fi
+-fi
+-
+ # check compiler settings
+ # 1: turn on all warnings if we know how
+ # 2: make sure compiler settings are correct for assembly if we need it

Added: trunk/dports/lang/qore/files/patch-lib-QoreObject.cpp.diff
===================================================================
--- trunk/dports/lang/qore/files/patch-lib-QoreObject.cpp.diff	                        (rev 0)
+++ trunk/dports/lang/qore/files/patch-lib-QoreObject.cpp.diff	2014-05-17 15:26:05 UTC (rev 120161)
@@ -0,0 +1,11 @@
+--- lib/QoreObject.cpp.orig	2014-05-17 15:37:03.000000000 +0200
++++ lib/QoreObject.cpp	2014-05-17 15:37:13.000000000 +0200
+@@ -1388,7 +1388,7 @@
+ 	    printd(QRO_LVL, "ObjectRSet::canDelete() this: %p cannot delete graph obj %p '%s' rcount: %d refs: %d\n", this, *i, (*i)->getClassName(), (*i)->priv->rcount, (*i)->references);
+ 	    return 0;
+ 	 }
+-	 if (!(*i)->priv->status == OS_OK || (*i)->priv->in_destructor) {
++	 if ((*i)->priv->status != OS_OK || (*i)->priv->in_destructor) {
+ 	    printd(QRO_LVL, "ObjectRSet::canDelete() this: %p cannot delete graph obj %p '%s' status: %d in_destructor: %d\n", this, *i, (*i)->getClassName(), (*i)->priv->status, (*i)->priv->in_destructor);
+ 	    return 0;
+ 	 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140517/60f3de59/attachment-0001.html>


More information about the macports-changes mailing list