diff --git a/devel/rcs/Makefile b/devel/rcs/Makefile index 0f0a6eff008b..791e0619ee8b 100644 --- a/devel/rcs/Makefile +++ b/devel/rcs/Makefile @@ -1,19 +1,20 @@ PORTNAME= rcs PORTVERSION= 5.10.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= GNU MAINTAINER= portmaster@bsdforge.com COMMENT= Version control system WWW= https://www.gnu.org/software/rcs/ LICENSE= GPLv3 USES= tar:lz GNU_CONFIGURE= yes CONFLICTS_INSTALL= rcs57 INFO= rcs .include 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;