[87992] trunk/dports/databases/kyotocabinet/Portfile

Jeremy Huddleston jeremyhu at apple.com
Sun Mar 25 13:31:14 PDT 2012


This commit changed the compiler from clang to llvm-gcc without any comment as to why in the Portfile nor svn changelog.

I'm guessing that you are working around this project bug.  Please don't just fall back on a compiler that ignores the bug.  Either fix the bug, or file a report upstream and reference the upstream bug report URL as a comment in the Portfile.

Thanks.

kcthread.cc:671:50: error: cannot initialize a parameter of type 'void *' with an rvalue of type 'int'
  while (!__sync_bool_compare_and_swap(&opq_, 0, 1)) {
                                                 ^
kcthread.cc:696:49: error: cannot initialize a parameter of type 'void *' with an rvalue of type 'int'
  return __sync_bool_compare_and_swap(&opq_, 0, 1);
                                                ^

On Dec 15, 2011, at 03:48, stromnov at macports.org wrote:

> Revision: 87992
>          http://trac.macports.org/changeset/87992
> Author:   stromnov at macports.org
> Date:     2011-12-15 03:48:54 -0800 (Thu, 15 Dec 2011)
> Log Message:
> -----------
> kyotocabinet: update to version 1.2.71
> 
> Modified Paths:
> --------------
>    trunk/dports/databases/kyotocabinet/Portfile
> 
> Modified: trunk/dports/databases/kyotocabinet/Portfile
> ===================================================================
> --- trunk/dports/databases/kyotocabinet/Portfile	2011-12-15 11:21:12 UTC (rev 87991)
> +++ trunk/dports/databases/kyotocabinet/Portfile	2011-12-15 11:48:54 UTC (rev 87992)
> @@ -4,7 +4,7 @@
> PortSystem          1.0
> 
> name                kyotocabinet
> -version             1.2.70
> +version             1.2.71
> revision            0
> categories          databases
> maintainers         stromnov openmaintainer
> @@ -24,9 +24,9 @@
> homepage            http://fallabs.com/${name}/
> master_sites        http://fallabs.com/${name}/pkg/
> 
> -checksums           md5     9d1366945d1d450ee5e729876b90f0eb \
> -                    sha1    58dee8ff10dbff4d9508fdcfa8d5699ef1035f74 \
> -                    rmd160  53f7383576db0553d393539a975b0df3f6bd0e96
> +checksums           md5     6cc31e90afdf1894b54e6596d3dba756 \
> +                    sha1    3616d77400e4cd3f2e64bd227c18dadb7148f462 \
> +                    rmd160  e369fdba76eccd7e9550d0bfeba0220acdb103c0
> 
> dist_subdir         ${name}/${version}_${revision}
> 
> @@ -40,6 +40,10 @@
> configure.cppflags
> configure.ldflags
> 
> +if {${configure.compiler} == "clang"} {
> +    configure.compiler llvm-gcc-4.2
> +}
> +
> configure.args      --mandir=${prefix}/share/man \
>                     --datadir=${prefix}/share/doc \
>                     --disable-lzo \
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-changes



More information about the macports-dev mailing list