diff --git a/net/epic4/Makefile b/net/epic4/Makefile index 63518c71d2f..4fab14b1dc7 100644 --- a/net/epic4/Makefile +++ b/net/epic4/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.77 2020/03/20 16:44:26 naddy Exp $ +# $OpenBSD: Makefile,v 1.78 2021/02/10 07:15:17 jsg Exp $ COMMENT= (E)nhanced (P)rogrammable (I)RC-II (C)lient VERSION= 2.10.5 -REVISION= 1 +REVISION= 2 HELP_DATE= 20050315 DISTNAME= epic4-${VERSION} CATEGORIES= net diff --git a/net/epic4/patches/patch-include_irc_h b/net/epic4/patches/patch-include_irc_h new file mode 100644 index 00000000000..c03f1766980 --- /dev/null +++ b/net/epic4/patches/patch-include_irc_h @@ -0,0 +1,15 @@ +$OpenBSD: patch-include_irc_h,v 1.1 2021/02/10 07:15:17 jsg Exp $ + +fix -fno-common build + +Index: include/irc.h +--- include/irc.h.orig ++++ include/irc.h +@@ -166,6 +166,6 @@ const char * current_loader (void); /* XXX command.c + char * current_package (void); /* XXX command.c */ + + /* keep track of signals for scripted events */ +-volatile int signals_caught[NSIG]; ++extern volatile int signals_caught[NSIG]; + + #endif /* __irc_h */