[Bug 199177] [patch] x11-toolkits/wxgtk30 : support c++11 instead of c++0x, plus dragonfly

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 5 18:07:58 UTC 2015


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 at FreeBSD.org
          Reporter: marino at FreeBSD.org
                CC: portmaster at bsdforge.com
          Keywords: patch
             Flags: maintainer-feedback?(portmaster at bsdforge.com)
                CC: portmaster at 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.


More information about the freebsd-ports-bugs mailing list