[MacPorts] #34902: qt4-mac 4.8.2: build fails on 10.5.8

MacPorts noreply at macports.org
Mon Jul 23 01:57:58 PDT 2012


#34902: qt4-mac 4.8.2: build fails on 10.5.8
------------------------------------------------+---------------------------
 Reporter:  michael.klein@…                     |       Owner:  michaelld@…           
     Type:  defect                              |      Status:  new                   
 Priority:  Normal                              |   Milestone:                        
Component:  ports                               |     Version:  2.1.1                 
 Keywords:  leopard                             |        Port:  qt4-mac               
------------------------------------------------+---------------------------

Comment(by khepler@…):

 Is this a regression of https://bugs.webkit.org/show_bug.cgi?id=69914 ?

 This is the definition the compiler error complains about in
 src/3rdparty/webkit/Source/WebCore/platform/graphics/FloatSize.h:
 {{{
 #if PLATFORM(MAC) || (PLATFORM(CHROMIUM) && OS(DARWIN)) || (PLATFORM(QT)
 && USE(QTKIT))
 #ifdef NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES
 typedef struct CGSize NSSize;
 #else
 typedef struct _NSSize NSSize;
 #endif
 #endif
 }}}

 And then I found this in src/3rdparty/webkit/Source/WebCore/ChangeLog:
 {{{
 2011-10-13  Zeno Albisser  <zeno.albisser at nokia.com>

         [Qt] QtWebKit build error for Mac 32bit
         https://bugs.webkit.org/show_bug.cgi?id=69914

         In WebCore.pro and QtWebKit.pro we define
 NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES
         when compiling with ENABLE_VIDEO and with WTF_USE_QTKIT.
         But this is meant to be defined in NSGeometry.h under certain
 preconditions.
         Without setting NS_BUILD_32_LIKE_64 none of these preconditions is
         met and therefore NSGeometry.h will create several conflicting
 type definitions.

         With this patch we create consistent definitions again.
         Due to the order of include files we cannot remove
         NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES from WebCore.pro.

         Reviewed by Andreas Kling.

         * WebCore.pro:
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/34902#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list