[Bug 212427] [PATCH] devel/extra-cmake-modules: Avoid passing -std=c++0x when it is not present

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 6 19:34:04 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212427

            Bug ID: 212427
           Summary: [PATCH] devel/extra-cmake-modules: Avoid passing
                    -std=c++0x when it is not present
           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: rakuco at FreeBSD.org
                CC: kde at FreeBSD.org, yuri at rawbw.com
 Attachment #174433 maintainer-approval?(yuri at rawbw.com)
             Flags:
             Flags: maintainer-feedback?(yuri at rawbw.com)
                CC: yuri at rawbw.com
          Keywords: patch

Created attachment 174433
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174433&action=edit
Proposed patch

The attached patch extends the check in KDECompilerSettings.cmake to only pass
-std=c++0x to the compiler if it's recent enough, otherwise we risk passing
that to base GCC and breaking the build of multimedia/qt5-phonon4 on FreeBSD 9:
http://beefy2.nyi.freebsd.org/data/93amd64-default/421400/logs/qt5-phonon4-4.9.0.log

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kde-freebsd mailing list