diff options
author | jtb <jtb> | 2003-05-04 20:19:46 +0000 |
---|---|---|
committer | jtb <jtb> | 2003-05-04 20:19:46 +0000 |
commit | e4e8e1ffc5371fa930ae5d1b88ed77e967410d1e (patch) | |
tree | c5d05ce30568e52c05cbff26bd23a11a933cead4 /lang | |
parent | 8766b616f1dfaa1d9d72324f3d1114f5056251b0 (diff) | |
download | pkgsrc-e4e8e1ffc5371fa930ae5d1b88ed77e967410d1e.tar.gz |
Fix a bug in input.c where an unsigned char is compared to EOF (-1),
causing hugs to hang on some systems (powerpc).
Diffstat (limited to 'lang')
-rw-r--r-- | lang/hugs/Makefile | 3 | ||||
-rw-r--r-- | lang/hugs/distinfo | 3 | ||||
-rw-r--r-- | lang/hugs/patches/patch-ad | 13 |
3 files changed, 17 insertions, 2 deletions
diff --git a/lang/hugs/Makefile b/lang/hugs/Makefile index 28ebbe11f60..157b79816a9 100644 --- a/lang/hugs/Makefile +++ b/lang/hugs/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.22 2002/10/25 18:36:13 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2003/05/04 20:19:46 jtb Exp $ DISTNAME= hugs98-Dec2001 PKGNAME= hugs98-200112 +PKGREVISION= 1 WRKSRC= ${WRKDIR}/hugs98-Dec2001/src/unix CATEGORIES= lang MASTER_SITES= http://cvs.haskell.org/Hugs/downloads/ diff --git a/lang/hugs/distinfo b/lang/hugs/distinfo index 90c99c466f6..7a42df11de1 100644 --- a/lang/hugs/distinfo +++ b/lang/hugs/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.7 2002/04/09 02:59:15 markd Exp $ +$NetBSD: distinfo,v 1.8 2003/05/04 20:19:46 jtb Exp $ SHA1 (hugs98-Dec2001.tar.gz) = 0980e3bbd21a6f5bc8ab1658a90be2a4dec35007 Size (hugs98-Dec2001.tar.gz) = 821812 bytes SHA1 (patch-aa) = c7e05ca44740a4a39595ab95149e6064b9d99ca9 SHA1 (patch-ab) = 81d75e31db129be9f3e38e330c6c7f3cca375784 SHA1 (patch-ac) = 4fa190a3aaec5c3fc64c7cf693ace5cb6786c430 +SHA1 (patch-ad) = fc0ed4a99eecd8c89096ba9f30567564701e4070 diff --git a/lang/hugs/patches/patch-ad b/lang/hugs/patches/patch-ad new file mode 100644 index 00000000000..5489855eb9c --- /dev/null +++ b/lang/hugs/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2003/05/04 20:19:46 jtb Exp $ + +--- ../input.c.orig ++++ ../input.c +@@ -313,7 +313,7 @@ + static char *lineBuffer = NULL; /* getline() does the initial allocation */ + #else + #define LINEBUFFER_SIZE 1000 +-static char lineBuffer[LINEBUFFER_SIZE]; ++static signed char lineBuffer[LINEBUFFER_SIZE]; + #endif + static int lineLength = 0; + static int inCodeBlock = FALSE; /* Inside \begin{code}..\end{code} */ |