[94640] trunk/dports/comms/libinfinity/Portfile

cal at macports.org cal at macports.org
Mon Jun 25 13:01:54 PDT 2012


Revision: 94640
          https://trac.macports.org/changeset/94640
Author:   cal at macports.org
Date:     2012-06-25 13:01:54 -0700 (Mon, 25 Jun 2012)
Log Message:
-----------
libinfinity: Update to 0.5.2, use llvm-gcc-4.2

libinfinity source uses g_return_if_fail in functions that should return
a value. clang correctly errors on this.

Modified Paths:
--------------
    trunk/dports/comms/libinfinity/Portfile

Modified: trunk/dports/comms/libinfinity/Portfile
===================================================================
--- trunk/dports/comms/libinfinity/Portfile	2012-06-25 19:18:52 UTC (rev 94639)
+++ trunk/dports/comms/libinfinity/Portfile	2012-06-25 20:01:54 UTC (rev 94640)
@@ -4,7 +4,7 @@
 PortSystem 1.0
 
 name            libinfinity
-version         0.5.1
+version         0.5.2
 description     libinfinity is an implementation of the Infinote protocol written in GObject-based C.
 long_description ${description}
 maintainers     phw openmaintainer
@@ -14,8 +14,8 @@
 homepage        http://gobby.0x539.de/trac/wiki/Infinote/Libinfinity
 master_sites    http://releases.0x539.de/libinfinity/
 
-checksums       rmd160  12d57cbb12f961bea842a47bae9b7a83ea2f085b \
-                sha256  783071349fc6e08e2af6564bc46b3d4a44122991c9330b26553e01bcc42cb573
+checksums       rmd160  ba5440f0864711944770d67b25ca1a8307072efa \
+                sha256  940c9a4c5ab5925020bac48bd54295cdd1ae3bef7035191da95495ecc9daee9a
 
 depends_build   port:pkgconfig
 
@@ -25,6 +25,11 @@
                 port:gnutls \
                 port:libgsasl
 
+if {${configure.compiler} == "clang"} {
+    # libinfinity doesn't build with clang because some functions use g_return_if_fail() where they should use g_return_val_if_fail()
+    configure.compiler llvm-gcc-4.2
+}
+
 # /usr/bin/ranlib: library member: libinftestutil.a(libinfinity-0.5.la) is not an object file (not allowed in a library with multiple architectures)
 universal_variant no
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120625/7734b15d/attachment-0001.html>


More information about the macports-changes mailing list