pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: x11/openmotif weak aliases build error on Darwin with clang

On 9/8/13 2:27 AM, Ryo ONODERA wrote:
> From: "J. Lewis Muir" <>, Date: Sat, 07 Sep 2013 
> 08:24:14 -0500
>> On 9/6/13 7:13 PM, Ryo ONODERA wrote:
>>> Hi,
>>> From: "J. Lewis Muir" <>, Date: Thu, 05 Sep 
>>> 2013 16:08:48 -0500
>>>> The x11/openmotif package fails to build for me on Darwin (Mac OS X
>>>> 10.8.4) using clang (Apple LLVM version 4.2 (clang-425.0.28) (based on
>>>> LLVM 3.2svn)).  It is failing because clang does not support weak
>>>> aliases.
>>>> I've created an upstream bug report at
>>>> The bug report includes patches to fix the problem.  The fix is to add a
>>>> weak-aliases-support test to Autoconf to test whether the compiler
>>>> supports weak aliases.
>>>> I've created similar patches against the pkgsrc package and attached
>>>> them to this email.  distinfo.patch is a patch against the distinfo file
>>>> to make it aware of the new patch files.  The patch-* files should be
>>>> placed in the patches directory of the package.
>>>> Could these changes be committed to the pkgsrc tree?
>>> How about x11/motif?
>>> x11/motif is newer than x11/openmotif, and x11/motif is released under LGPL,
>>> that is open source (openmotif is not open source software).
>>> And x11/motif is default motif of OS X/Darwin.
>> Hi, Ryo.
>> Well, I didn't know any of that.  I'm happy to try x11/motif.  Thanks
>> for the suggestion.
>> Unfortunately, I just tried x11/motif, and it has the same weak aliases
>> problem as x11/openmotif, so I'll need to get a patch set worked up for
>> it (unless you or someone else wants to do it).
> Hi,
> I have committed your patches to pkgsrc/x11/motif.
> pkgsrc/x11/motif is built on my OS X 10.8.4 with clang.
> Please cvs update -dP and try again.

Hi, Ryo.

Bingo!  That worked.  Thanks!


Home | Main Index | Thread Index | Old Index