pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/aegis aegis: fix build with recent gccs



details:   https://anonhg.NetBSD.org/pkgsrc/rev/44b4517118f5
branches:  trunk
changeset: 390622:44b4517118f5
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Dec 24 23:32:48 2022 +0000

description:
aegis: fix build with recent gccs

Inspired from FreeBSD port patch.

Some pkglint cleanup while here.

diffstat:

 devel/aegis/Makefile                   |   5 ++---
 devel/aegis/distinfo                   |   3 ++-
 devel/aegis/patches/patch-common_mem.h |  17 +++++++++++++++++
 3 files changed, 21 insertions(+), 4 deletions(-)

diffs (55 lines):

diff -r 8b8a9c46d177 -r 44b4517118f5 devel/aegis/Makefile
--- a/devel/aegis/Makefile      Sat Dec 24 23:10:04 2022 +0000
+++ b/devel/aegis/Makefile      Sat Dec 24 23:32:48 2022 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2022/11/23 16:19:45 adam Exp $
-#
+# $NetBSD: Makefile,v 1.69 2022/12/24 23:32:48 wiz Exp $
 
 DISTNAME=      aegis-4.24.2
 PKGREVISION=   41
@@ -8,7 +7,7 @@
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://aegis.sourceforge.net/
-COMMENT=       Aegis is a transaction base software configuration management system
+COMMENT=       Transaction based software configuration management system
 LICENSE=       gnu-gpl-v3
 
 MAKE_JOBS_SAFE=                no
diff -r 8b8a9c46d177 -r 44b4517118f5 devel/aegis/distinfo
--- a/devel/aegis/distinfo      Sat Dec 24 23:10:04 2022 +0000
+++ b/devel/aegis/distinfo      Sat Dec 24 23:32:48 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2021/10/26 10:14:13 nia Exp $
+$NetBSD: distinfo,v 1.17 2022/12/24 23:32:48 wiz Exp $
 
 BLAKE2s (aegis-4.24.2.tar.gz) = bcc88aca828460072afc43a859eb011878516880f3e5eb4ed1c77c9ae9c044ab
 SHA512 (aegis-4.24.2.tar.gz) = 07aeb6961a8a6965090bab61d08d67ddc8e5d310b77fd1babd62e7c272cd2d7a189ffc433da617ab2a3eaf9c030aa601dd83e68e97f294faec4a5c8801b36cdb
@@ -7,4 +7,5 @@
 SHA1 (patch-ab) = c946cdfd7807041502f8052b0e9ec2d24f752175
 SHA1 (patch-ad) = 3385dc23da50afc6827664c8d481ba89ba3fd435
 SHA1 (patch-common_ac_string_memmem.cc) = ef0461be5b90efaf8b39b2116f839c25aa865663
+SHA1 (patch-common_mem.h) = b45ba1c741e559325e35b92f538d5062032890fd
 SHA1 (patch-common_stack.cc) = 83451680c73027fe69b85e0fd3333642d340a750
diff -r 8b8a9c46d177 -r 44b4517118f5 devel/aegis/patches/patch-common_mem.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/aegis/patches/patch-common_mem.h    Sat Dec 24 23:32:48 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-common_mem.h,v 1.1 2022/12/24 23:32:48 wiz Exp $
+
+gcc complains about
+./common/mem.h:128:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]                                                                                                
                                                                               
+and later the build breaks.
+
+--- common/mem.h.orig  2009-06-25 16:00:55.000000000 +0000
++++ common/mem.h
+@@ -125,7 +125,7 @@ char *dmem_copy_string(const char *file,
+ #endif
+ 
+ #if HAVE_HEADER_NEW || HAVE_NEW_H
+-#define THROW_BAD_ALLOC throw(std::bad_alloc)
++#define THROW_BAD_ALLOC // throw(std::bad_alloc)
+ #else
+ #define THROW_BAD_ALLOC
+ #endif



Home | Main Index | Thread Index | Old Index