pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/ham/xlog ham/xlog: Work around use of deprecated glib2...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f8ca6b40b96c
branches: trunk
changeset: 412108:f8ca6b40b96c
user: gdt <gdt%pkgsrc.org@localhost>
date: Fri Feb 28 17:52:13 2020 +0000
description:
ham/xlog: Work around use of deprecated glib2 APIs
diffstat:
ham/xlog/Makefile | 13 +++++++++++--
ham/xlog/distinfo | 3 ++-
ham/xlog/patches/patch-src_log.c | 17 +++++++++++++++++
3 files changed, 30 insertions(+), 3 deletions(-)
diffs (68 lines):
diff -r 2091c9f4874d -r f8ca6b40b96c ham/xlog/Makefile
--- a/ham/xlog/Makefile Fri Feb 28 16:36:14 2020 +0000
+++ b/ham/xlog/Makefile Fri Feb 28 17:52:13 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.85 2020/02/28 15:17:03 gdt Exp $
+# $NetBSD: Makefile,v 1.86 2020/02/28 17:52:13 gdt Exp $
#
DISTNAME= xlog-2.0.17
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= ham
MASTER_SITES= http://download.savannah.gnu.org/releases/xlog/
LICENSE= gnu-gpl-v3
@@ -26,6 +26,15 @@
CWRAPPERS_APPEND.cc+= -Wno-error=parentheses-equality -Wno-error=tautological-compare -Wno-unknown-warning-option -Wno-deprecated-declarations
.endif
+# Problematic with 5.5.0 on netbsd-8.
+.if !empty(PKGSRC_COMPILER:Mgcc)
+BUILDLINK_TRANSFORM+= rm:-Wno-stringop-truncation
+.endif
+
+# Work around https://savannah.nongnu.org/bugs/index.php?57920
+_WRAP_EXTRA_ARGS.CC+= -Wno-deprecated-declarations
+CWRAPPERS_APPEND.cc+= -Wno-deprecated-declarations
+
.include "../../databases/shared-mime-info/buildlink3.mk"
.include "../../graphics/gnome-icon-theme/buildlink3.mk"
.include "../../ham/hamlib/buildlink3.mk"
diff -r 2091c9f4874d -r f8ca6b40b96c ham/xlog/distinfo
--- a/ham/xlog/distinfo Fri Feb 28 16:36:14 2020 +0000
+++ b/ham/xlog/distinfo Fri Feb 28 17:52:13 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2019/02/23 07:31:26 mef Exp $
+$NetBSD: distinfo,v 1.22 2020/02/28 17:52:13 gdt Exp $
SHA1 (xlog-2.0.17.tar.gz) = 1b82370b2a5c769efa424d116ae4d812e5fb26e9
RMD160 (xlog-2.0.17.tar.gz) = cfce01ae8b53431b8d7feb251a00cf16dc9da9c2
@@ -6,6 +6,7 @@
Size (xlog-2.0.17.tar.gz) = 11461214 bytes
SHA1 (patch-src_callbacks_mainwindow_qsoframe_c) = 354d979f0f591039df0377e640bdc76b6d4831a4
SHA1 (patch-src_dxcc_c) = 2fea7448ecd452064ff86ab228ec7490a0c187f3
+SHA1 (patch-src_log.c) = a7f33aebece54b97ac635883eeeddad49bdb8801
SHA1 (patch-src_logfile_edittest_c) = 803cec0af65e359eecfea6fc9e079899999a7529
SHA1 (patch-src_logfile_logfile_c) = 92ccae2d101297365ef1cd69464edd182b142338
SHA1 (patch-src_strptime_c) = 5471f5acc7adc16ca08d479473b424c6798bf30c
diff -r 2091c9f4874d -r f8ca6b40b96c ham/xlog/patches/patch-src_log.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/xlog/patches/patch-src_log.c Fri Feb 28 17:52:13 2020 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_log.c,v 1.1 2020/02/28 17:52:13 gdt Exp $
+
+G_CONST_RETURN has been deprecated for a long time.
+
+Not yet reported upstream.
+
+--- src/log.c.orig 2015-04-19 20:39:29.000000000 +0000
++++ src/log.c
+@@ -455,7 +455,7 @@ savelog (gpointer arg, gchar * logfile,
+ {
+ LOGDB *lp;
+ gint i, j, k, pid, exported;
+- G_CONST_RETURN gchar *label;
++ const gchar *label;
+ gchar *pathstr;
+ item_t *sorteditems;
+ gint fields[QSO_FIELDS], widths[QSO_FIELDS];
Home |
Main Index |
Thread Index |
Old Index