diff options
author | dholland <dholland@pkgsrc.org> | 2014-06-29 04:39:58 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2014-06-29 04:39:58 +0000 |
commit | 175ff338380161ed35b6429de2ac874fe0f7367e (patch) | |
tree | 7924bc6e0ba675780577fbe8bf7dbb8228293d5c /lang | |
parent | 3fda37862af274665f686d0bdc071aeb592c01c2 (diff) | |
download | pkgsrc-175ff338380161ed35b6429de2ac874fe0f7367e.tar.gz |
This package for some reason thinks MacOS comes with DOS <conio.h>. It
doesn't.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/brandybasic/distinfo | 3 | ||||
-rw-r--r-- | lang/brandybasic/patches/patch-src_textonly.c | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/lang/brandybasic/distinfo b/lang/brandybasic/distinfo index 82a35dcd67a..01360748139 100644 --- a/lang/brandybasic/distinfo +++ b/lang/brandybasic/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.6 2007/06/30 18:31:52 joerg Exp $ +$NetBSD: distinfo,v 1.7 2014/06/29 04:39:58 dholland Exp $ SHA1 (b116.tgz) = 5c149c54f2d55bc16e1ccf84c811234c5b1d7285 RMD160 (b116.tgz) = 7cec7b35e2b5ce89b81e8e3f10d0db9838a8cbf5 Size (b116.tgz) = 381894 bytes SHA1 (patch-aa) = a5b12fb2a0b7483bd0591d004c87642a394d4253 +SHA1 (patch-src_textonly.c) = d5cde92c8785b21182ab498d3868c4c795b828d6 diff --git a/lang/brandybasic/patches/patch-src_textonly.c b/lang/brandybasic/patches/patch-src_textonly.c new file mode 100644 index 00000000000..5b0c25d1da9 --- /dev/null +++ b/lang/brandybasic/patches/patch-src_textonly.c @@ -0,0 +1,16 @@ +$NetBSD: patch-src_textonly.c,v 1.1 2014/06/29 04:39:58 dholland Exp $ + +This package for some reason thinks MacOS comes with DOS <conio.h>. It +doesn't. + +--- src/textonly.c~ 2004-01-26 18:09:25.000000000 +0000 ++++ src/textonly.c +@@ -40,7 +40,7 @@ + #include "screen.h" + #include "keyboard.h" + +-#if defined(TARGET_WIN32) | defined(TARGET_DJGPP) | defined(TARGET_BCC32) | defined(TARGET_MACOSX) ++#if defined(TARGET_WIN32) | defined(TARGET_DJGPP) | defined(TARGET_BCC32) + #include "conio.h" + #else + #define USE_ANSI /* Have to use ANSI control sequences, not conio */ |