[MacPorts] #20373: subversion perl bindings fails to build on 10.6
MacPorts
noreply at macports.org
Thu Aug 6 09:53:58 PDT 2009
#20373: subversion perl bindings fails to build on 10.6
--------------------------------+-------------------------------------------
Reporter: epic@… | Owner: dluke@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port:
--------------------------------+-------------------------------------------
Comment(by lloyd@…):
I have a fix. Core issue is I believe this warning:
In file included from /opt/local/lib/perl5/5.8.9/darwin-
2level/CORE/perl.h:2275,
from
subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:24:
/opt/local/lib/perl5/5.8.9/darwin-2level/CORE/handy.h:85:1: warning:
"bool" redefined
In file included from /usr/include/mach-o/dyld.h:29,
from /opt/local/include/apr-1/apr_portable.h:166,
from
subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:21:
/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdbool.h:36:1: warning:
this is the location of the previous definition
system bool is being picked up by apr include, changing signature of the
function in question: svn_swig_pl_thunk_config_enumerator
fix is simply swapping include order in swiguti_pl.c attaching a patch
shortly, but here's where I'm at now:
[lth at lappro subversion-perlbindings] $ perl -e 'use SVN::Core; print
"$SVN::Core::VER_MAJOR.$SVN::Core::VER_MINOR.$SVN::Core::VER_MICRO"'
1.6.3
--
Ticket URL: <http://trac.macports.org/ticket/20373#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list