Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2023 03:10:25 GMT
From:      Xin LI <delphij@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e45b6d5b6e2c - main - devel/rcs: Fix build on -CURRENT.
Message-ID:  <202306280310.35S3APVW007052@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by delphij:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e45b6d5b6e2c6e3a9bdff6428f6d053f376fc0ac

commit e45b6d5b6e2c6e3a9bdff6428f6d053f376fc0ac
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2023-06-28 03:10:13 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2023-06-28 03:10:14 +0000

    devel/rcs: Fix build on -CURRENT.
    
    PR:             ports/272217
    Approved-by:    Chris Hutchinson (maintainer)
---
 devel/rcs/Makefile                  |  1 +
 devel/rcs/files/patch-lib_obstack.h | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/devel/rcs/Makefile b/devel/rcs/Makefile
index 0f0a6eff008b..791e0619ee8b 100644
--- a/devel/rcs/Makefile
+++ b/devel/rcs/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	rcs
 PORTVERSION=	5.10.1
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	GNU
 
diff --git a/devel/rcs/files/patch-lib_obstack.h b/devel/rcs/files/patch-lib_obstack.h
new file mode 100644
index 000000000000..bd3a602b1199
--- /dev/null
+++ b/devel/rcs/files/patch-lib_obstack.h
@@ -0,0 +1,11 @@
+--- lib/obstack.h.orig	2022-01-27 03:00:30 UTC
++++ lib/obstack.h
+@@ -226,7 +226,7 @@ extern _OBSTACK_SIZE_T _obstack_memory_used (struct ob
+    more memory.  This can be set to a user defined function which
+    should either abort gracefully or use longjump - but shouldn't
+    return.  The default action is to print a message and abort.  */
+-extern __attribute_noreturn__ void (*obstack_alloc_failed_handler) (void);
++extern void (*obstack_alloc_failed_handler) (void);
+ 
+ /* Exit value used when 'print_and_abort' is used.  */
+ extern int obstack_exit_failure;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306280310.35S3APVW007052>