pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/myodbc *BSD dosen't have strndup.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b6c8902821a
branches:  trunk
changeset: 523879:6b6c8902821a
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Jan 14 14:37:44 2007 +0000

description:
*BSD dosen't have strndup.
Pointed out by Yasushi Oshima in PR 33160.

Bump PKGREVISION.

diffstat:

 databases/myodbc/Makefile         |   4 ++--
 databases/myodbc/distinfo         |   3 ++-
 databases/myodbc/patches/patch-ab |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r bc70b105524b -r 6b6c8902821a databases/myodbc/Makefile
--- a/databases/myodbc/Makefile Sun Jan 14 14:29:52 2007 +0000
+++ b/databases/myodbc/Makefile Sun Jan 14 14:37:44 2007 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.16 2007/01/14 12:28:56 obache Exp $
+# $NetBSD: Makefile,v 1.17 2007/01/14 14:37:44 obache Exp $
 #
 
 DISTNAME=      mysql-connector-odbc-3.51.12
 PKGNAME=       ${DISTNAME:S/mysql-connector-odbc/myodbc/}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_MYSQL:=MyODBC3/}
 
diff -r bc70b105524b -r 6b6c8902821a databases/myodbc/distinfo
--- a/databases/myodbc/distinfo Sun Jan 14 14:29:52 2007 +0000
+++ b/databases/myodbc/distinfo Sun Jan 14 14:37:44 2007 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2006/01/23 18:53:45 xtraeme Exp $
+$NetBSD: distinfo,v 1.5 2007/01/14 14:37:44 obache Exp $
 
 SHA1 (mysql-connector-odbc-3.51.12.tar.gz) = c4a8de079b255d2aa745295f4121ec5e9091de59
 RMD160 (mysql-connector-odbc-3.51.12.tar.gz) = 295bdca51ad5fd7bf0a56ccb161fe5a0463e71ef
 Size (mysql-connector-odbc-3.51.12.tar.gz) = 979942 bytes
 SHA1 (patch-aa) = d49eb5b4c637303063784a63790411342593b855
+SHA1 (patch-ab) = a1a5da635425ccd029d12d00cb1ac3516618db45
diff -r bc70b105524b -r 6b6c8902821a databases/myodbc/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/myodbc/patches/patch-ab Sun Jan 14 14:37:44 2007 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2007/01/14 14:37:44 obache Exp $
+
+--- util/MYODBCUtilReadDataSourceStr.c.orig    2005-10-09 19:33:40.000000000 +0000
++++ util/MYODBCUtilReadDataSourceStr.c
+@@ -19,8 +19,9 @@
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
+ 
+ #include "MYODBCUtil.h"
++#include <sys/param.h>
+ 
+-#if defined(__APPLE__) || defined(WIN32) || defined(__sparc)
++#if defined(__APPLE__) || defined(WIN32) || defined(__sparc) || defined(BSD)
+ char *strndup( const char *s, size_t n )
+ {
+     size_t nAvail;



Home | Main Index | Thread Index | Old Index