Bug 160538

Summary: [clang] www/webkit-gtk2 build failure
Product: Ports & Packages Reporter: Rene Ladan <rene>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch-PluginViewGtk.cpp none

Description Rene Ladan freebsd_committer freebsd_triage 2011-09-07 09:50:09 UTC
when setting CC=clang CXX=clang++ CPP=clang -E and building www/webkit-gtk2 (version 1.4.2_1), it fails with:

  CXX    Source/WebCore/platform/text/libwebkitgtk_1_0_la-TextCodecICU.lo
In file included from Source/WebCore/plugins/gtk/PluginViewGtk.cpp:72:
In file included from Source/WebCore/plugins/gtk/gtk2xtbin.h:47:
/usr/local/include/X11/Intrinsic.h:66:15: error: typedef redefinition with
      different types ('char *' vs 'WTF::String')
typedef char *String;
              ^
./Source/JavaScriptCore/wtf/text/WTFString.h:87:7: note: previous definition is
      here
class String {
      ^
  CXX    Source/WebCore/platform/text/libwebkitgtk_1_0_la-TextBreakIteratorICU.lo
1 warning and 1 error generated.

Fix: 

not yet known.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-09-07 09:50:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Andrei Lavreniyuk 2011-10-12 12:01:23 UTC
Hi!


Please view patch.

---
Best regards, Andrei Lavreniyuk.
Comment 3 Koop Mast freebsd_committer freebsd_triage 2011-10-14 17:10:13 UTC
State Changed
From-To: open->closed

Committed thanks!