pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/gst-plugins1-bad



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Aug  3 12:28:44 UTC 2024

Modified Files:
        pkgsrc/multimedia/gst-plugins1-bad: Makefile.common

Log Message:
gst-plugins1-bad: Fix building with compilers that do not default to C++11.

via Phil Krylov, PR pkg/58540


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/multimedia/gst-plugins1-bad/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/gst-plugins1-bad/Makefile.common
diff -u pkgsrc/multimedia/gst-plugins1-bad/Makefile.common:1.47 pkgsrc/multimedia/gst-plugins1-bad/Makefile.common:1.48
--- pkgsrc/multimedia/gst-plugins1-bad/Makefile.common:1.47     Tue Mar  5 14:45:47 2024
+++ pkgsrc/multimedia/gst-plugins1-bad/Makefile.common  Sat Aug  3 12:28:44 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.47 2024/03/05 14:45:47 wiz Exp $
+# $NetBSD: Makefile.common,v 1.48 2024/08/03 12:28:44 nia Exp $
 # used by audio/gst-plugins1-dts/Makefile
 # used by audio/gst-plugins1-faac/Makefile
 # used by audio/gst-plugins1-faad/Makefile
@@ -33,8 +33,12 @@ DISTINFO_FILE=       ${.CURDIR}/../../multimed
 PATCHDIR=      ${.CURDIR}/../../multimedia/gst-plugins1-bad/patches
 
 # "error: 'for' loop initial declarations are only allowed in C99 mode"
+# "#error This file requires compiler and library support for the ISO C++ 2011 standard."
 # needs default visibility for fdopen (etc.) on some platforms
 FORCE_C_STD=   gnu99
+FORCE_CXX_STD= gnu++11
+
+USE_CXX_FEATURES+=     c++11
 
 PKGCONFIG_OVERRIDE=            output/pkgconfig/*.pc
 PKGCONFIG_OVERRIDE_STAGE=      pre-install



Home | Main Index | Thread Index | Old Index