Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.34 2013/05/10 22:33:55 riastradh Exp $
# $NetBSD: Makefile,v 1.35 2014/10/09 14:07:07 wiz Exp $
#
DISTNAME= xmlcatmgr-2.2
@@ -11,8 +11,6 @@ HOMEPAGE= http://xmlcatmgr.sourceforge.net/
COMMENT= XML and SGML catalog manager
LICENSE= modified-bsd
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}

View File

@@ -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

View File

@@ -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);