pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gconfmm gconfmm: FIx build failure with devel/gl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1225d3b8dbf6
branches:  trunk
changeset: 449230:1225d3b8dbf6
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Mar 22 14:41:41 2021 +0000

description:
gconfmm: FIx build failure with devel/glib2-2.68.0

gconf-client.h includes C++ header file via glib2 header file.
Bump PKGREVISION from header file change.

By the way, gconfmm is not developed any more.

diffstat:

 devel/gconfmm/Makefile                               |   6 +++---
 devel/gconfmm/distinfo                               |   3 ++-
 devel/gconfmm/patches/patch-gconf_gconfmm_callback.h |  20 ++++++++++++++++++++
 3 files changed, 25 insertions(+), 4 deletions(-)

diffs (56 lines):

diff -r 8517566e70db -r 1225d3b8dbf6 devel/gconfmm/Makefile
--- a/devel/gconfmm/Makefile    Mon Mar 22 14:36:09 2021 +0000
+++ b/devel/gconfmm/Makefile    Mon Mar 22 14:41:41 2021 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.73 2020/11/05 09:06:46 ryoon Exp $
+# $NetBSD: Makefile,v 1.74 2021/03/22 14:41:41 ryoon Exp $
 
 DISTNAME=      gconfmm-2.28.3
-PKGREVISION=   24
+PKGREVISION=   25
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/gconfmm/2.28/}
 EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    adam%NetBSD.org@localhost
-#HOMEPAGE=     http://gtkmm.sourceforge.net/
+#HOMEPAGE=     http://www.gtkmm.org/
 COMMENT=       C++ bindings for gconf
 
 USE_LANGUAGES=         c c++11
diff -r 8517566e70db -r 1225d3b8dbf6 devel/gconfmm/distinfo
--- a/devel/gconfmm/distinfo    Mon Mar 22 14:36:09 2021 +0000
+++ b/devel/gconfmm/distinfo    Mon Mar 22 14:41:41 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.16 2015/11/03 03:27:27 agc Exp $
+$NetBSD: distinfo,v 1.17 2021/03/22 14:41:41 ryoon Exp $
 
 SHA1 (gconfmm-2.28.3.tar.bz2) = 333999fe8e07f3d3d74c6b382559b1ca5278ecc7
 RMD160 (gconfmm-2.28.3.tar.bz2) = bad8c34a86c69b79acdb9074d1244b31ca3e3fe4
 SHA512 (gconfmm-2.28.3.tar.bz2) = 0fd3a43373dfdf514eca61537c19dafd4ad582d2ec6bb325652766fba90ed723feff6daf93effcdf20f917c573131d58c16f1a826194f653864a701bb8a57097
 Size (gconfmm-2.28.3.tar.bz2) = 471125 bytes
+SHA1 (patch-gconf_gconfmm_callback.h) = 8ffb5a8eebf47d5da5d4549e5b0503e39011330b
diff -r 8517566e70db -r 1225d3b8dbf6 devel/gconfmm/patches/patch-gconf_gconfmm_callback.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gconfmm/patches/patch-gconf_gconfmm_callback.h      Mon Mar 22 14:41:41 2021 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-gconf_gconfmm_callback.h,v 1.1 2021/03/22 14:41:41 ryoon Exp $
+
+* Fix error with devlel/glib2-2.68.0
+../gconfmm/callback.h:25:1: note: 'extern "C"' linkage started here
+(snip)
+/usr/include/g++/type_traits:2741:3: error: template with C linkage
+
+--- gconf/gconfmm/callback.h.orig      2011-10-18 15:33:49.000000000 +0000
++++ gconf/gconfmm/callback.h
+@@ -22,10 +22,7 @@
+ #ifndef GCONFMM_CALLBACK_H
+ #define GCONFMM_CALLBACK_H
+ 
+-extern "C"
+-{
+ #include <gconf/gconf-client.h>
+-}
+ 
+ #include <glibmm/object.h>
+ #include <gconfmm/entry.h>



Home | Main Index | Thread Index | Old Index