diff options
author | wiz <wiz@pkgsrc.org> | 2014-12-30 15:39:51 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-12-30 15:39:51 +0000 |
commit | ce7b7e449708df52a7aa92d843ad74d5c9911c06 (patch) | |
tree | b6d3566d9dda2d4912fd9f0198e17fbc8a0d1ab6 /lang/qore/patches | |
parent | 75727368c8392fffde1b28f1233b58b777b20e65 (diff) | |
download | pkgsrc-ce7b7e449708df52a7aa92d843ad74d5c9911c06.tar.gz |
Import qore-0.8.11nb2 as lang/qore, packaged for wip by nros.
Qore is a modular, multi-threaded, SQL-integrated dynamically typed
scripting language with optional hard typing and procedural and
object-oriented features, powerful and easy-to-use data types,
structures, and operators, a clean and easy-to-lean/read syntax.
Diffstat (limited to 'lang/qore/patches')
-rw-r--r-- | lang/qore/patches/patch-configure | 21 | ||||
-rw-r--r-- | lang/qore/patches/patch-include_qore_QoreFile.h | 16 |
2 files changed, 37 insertions, 0 deletions
diff --git a/lang/qore/patches/patch-configure b/lang/qore/patches/patch-configure new file mode 100644 index 00000000000..f1aa9ad7c7a --- /dev/null +++ b/lang/qore/patches/patch-configure @@ -0,0 +1,21 @@ +$NetBSD: patch-configure,v 1.1 2014/12/30 15:39:51 wiz Exp $ +pkgsrc doesn't use lib64 or targetdir so don't set it. +fixes build on linux. +http://sf.net/p/qore/code/6817/ +--- configure.orig 2014-10-31 18:50:53.724785164 +0000 ++++ configure +@@ -17467,14 +17467,6 @@ if test "$enable_64bit" = "yes"; then + *linux*) if test "$GXX" = "yes"; then + CXXFLAGS="$CXXFLAGS -m64" + fi +- # only set LIBSUFFIX=64 if /usr/lib64 exists +- if test -d /usr/lib64; then +- LIBSUFFIX=64 +- fi +- target="${host_cpu}-${host_os}" +- if test -d /usr/lib/$target; then +- LIBSUFFIX=/$target +- fi + + ;; + *hpux*) if test "$host_cpu" = "ia64"; then diff --git a/lang/qore/patches/patch-include_qore_QoreFile.h b/lang/qore/patches/patch-include_qore_QoreFile.h new file mode 100644 index 00000000000..be07fdc7be6 --- /dev/null +++ b/lang/qore/patches/patch-include_qore_QoreFile.h @@ -0,0 +1,16 @@ +$NetBSD: patch-include_qore_QoreFile.h,v 1.1 2014/12/30 15:39:51 wiz Exp $ +* Fixes build on NetBSD 6 +http://sourceforge.net/p/qore/code/6803/ +--- include/qore/QoreFile.h.orig 2013-03-05 09:44:51.000000000 +0000 ++++ include/qore/QoreFile.h +@@ -34,6 +34,10 @@ + + #include <string> + ++#ifdef getchar ++#undef getchar ++#endif ++ + class QoreTermIOS; + class Queue; + |