diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-09-23 08:12:39 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-09-23 08:12:39 +0000 |
commit | e0e1e127952fcb887e1a89a2d33af4ad6860905d (patch) | |
tree | 39a88c63e0e8011f3c08ae656be25b8d15f1c321 /lang/snobol4 | |
parent | 1fe8717725b5ed95604f6f3ece3cfd3f00aea574 (diff) | |
download | ports-e0e1e127952fcb887e1a89a2d33af4ad6860905d.tar.gz ports-e0e1e127952fcb887e1a89a2d33af4ad6860905d.zip |
Fix build with -fno-common
Notes
Notes:
svn path=/head/; revision=549663
Diffstat (limited to 'lang/snobol4')
-rw-r--r-- | lang/snobol4/Makefile | 1 | ||||
-rw-r--r-- | lang/snobol4/files/patch-include_macros.h | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/lang/snobol4/Makefile b/lang/snobol4/Makefile index ee689969bb1a..9621d6ef5357 100644 --- a/lang/snobol4/Makefile +++ b/lang/snobol4/Makefile @@ -3,6 +3,7 @@ PORTNAME= snobol4 PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= ftp://ftp.ultimate.com/snobol/ diff --git a/lang/snobol4/files/patch-include_macros.h b/lang/snobol4/files/patch-include_macros.h new file mode 100644 index 000000000000..a64f0f32039b --- /dev/null +++ b/lang/snobol4/files/patch-include_macros.h @@ -0,0 +1,11 @@ +--- include/macros.h.orig 2014-02-22 22:43:58 UTC ++++ include/macros.h +@@ -204,7 +204,7 @@ extern volatile int math_error; + #define RETURN(VALUE) {RSTSTK(); return (VALUE);} + #endif /* TRACE_DEPTH not defined */ + +-struct descr _NORET[1]; ++extern struct descr _NORET[1]; + #define NORET ((ptr_t)_NORET) + + /****************/ |