Import of pkgsrc-2015Q3

This commit is contained in:
2016-01-21 23:42:40 +01:00
committed by sambuc
parent f641581404
commit 9d819b6d54
7578 changed files with 228313 additions and 80017 deletions
@@ -1,13 +1,13 @@
$NetBSD: patch-config.mk.in,v 1.1 2015/05/20 13:26:45 ryoon Exp $
$NetBSD: patch-config.mk.in,v 1.2 2015/09/02 12:39:33 fhajny Exp $
--- config.mk.in.orig 2015-04-18 05:29:10.000000000 +0000
--- config.mk.in.orig 2015-08-24 07:39:39.000000000 +0000
+++ config.mk.in
@@ -778,7 +778,7 @@ MODULERENAME = $(top_builddir)/moduleren
@@ -861,7 +861,7 @@ MODULERENAME = $(top_builddir)/moduleren
# build directories
-INSTALLSUBDIRS = install-src install-bin install-etc install-init install-man install-doc install-pkgconfig
+INSTALLSUBDIRS = install-src install-bin install-etc install-man install-doc install-pkgconfig
UNINSTALLSUBDIRS = uninstall-src uninstall-bin uninstall-etc uninstall-init uninstall-man uninstall-doc uninstall-pkgconfig
-INSTALLSUBDIRS = install-src install-bin install-etc install-init install-man install-doc install-license install-pkgconfig
+INSTALLSUBDIRS = install-src install-bin install-etc install-man install-doc install-license install-pkgconfig
UNINSTALLSUBDIRS = uninstall-src uninstall-bin uninstall-etc uninstall-init uninstall-man uninstall-doc uninstall-license uninstall-pkgconfig
ifeq ($(SQLRELAY_ENABLE_SHARED),yes)
+10 -10
View File
@@ -1,9 +1,9 @@
$NetBSD: patch-configure,v 1.3 2015/05/20 13:26:45 ryoon Exp $
$NetBSD: patch-configure,v 1.4 2015/09/02 12:39:33 fhajny Exp $
Look for history/readline at proper places.
--- configure.orig 2015-04-08 22:16:40.000000000 +0000
--- configure.orig 2015-08-16 02:25:15.000000000 +0000
+++ configure
@@ -17567,7 +17567,7 @@ fi
@@ -17662,7 +17662,7 @@ fi
$as_echo_n "checking for history... " >&6; }
@@ -12,7 +12,7 @@ Look for history/readline at proper places.
NAME=history
HEADER=readline/history.h
LIBNAME=history
@@ -17903,7 +17903,7 @@ fi
@@ -17998,7 +17998,7 @@ fi
$as_echo_n "checking for readline... " >&6; }
@@ -21,7 +21,7 @@ Look for history/readline at proper places.
NAME=readline
HEADER=readline/readline.h
LIBNAME=readline
@@ -18511,7 +18511,7 @@ rm -f core conftest.err conftest.$ac_obj
@@ -18606,7 +18606,7 @@ rm -f core conftest.err conftest.$ac_obj
@@ -30,12 +30,12 @@ Look for history/readline at proper places.
NAME=iconv
HEADER=iconv.h
LIBNAME=iconv
@@ -32389,7 +32389,7 @@ print "arch = "
print CONFIG["arch"]
@@ -33144,7 +33144,7 @@ print CONFIG["arch"]
print "\n"
print "ruby_version = "
begin
-print Config::CONFIG["ruby_version"]
+print RbConfig::CONFIG["ruby_version"]
print "\n"
print "prefix = "
print CONFIG["prefix"].sub(drive, "")
rescue
print CONFIG["ruby_version"]
end
@@ -0,0 +1,24 @@
$NetBSD: patch-src_api_nodejs_sqlrelay.cpp,v 1.1 2015/09/21 17:46:36 fhajny Exp $
Add support for nodejs>=4.0.0.
--- src/api/nodejs/sqlrelay.cpp.orig 2015-07-05 02:55:20.000000000 +0000
+++ src/api/nodejs/sqlrelay.cpp
@@ -13,7 +13,7 @@ using namespace v8;
using namespace node;
// macros to deal with differences between major versions of node.js
-#if NODE_MINOR_VERSION >= 12
+#if NODE_MAJOR_VERSION >= 4 || ( NODE_MAJOR_VERSION < 1 && NODE_MINOR_VERSION >= 12 )
#define RET void
#define ARGS FunctionCallbackInfo<Value>
@@ -84,7 +84,7 @@ using namespace node;
#define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(arg)))
#define toArray(arg) Handle<Array>::Cast(arg);
-#if NODE_MINOR_VERSION >= 12
+#if NODE_MAJOR_VERSION >= 4 || ( NODE_MAJOR_VERSION < 1 && NODE_MINOR_VERSION >= 12 )
#define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments")))
#define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type")))
#else
@@ -0,0 +1,35 @@
$NetBSD: patch-src_api_php_sql__relay.cpp,v 1.3 2015/07/05 12:52:39 joerg Exp $
--- src/api/php/sql_relay.cpp.orig 2015-07-05 10:40:12.000000000 +0000
+++ src/api/php/sql_relay.cpp
@@ -16,29 +16,7 @@
#define ZTS 1
#endif
-extern "C" {
- #ifndef WIN32
- #ifdef __cplusplus
- #undef __cplusplus
- #define cpluspluswasdefined
- #endif
- #ifndef HAVE_SOCKLEN_T
- #define HAVE_SOCKLEN_T
- #endif
- #ifndef _WCHAR_T_DECLARED
- #define _WCHAR_T_DECLARED
- #endif
- #ifndef _WCHAR_T_DEFINED_
- #define _WCHAR_T_DEFINED_
- #endif
- #endif
- #include <php.h>
- #ifndef WIN32
- #ifdef cpluspluswasdefined
- #define __cplusplus
- #endif
- #endif
-}
+#include <php.h>
#include <config.h>
@@ -1,31 +1,15 @@
$NetBSD: patch-src_api_ruby_getcflags.rb,v 1.1 2015/05/20 13:26:45 ryoon Exp $
$NetBSD: patch-src_api_ruby_getcflags.rb,v 1.2 2015/09/02 12:39:33 fhajny Exp $
* Fix Ruby 2.2 build.
--- src/api/ruby/getcflags.rb.orig 2011-07-16 00:49:53.000000000 +0000
--- src/api/ruby/getcflags.rb.orig 2015-08-15 01:50:31.000000000 +0000
+++ src/api/ruby/getcflags.rb
@@ -6,19 +6,19 @@ require "mkmf"
drive = File::PATH_SEPARATOR == ";" ? /\A\w:/ : /\A/
print "\n"
print "arch = "
-print CONFIG["arch"]
+print RbConfig::CONFIG["arch"]
print "\n"
print "sitearch = "
-print CONFIG["sitearch"]
+print RbConfig::CONFIG["sitearch"]
@@ -10,7 +10,7 @@ print CONFIG["sitearch"]
print "\n"
print "ruby_version = "
begin
-print Config::CONFIG["ruby_version"]
+print RbConfig::CONFIG["ruby_version"]
print "\n"
print "prefix = "
-print CONFIG["prefix"].sub(drive, "")
+print RbConfig::CONFIG["prefix"].sub(drive, "")
print "\n"
print "exec_prefix = "
-print CONFIG["exec_prefix"].sub(drive, "")
+print RbConfig::CONFIG["exec_prefix"].sub(drive, "")
print "\n"
print "libdir = "
print $libdir.sub(drive, "")
rescue
print CONFIG["ruby_version"]
end
@@ -1,10 +1,10 @@
$NetBSD: patch-src_api_ruby_getsitearchdir.rb,v 1.1 2015/05/20 13:26:45 ryoon Exp $
$NetBSD: patch-src_api_ruby_getsitearchdir.rb,v 1.2 2015/09/02 12:39:33 fhajny Exp $
* Fix Ruby 2.2 build.
--- src/api/ruby/getsitearchdir.rb.orig 2015-04-09 01:48:10.000000000 +0000
--- src/api/ruby/getsitearchdir.rb.orig 2015-08-15 00:27:59.000000000 +0000
+++ src/api/ruby/getsitearchdir.rb
@@ -1,19 +1,19 @@
@@ -1,35 +1,35 @@
require "mkmf"
drive = File::PATH_SEPARATOR == ";" ? /\A\w:/ : /\A/
print "arch = "
@@ -16,8 +16,13 @@ $NetBSD: patch-src_api_ruby_getsitearchdir.rb,v 1.1 2015/05/20 13:26:45 ryoon Ex
+print RbConfig::CONFIG["sitearch"]
print "\n"
print "ruby_version = "
begin
-print Config::CONFIG["ruby_version"]
+print RbConfig::CONFIG["ruby_version"]
rescue
-print CONFIG["ruby_version"]
+print RbConfig::CONFIG["ruby_version"]
end
print "\n"
print "prefix = "
-print CONFIG["prefix"].sub(drive, "").sub("$(DESTDIR)","")
@@ -29,3 +34,19 @@ $NetBSD: patch-src_api_ruby_getsitearchdir.rb,v 1.1 2015/05/20 13:26:45 ryoon Ex
print "\n"
print "libdir = "
print $libdir.sub(drive, "").sub("$(DESTDIR)","")
print "\n"
-if CONFIG["RUBY_BASE_NAME"]!=nil then
+if RbConfig::CONFIG["RUBY_BASE_NAME"]!=nil then
print "RUBY_BASE_NAME = "
- print CONFIG["RUBY_BASE_NAME"]
+ print RbConfig::CONFIG["RUBY_BASE_NAME"]
print "\n"
end
-if CONFIG["rubylibprefix"]!=nil then
+if RbConfig::CONFIG["rubylibprefix"]!=nil then
print "rubylibprefix = "
- print CONFIG["rubylibprefix"].sub(drive, "").sub("$(DESTDIR)","")
+ print RbConfig::CONFIG["rubylibprefix"].sub(drive, "").sub("$(DESTDIR)","")
print "\n"
end
print "rubylibdir = "