[PATCH] www/webkit-gtk2: enable build on sparc64

Rafael Ostertag rafi at guengel.ch
Tue Sep 10 11:27:36 UTC 2013


Hi guys

Apparently, building webkit-gtk2 on sparc64 fails mainly due to missing
atomicIncrement()/atomicDecrement() for sparc64 (see
Source/JavaScriptCore/wtf/Atomics.h). 

The attached patch provides atomicIncrement()/atomicDecrement() for
sparc64 and sets `--disable-optimizations' and
`--disable-introspection' in the ports Makefile in order to build
webkit sucessfully. `--disable-optimizations' is used in order to
prevent the build from dying due to invalid assembly code generated by
gcc (on FB9.1 at least). `--disable-introspection' is used because
generating introspection segfaulted on sparc.

The patch has been created according to the FreeBSD Porter's Handbook,
so you should have no difficulties in applying it.

Patch Summary
=============

New Files
---------
files/patch-Source-JavaScriptCore-wtf-Atomics.h

Updated Files
-------------
Makefile


cheers
rafi
-- 
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+

  Rafael Ostertag
  Niederwilerstrasse 2
  CH-8546 Kefikon
  Switzerland

  Phone:  +41 56 534 1649
  Mail:   rafi at guengel.ch
  Web:    www.guengel.ch
  ICQ#:   225700135

+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webkit-gtk2.patch
Type: text/x-diff
Size: 2938 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20130910/cb62c670/attachment.patch>


More information about the freebsd-gnome mailing list