diff options
author | ryoon <ryoon> | 2014-07-18 10:21:36 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2014-07-18 10:21:36 +0000 |
commit | 7e11d0db848819c5346516eaad40a28c10ff31d0 (patch) | |
tree | 83dfb20ef808d18ad778742a226679c6fe0b732e /textproc | |
parent | e96d1d2d3772f3661180f45b493edac6abc121b9 (diff) | |
download | pkgsrc-7e11d0db848819c5346516eaad40a28c10ff31d0.tar.gz |
Fix SCO OpenServer 5.0.7/3.2 build.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/xmlcatmgr/distinfo | 3 | ||||
-rw-r--r-- | textproc/xmlcatmgr/patches/patch-src_generic.c | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/textproc/xmlcatmgr/distinfo b/textproc/xmlcatmgr/distinfo index 2afd6a84c8f..63db13a614b 100644 --- a/textproc/xmlcatmgr/distinfo +++ b/textproc/xmlcatmgr/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.13 2005/02/24 14:48:50 agc Exp $ +$NetBSD: distinfo,v 1.14 2014/07/18 10:21:36 ryoon Exp $ SHA1 (xmlcatmgr-2.2.tar.gz) = 1761eb72234a14d3d919ce3ccb0c0550421bf2e8 RMD160 (xmlcatmgr-2.2.tar.gz) = 6d01a88defccd086758f78d345a2abdf4be5c970 Size (xmlcatmgr-2.2.tar.gz) = 97265 bytes +SHA1 (patch-src_generic.c) = 1d69914685dfcc54c74adcd012a9c36d762df07d diff --git a/textproc/xmlcatmgr/patches/patch-src_generic.c b/textproc/xmlcatmgr/patches/patch-src_generic.c new file mode 100644 index 00000000000..6bcb3a4ba65 --- /dev/null +++ b/textproc/xmlcatmgr/patches/patch-src_generic.c @@ -0,0 +1,17 @@ +$NetBSD: patch-src_generic.c,v 1.1 2014/07/18 10:21:36 ryoon Exp $ + +--- src/generic.c.orig 2004-08-31 19:07:23.000000000 +0000 ++++ src/generic.c +@@ -101,7 +101,12 @@ generic_create(const char *catname, bool + } else { + FILE *f; + ++/* SCO OpenServer 5.0.7/3.2's fdopen does not accept "a" in this case. */ ++#if defined(_SCO_DS) ++ f = fdopen(fd, "w"); ++#else + f = fdopen(fd, "a"); ++#endif + if (f == NULL) { + warn("failed to create `%s'", catname); + close(fd); |