sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Ismael Luceno (1219f5dba9a237f8366d260d0cee29d94b20c0b6)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (1219f5dba9a237f8366d260d0cee29d94b20c0b6)
- Date: Sat, 25 May 2019 01:53:47 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
ChangeLog | 1 +
database/vbisam/DETAILS | 14 ++++++++++++++
database/vbisam/HISTORY | 2 ++
database/vbisam/PRE_BUILD | 4 ++++
database/vbisam/patches/0001-Fix-off_t.patch | 22 ++++++++++++++++++++++
5 files changed, 43 insertions(+)
New commits:
commit 1219f5dba9a237f8366d260d0cee29d94b20c0b6
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
vbisam: new spell, ISAM File Handler
diff --git a/ChangeLog b/ChangeLog
index bd2b8b9..f0f2fd7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2019-05-25 Ismael Luceno <ismael AT sourcemage.org>
* libs/libiconv: new spell, GNU iconv implementation
+ * database/vbisam: new spell, ISAM File Handler
2019-05-24 Ismael Luceno <ismael AT sourcemage.org>
* libs/tzcode: new spell, The Time Zone Database code package
diff --git a/database/vbisam/DETAILS b/database/vbisam/DETAILS
new file mode 100755
index 0000000..bab9ed8
--- /dev/null
+++ b/database/vbisam/DETAILS
@@ -0,0 +1,14 @@
+ SPELL=vbisam
+ VERSION=2.0
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+
SOURCE_URL[0]=https://sourceforge.net/projects/${SPELL}/files/${SPELL}2/${SOURCE}
+
SOURCE_HASH=sha512:de66e5ad66be54e201f729ce62fd21033d522a96a54d90830a6fb899eab84e29febdcf0ba82c5369dbab6e04e059d07dc731c6db0d0d92ff6844b3ed9774f11e
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="https://sourceforge.net/projects/vbisam/"
+ LICENSE[0]="LGPLv2"
+ ENTERED=20190525
+ KEYWORDS=""
+ SHORT="ISAM File Handler"
+cat << EOF
+VBISAM is a replacement for Informix/IBM's C-ISAM.
+EOF
diff --git a/database/vbisam/HISTORY b/database/vbisam/HISTORY
new file mode 100644
index 0000000..0e0bf88
--- /dev/null
+++ b/database/vbisam/HISTORY
@@ -0,0 +1,2 @@
+2019-05-25 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS, PRE_BUILD: spell created
diff --git a/database/vbisam/PRE_BUILD b/database/vbisam/PRE_BUILD
new file mode 100755
index 0000000..49ddb90
--- /dev/null
+++ b/database/vbisam/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches &&
+sedit 's!maybe_os in$!& linux-musl*|\\!' config.sub
diff --git a/database/vbisam/patches/0001-Fix-off_t.patch
b/database/vbisam/patches/0001-Fix-off_t.patch
new file mode 100644
index 0000000..314135c
--- /dev/null
+++ b/database/vbisam/patches/0001-Fix-off_t.patch
@@ -0,0 +1,22 @@
+From: Ismael Luceno <ismael AT iodev.co.uk>
+
+Fix definition of off_t type to match the .c files; it does not make sense to
+use long long.
+
+--- a/vbisam.h
++++ b/vbisam.h
+@@ -22,13 +22,7 @@
+
+ #include <sys/types.h>
+
+-#define VBISAM_USE_LONG_LONG /* Note hack for now */
+-
+-#ifdef VBISAM_USE_LONG_LONG
+-#define vbisam_off_t long long
+-#else
+-#define vbisam_off_t int
+-#endif
++#define vbisam_off_t off_t
+
+ #include <vbdecimal.h>
+
- [SM-Commit] GIT changes to master grimoire by Ismael Luceno (1219f5dba9a237f8366d260d0cee29d94b20c0b6), Ismael Luceno, 05/24/2019
Archive powered by MHonArc 2.6.24.