Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.11 2004/06/22 14:05:39 minskim Exp $
--- config-bot.h.orig Tue Apr 16 23:01:03 2002
+++ config-bot.h Tue Dec 17 15:34:52 2002
@@ -107,7 +107,7 @@
#if defined (HAVE_WCTYPE_H) && defined (HAVE_WCHAR_H)
# include <wchar.h>
# include <wctype.h>
-# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */
+# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ && defined (HAVE_WCTYPE_T)
# define HANDLE_MULTIBYTE 1
# endif
#endif
+21
View File
@@ -0,0 +1,21 @@
$NetBSD: patch-ab,v 1.9 2002/11/25 04:18:47 schmonz Exp $
--- Makefile.in.orig Fri Nov 22 22:01:47 2002
+++ Makefile.in
@@ -643,16 +643,10 @@
installdirs:
@${SHELL} $(SUPPORT_SRC)mkdirs $(DESTDIR)$(bindir)
@${SHELL} $(SUPPORT_SRC)mkdirs $(DESTDIR)$(man1dir)
- @${SHELL} $(SUPPORT_SRC)mkdirs $(DESTDIR)$(infodir)
install: .made installdirs
$(INSTALL_PROGRAM) $(INSTALLMODE) $(Program) $(DESTDIR)$(bindir)/$(Program)
$(INSTALL_SCRIPT) $(INSTALLMODE2) bashbug $(DESTDIR)$(bindir)/bashbug
- -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
- man1dir=$(man1dir) man1ext=$(man1ext) \
- man3dir=$(man3dir) man3ext=$(man3ext) \
- infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
- -( cd $(DEFDIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
install-strip:
$(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.9 2004/06/22 14:05:39 minskim Exp $
--- include/shmbutil.h.orig Mon May 6 19:58:39 2002
+++ include/shmbutil.h Tue Dec 17 15:27:20 2002
@@ -33,7 +33,7 @@
#if defined (HAVE_WCTYPE_H) && defined (HAVE_WCHAR_H)
# include <wchar.h>
# include <wctype.h>
-# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */
+# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ && defined (HAVE_WCTYPE_T)
# define HANDLE_MULTIBYTE 1
# endif
#endif /* HAVE_WCTYPE_H && HAVE_WCHAR_H */
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.5 2004/06/22 14:05:39 minskim Exp $
--- lib/readline/rlmbutil.h.orig Thu Dec 20 15:54:38 2001
+++ lib/readline/rlmbutil.h Tue Dec 17 15:35:45 2002
@@ -35,7 +35,7 @@
#if defined (HAVE_WCTYPE_H) && defined (HAVE_WCHAR_H)
# include <wchar.h>
# include <wctype.h>
-# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */
+# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ && defined (HAVE_WCTYPE_T)
# define HANDLE_MULTIBYTE 1
# endif
#endif
+21
View File
@@ -0,0 +1,21 @@
$NetBSD: patch-ae,v 1.6 2002/11/25 04:18:48 schmonz Exp $
--- builtins/enable.def.orig Fri Nov 22 22:16:40 2002
+++ builtins/enable.def
@@ -314,9 +314,16 @@
name = list->word->word;
size = strlen (name);
+#ifdef __ELF__
struct_name = (char *)xmalloc (size + 8);
strcpy (struct_name, name);
strcpy (struct_name + size, "_struct");
+#else
+ struct_name = xmalloc (size + 9);
+ *struct_name = '_';
+ strcpy (struct_name + 1, name);
+ strcpy (struct_name + size + 1, "_struct");
+#endif
b = (struct builtin *)dlsym (handle, struct_name);
if (b == 0)
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-af,v 1.1 2004/05/12 20:56:14 jschauma Exp $
--- ./lib/malloc/malloc.c.orig Wed May 12 16:07:37 2004
+++ ./lib/malloc/malloc.c Wed May 12 16:20:47 2004
@@ -880,6 +880,8 @@
free_return:
+ /* no-op in case nothing below is defined */;
+
#ifdef MALLOC_STATS
_mstats.nmalloc[nunits]--;
_mstats.nfre++;
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ag,v 1.1 2004/05/17 22:29:30 jschauma Exp $
--- builtins/Makefile.in.orig Sun May 16 22:52:52 2004
+++ builtins/Makefile.in Sun May 16 22:53:31 2004
@@ -20,7 +20,7 @@
SHELL = @MAKE_SHELL@
RANLIB = @RANLIB@
CC = @CC@
-CC_FOR_BUILD = @CC_FOR_BUILD@
+CC_FOR_BUILD = @CC_FOR_BUILD@ @CFLAGS@
AR = @AR@
ARFLAGS = @ARFLAGS@
RM = rm -f
+79
View File
@@ -0,0 +1,79 @@
$NetBSD: patch-ah,v 1.1 2004/06/22 14:05:39 minskim Exp $
--- configure.orig 2002-07-16 08:31:47.000000000 -0500
+++ configure
@@ -10752,6 +10752,74 @@ EOF
fi
+echo "$as_me:10755: checking for wctype_t" >&5
+echo $ECHO_N "checking for wctype_t... $ECHO_C" >&6
+if test "${ac_cv_type_wctype_t+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#ifdef HAVE_WCHAR_H
+#include <wchar.h>
+#endif
+#ifdef HAVE_WCTYPE_H
+#include <wctype.h>
+#endif
+
+int
+main ()
+{
+if ((wctype_t *) 0)
+ return 0;
+if (sizeof (wctype_t))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:10785: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:10791: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:10795: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:10798: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:10801: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:10804: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_type_wctype_t=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_type_wctype_t=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+echo "$as_me:10815: result: $ac_cv_type_wctype_t" >&5
+echo "${ECHO_T}$ac_cv_type_wctype_t" >&6
+if test $ac_cv_type_wctype_t = yes; then
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_WCTYPE_T 1
+_ACEOF
+fi
+
if test "$ac_cv_sizeof_short" = 2; then
echo "$as_me:10756: checking for bits16_t" >&5
echo $ECHO_N "checking for bits16_t... $ECHO_C" >&6
+14
View File
@@ -0,0 +1,14 @@
$NetBSD: patch-ai,v 1.1 2004/06/22 14:05:39 minskim Exp $
--- config.h.in.orig 2004-06-21 09:46:10.000000000 -0500
+++ config.h.in
@@ -221,6 +221,9 @@
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
#undef HAVE_ALLOCA_H
+/* Define if you have wctype_t, as a type. */
+#undef HAVE_WCTYPE_T
+
/* SYSTEM TYPES */
+21
View File
@@ -0,0 +1,21 @@
$NetBSD: patch-aj,v 1.1 2004/06/22 14:05:39 minskim Exp $
--- configure.in.orig 2002-07-16 08:31:25.000000000 -0500
+++ configure.in
@@ -678,6 +678,16 @@ AC_CHECK_SIZEOF([long long], 8)
AC_CHECK_TYPE(u_int, [unsigned int])
AC_CHECK_TYPE(u_long, [unsigned long])
+AC_CHECK_TYPE(wctype_t,
+[ cat >>confdefs.h <<\_ACEOF
+#define HAVE_WCTYPE_T 1
+_ACEOF],,
+[#ifdef HAVE_WCHAR_H
+#include <wchar.h>
+#endif
+#ifdef HAVE_WCTYPE_H
+#include <wctype.h>
+#endif])
BASH_TYPE_BITS16_T
BASH_TYPE_U_BITS16_T
+12
View File
@@ -0,0 +1,12 @@
$NetBSD: patch-ak,v 1.1 2005/12/19 00:28:02 joerg Exp $
--- builtins/psize.c.orig 2005-12-19 00:17:40.000000000 +0000
+++ builtins/psize.c
@@ -40,7 +40,6 @@
#include "../command.h"
#include "../general.h"
#include "../sig.h"
-extern int errno;
int nw;