devel/apr1 on FreeBSD/ARM/clang

Tim Kientzle kientzle at freebsd.org
Sat May 11 18:00:59 UTC 2013


Flattered as I am that my little ARM board is being compared to a Cray, I'd much rather that devel/apr1 actually built.  ;-)

The attached patch file fixes devel/apr1 when built on FreeBSD/ARM/clang.  I have not tested it with GCC or Clang/OABI, though since this just changes the logic to use the same offsetof calculation as Linux, I presume it works on GCC as well:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-apr__include__apr_general.h
Type: application/octet-stream
Size: 356 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-apache/attachments/20130511/c627ffef/attachment.obj>
-------------- next part --------------


A more suitable patch for upstream would probably add !defined(FreeBSD) instead.

Tim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-apache/attachments/20130511/c627ffef/attachment.sig>


More information about the freebsd-apache mailing list