openbsd-ports/devel/bison/patches/patch-data_m4sugar_m4sugar_m4
jca 3578ddf292 Update to bison-3.0.4
Alas this switches bison from using m4 from base to GNU m4.  Work is
being done to switch back.

Support from many, input from sthen@ and nigel@, ok sthen@.  Bulk build
by ajacoutot@, regress tests ran on i386, powerpc (thx sthen@), amd64
and sparc64.
2015-11-15 11:53:30 +00:00

18 lines
652 B
Plaintext

$OpenBSD: patch-data_m4sugar_m4sugar_m4,v 1.3 2015/11/15 11:53:30 jca Exp $
--- data/m4sugar/m4sugar.m4.orig Fri Aug 2 17:03:17 2013
+++ data/m4sugar/m4sugar.m4 Fri Nov 6 20:39:48 2015
@@ -31,13 +31,6 @@ divert(-1)#
changequote()
changequote([, ])
-# Some old m4's don't support m4exit. But they provide
-# equivalent functionality by core dumping because of the
-# long macros we define.
-ifdef([__gnu__], ,
-[errprint(M4sugar requires GNU M4. Install it before installing M4sugar or
-set the M4 environment variable to its absolute file name.)
-m4exit(2)])
## ------------------------------- ##