diff options
author | joerg <joerg@pkgsrc.org> | 2015-01-09 14:30:22 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-01-09 14:30:22 +0000 |
commit | 0fcb49f7f790ed44d1627f6815a7f61967f3e722 (patch) | |
tree | 6ff1a8cf2fddf909b7b9035061a52e236df40ffd /math/sc | |
parent | a60a1b2e29f78d0e4264a7e1770669d66c3504d1 (diff) | |
download | pkgsrc-0fcb49f7f790ed44d1627f6815a7f61967f3e722.tar.gz |
Expect C89 userland.
Diffstat (limited to 'math/sc')
-rw-r--r-- | math/sc/distinfo | 3 | ||||
-rw-r--r-- | math/sc/patches/patch-sc.h | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/math/sc/distinfo b/math/sc/distinfo index f8fad392b04..9c123203e6b 100644 --- a/math/sc/distinfo +++ b/math/sc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2009/12/12 20:22:01 asau Exp $ +$NetBSD: distinfo,v 1.8 2015/01/09 14:30:22 joerg Exp $ SHA1 (sc-6.21.tar.Z) = 80d8972bcd1b5adcbc00345b6866954603dadf31 RMD160 (sc-6.21.tar.Z) = 24abfaea2e5ef644394efd5e13ad1850280abbd6 @@ -7,3 +7,4 @@ SHA1 (patch-aa) = 24cb53e798d3b923ff370b29d8de5bbb9e4127b2 SHA1 (patch-ab) = 2055f81bbabaa2752ed6dc18ce66ca857b9654f4 SHA1 (patch-ac) = 1b3628ae0bf881c8c3e9886210d23d63207f912f SHA1 (patch-ad) = e579f8e29ebba4d653e83741a829262c2b7d8d2b +SHA1 (patch-sc.h) = c432ea8d2f7a99c30f32d8bb0468e29aaa3f27c8 diff --git a/math/sc/patches/patch-sc.h b/math/sc/patches/patch-sc.h new file mode 100644 index 00000000000..0f54b65d361 --- /dev/null +++ b/math/sc/patches/patch-sc.h @@ -0,0 +1,15 @@ +$NetBSD: patch-sc.h,v 1.1 2015/01/09 14:30:22 joerg Exp $ + +--- sc.h.orig 2015-01-09 12:50:27.000000000 +0000 ++++ sc.h +@@ -418,9 +418,4 @@ extern int collimit; + + #endif + +-#if defined(BSD42) || defined(BSD43) && !defined(ultrix) +-#define memcpy(dest, source, len) bcopy(source, dest, (unsigned int)len); +-#define memset(dest, zero, len) bzero((dest), (unsigned int)(len)); +-#else +-#include <memory.h> +-#endif ++#include <string.h> |