Tue Apr 14 09:23:49 2015 UTC ()
Update to libnbcompat-20150414.  Changes:

  - Provide a setenv() prototype, required by Solaris 9 for the cwrappers
    build.


(jperkin)
diff -r1.81 -r1.82 pkgsrc/pkgtools/libnbcompat/Makefile
diff -r1.4 -r1.5 pkgsrc/pkgtools/libnbcompat/files/nbcompat/stdlib.h

cvs diff -r1.81 -r1.82 pkgsrc/pkgtools/libnbcompat/Makefile (expand / switch to unified diff)

--- pkgsrc/pkgtools/libnbcompat/Makefile 2014/07/25 13:26:24 1.81
+++ pkgsrc/pkgtools/libnbcompat/Makefile 2015/04/14 09:23:48 1.82
@@ -1,21 +1,21 @@ @@ -1,21 +1,21 @@
1# $NetBSD: Makefile,v 1.81 2014/07/25 13:26:24 jperkin Exp $ 1# $NetBSD: Makefile,v 1.82 2015/04/14 09:23:48 jperkin Exp $
2# 2#
3# NOTE: If you update this package, it is *mandatory* that you update 3# NOTE: If you update this package, it is *mandatory* that you update
4# pkgsrc/pkgtools/libnbcompat/files/README to reflect the actual 4# pkgsrc/pkgtools/libnbcompat/files/README to reflect the actual
5# list of tested and supported platforms. 5# list of tested and supported platforms.
6# 6#
7 7
8PKGNAME= libnbcompat-20140725 8PKGNAME= libnbcompat-20150414
9CATEGORIES= pkgtools devel 9CATEGORIES= pkgtools devel
10 10
11MAINTAINER= joerg@NetBSD.org 11MAINTAINER= joerg@NetBSD.org
12HOMEPAGE= http://www.NetBSD.org/ 12HOMEPAGE= http://www.NetBSD.org/
13COMMENT= Portable NetBSD compatibility library 13COMMENT= Portable NetBSD compatibility library
14 14
15GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
16MAKE_ENV+= LIBMODE=${LIBMODE} 16MAKE_ENV+= LIBMODE=${LIBMODE}
17 17
18# Enable by default for standalone builds 18# Enable by default for standalone builds
19CONFIGURE_ARGS+= --enable-db 19CONFIGURE_ARGS+= --enable-db
20 20
21do-extract: 21do-extract:

cvs diff -r1.4 -r1.5 pkgsrc/pkgtools/libnbcompat/files/nbcompat/stdlib.h (expand / switch to unified diff)

--- pkgsrc/pkgtools/libnbcompat/files/nbcompat/stdlib.h 2008/10/06 12:36:20 1.4
+++ pkgsrc/pkgtools/libnbcompat/files/nbcompat/stdlib.h 2015/04/14 09:23:48 1.5
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: stdlib.h,v 1.4 2008/10/06 12:36:20 joerg Exp $ */ 1/* $NetBSD: stdlib.h,v 1.5 2015/04/14 09:23:48 jperkin Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 2004 The NetBSD Foundation, Inc. 4 * Copyright (c) 2004 The NetBSD Foundation, Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * This code is derived from software contributed to The NetBSD Foundation 7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Johnny C. Lam. 8 * by Johnny C. Lam.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
12 * are met: 12 * are met:
13 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
@@ -34,26 +34,30 @@ @@ -34,26 +34,30 @@
34 34
35#if HAVE_STDLIB_H 35#if HAVE_STDLIB_H
36# include <stdlib.h> 36# include <stdlib.h>
37#endif 37#endif
38#if HAVE_ALLOCA_H 38#if HAVE_ALLOCA_H
39# include <alloca.h> 39# include <alloca.h>
40#endif 40#endif
41 41
42/* 42/*
43 * Declare functions and macros that may be missing in <stdlib.h> and 43 * Declare functions and macros that may be missing in <stdlib.h> and
44 * <alloca.h>. 44 * <alloca.h>.
45 */ 45 */
46 46
 47#if !HAVE_SETENV
 48int setenv(const char *, const char *, int);
 49#endif
 50
47#if !HAVE_MKSTEMP 51#if !HAVE_MKSTEMP
48int mkstemp(char *); 52int mkstemp(char *);
49#endif 53#endif
50 54
51#if !HAVE_MKDTEMP 55#if !HAVE_MKDTEMP
52char *mkdtemp(char *); 56char *mkdtemp(char *);
53#endif 57#endif
54 58
55#if !HAVE_SETPROGNAME 59#if !HAVE_SETPROGNAME
56const char *getprogname(void); 60const char *getprogname(void);
57void setprogname(const char *); 61void setprogname(const char *);
58#endif 62#endif
59 63