pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/gexiv2



Module Name:    pkgsrc
Committed By:   tnn
Date:           Tue May 23 13:25:25 UTC 2023

Modified Files:
        pkgsrc/graphics/gexiv2: Makefile

Log Message:
gexiv2: lower C++ standard from C++17 to C++11

gexiv2 requests C++17 by default in it's meson.build, but it depends on
graphics/exiv2 whose public headers are not C++17 compliant since they make
use of std::auto_ptr:

graphics/gexiv2/work/.buildlink/include/exiv2/tags.hpp:143:17: error: no template named 'auto_ptr' in namespace 'std'; did you mean simply 'auto_ptr'?


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/graphics/gexiv2/Makefile

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

Modified files:

Index: pkgsrc/graphics/gexiv2/Makefile
diff -u pkgsrc/graphics/gexiv2/Makefile:1.27 pkgsrc/graphics/gexiv2/Makefile:1.28
--- pkgsrc/graphics/gexiv2/Makefile:1.27        Wed May 17 10:54:21 2023
+++ pkgsrc/graphics/gexiv2/Makefile     Tue May 23 13:25:24 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2023/05/17 10:54:21 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2023/05/23 13:25:24 tnn Exp $
 
 DISTNAME=      gexiv2-0.14.1
 CATEGORIES=    graphics devel
@@ -16,6 +16,8 @@ DEPENDS+=     ${PYPKGPREFIX}-gobject3-[0-9]*
 USE_LANGUAGES= c99 c++11
 USE_TOOLS+=    pkg-config
 
+MESON_ARGS+=   -Dcpp_std=c++11
+
 PKGCONFIG_OVERRIDE=    gexiv2.pc.in
 
 BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--version-script=./gexiv2/gexiv2.map



Home | Main Index | Thread Index | Old Index