Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Apr 2015 18:07:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 199177] [patch] x11-toolkits/wxgtk30 : support c++11 instead of c++0x, plus dragonfly
Message-ID:  <bug-199177-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199177

            Bug ID: 199177
           Summary: [patch] x11-toolkits/wxgtk30 : support c++11 instead
                    of c++0x, plus dragonfly
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: marino@FreeBSD.org
                CC: portmaster@bsdforge.com
          Keywords: patch
             Flags: maintainer-feedback?(portmaster@bsdforge.com)
                CC: portmaster@bsdforge.com

Created attachment 155203
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=155203&action=edit
patch: Disables TR1 support, converts to c++11

wxgtk30 uses the TR1 functions in its installed headers.  These functions are
not present in c++11 standard, and modern gcc (e.g. gcc4.9, gcc5) don't even
recognized TR1 (gcc 4.7 did).

The following patch forcibly removes TR1 functions, which requires the passing
of -std=c++11 in the CXXFLAGS.  This allows wxgtk30 headers to be used by
latest gcc compilers.

While here:

 - remove $PTHREAD_LIBS from configure.
It wasn't populated, and the default of "-pthread" is fine

 - bring in dragonfly support from dports.


TESTING:
I used poudriere and built the following 62 ports before and after the patch
was applied.  These 62 ports are listed in INDEX-10 as requiring wxgtk30.  The
result was the same before and after: all 62 build successfully.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199177-13>