diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-09-23 22:52:01 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-09-23 22:52:01 +0000 |
commit | d2795158596f1c133adcbb735e8e6fafe74cd009 (patch) | |
tree | 0b125681e6e1d7e74574db9a7aabf90d845a2d13 | |
parent | 7f0579ab4013ca8c9160dada49c226c714ad5721 (diff) | |
download | pkgsrc-d2795158596f1c133adcbb735e8e6fafe74cd009.tar.gz |
Don't include termcap.h on SunOS.
-rw-r--r-- | math/genius/distinfo | 3 | ||||
-rw-r--r-- | math/genius/patches/patch-src_genius.c | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/math/genius/distinfo b/math/genius/distinfo index 35539940587..c4a2649006e 100644 --- a/math/genius/distinfo +++ b/math/genius/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.20 2014/04/21 18:17:35 joerg Exp $ +$NetBSD: distinfo,v 1.21 2014/09/23 22:52:01 jperkin Exp $ SHA1 (genius-1.0.17.tar.gz) = 884a12db62de68aa90b078ba9baa124f73c44f51 RMD160 (genius-1.0.17.tar.gz) = 17b6fa3fddf65f4bab8e0d7721f85ea8a666d838 @@ -8,4 +8,5 @@ SHA1 (patch-configure.in) = 73fcc7ba580b7f575bd16fdcf12fe81518904379 SHA1 (patch-gtkextra_gtkplot.c) = 3ea37b0a15454b5d81d62b93dd4a70828259d97f SHA1 (patch-gtkextra_gtkplotsurface.c) = 5f1e98dc7268ebef3a5edf04496a92b4f620114c SHA1 (patch-src_genius-readline-helper.c) = 957f2241399a9092e6634b3c105ce7e487bfca07 +SHA1 (patch-src_genius.c) = 8621f915101118c6cf123fedafe5e435398f72fb SHA1 (patch-src_inter.c) = 619a0f553acc0c30960cebfc4fa10146baac5dc4 diff --git a/math/genius/patches/patch-src_genius.c b/math/genius/patches/patch-src_genius.c new file mode 100644 index 00000000000..2e0a6c81106 --- /dev/null +++ b/math/genius/patches/patch-src_genius.c @@ -0,0 +1,17 @@ +$NetBSD: patch-src_genius.c,v 1.1 2014/09/23 22:52:01 jperkin Exp $ + +Don't include termcap.h on SunOS. + +--- src/genius.c.orig 2013-04-24 23:18:19.000000000 +0000 ++++ src/genius.c +@@ -61,8 +61,10 @@ + #include <term.h> + #endif + #else ++#ifndef __sun + #include <termcap.h> + #endif ++#endif + + #include <vicious.h> + |