pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/libgda Portability fix again.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ef40e5b0e9ed
branches: trunk
changeset: 522241:ef40e5b0e9ed
user: obache <obache%pkgsrc.org@localhost>
date: Wed Dec 06 12:14:00 2006 +0000
description:
Portability fix again.
Instead of sys_errlist[], use strerror(3), ANSI C89 function.
At least, Solaris in LP64 don't have sys_errlist.
diffstat:
databases/libgda/distinfo | 3 ++-
databases/libgda/patches/patch-ak | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 561670c9ae24 -r ef40e5b0e9ed databases/libgda/distinfo
--- a/databases/libgda/distinfo Wed Dec 06 12:09:39 2006 +0000
+++ b/databases/libgda/distinfo Wed Dec 06 12:14:00 2006 +0000
@@ -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-ah) = 1a2ef8200b2ccedb632e7f952c7e214128c51693
SHA1 (patch-ai) = a6e77a2accf5e53002902a991968ec46c439746c
SHA1 (patch-aj) = e42905b1b74de4d85e13b5164ac86914b597c7cb
+SHA1 (patch-ak) = 81e4d71c96837d888705d9eb7269fc08eb5a0187
diff -r 561670c9ae24 -r ef40e5b0e9ed databases/libgda/patches/patch-ak
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/libgda/patches/patch-ak Wed Dec 06 12:14:00 2006 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index