summaryrefslogtreecommitdiff
path: root/databases/libgda
diff options
context:
space:
mode:
authorobache <obache>2006-12-06 12:14:00 +0000
committerobache <obache>2006-12-06 12:14:00 +0000
commit51454ed5def7b4b9dca20edd8e285b71ee970236 (patch)
tree6f25127d6dee6a59aada7487f543f0b4c773b5f0 /databases/libgda
parent24b8348e74b4f5dc11a4c9e7ebf0755750a978c5 (diff)
downloadpkgsrc-51454ed5def7b4b9dca20edd8e285b71ee970236.tar.gz
Portability fix again.
Instead of sys_errlist[], use strerror(3), ANSI C89 function. At least, Solaris in LP64 don't have sys_errlist.
Diffstat (limited to 'databases/libgda')
-rw-r--r--databases/libgda/distinfo3
-rw-r--r--databases/libgda/patches/patch-ak13
2 files changed, 15 insertions, 1 deletions
diff --git a/databases/libgda/distinfo b/databases/libgda/distinfo
index 40a24313f19..8f4b68aeed9 100644
--- a/databases/libgda/distinfo
+++ b/databases/libgda/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2006/12/06 08:52:31 obache Exp $
+$NetBSD: distinfo,v 1.24 2006/12/06 12:14:00 obache Exp $
SHA1 (libgda-1.99.1.tar.bz2) = bdd5b113e8b2a63974a85e91f65da07f1838324a
RMD160 (libgda-1.99.1.tar.bz2) = cd7376f906f052253e244300950f52b24b2375c2
@@ -9,3 +9,4 @@ SHA1 (patch-ad) = ffd20b94beaa79787f36d30863a2413f84ae935d
SHA1 (patch-ah) = 1a2ef8200b2ccedb632e7f952c7e214128c51693
SHA1 (patch-ai) = a6e77a2accf5e53002902a991968ec46c439746c
SHA1 (patch-aj) = e42905b1b74de4d85e13b5164ac86914b597c7cb
+SHA1 (patch-ak) = 81e4d71c96837d888705d9eb7269fc08eb5a0187
diff --git a/databases/libgda/patches/patch-ak b/databases/libgda/patches/patch-ak
new file mode 100644
index 00000000000..b6c192502eb
--- /dev/null
+++ b/databases/libgda/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.1 2006/12/06 12:14:00 obache Exp $
+
+--- providers/sqlite/gda-sqlite-provider.c.orig 2006-10-13 18:28:55.000000000 +0000
++++ providers/sqlite/gda-sqlite-provider.c
+@@ -750,7 +750,7 @@ gda_sqlite_provider_perform_operation (G
+
+ if (g_unlink (filename)) {
+ g_set_error (error, 0, 0,
+- sys_errlist [errno]);
++ strerror (errno));
+ retval = FALSE;
+ }
+ g_free (filename);