summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarz <schwarz>2009-04-23 19:43:05 +0000
committerschwarz <schwarz>2009-04-23 19:43:05 +0000
commit2d2d5442c851a1880d54367a1e7d88a9cd9c7f0a (patch)
treec250a8ba9394e14dbc3ff07669cac1bcc6b29048
parentae1c6e3d6a0bc98fbd2ba60d4e60eec6d2c060e3 (diff)
downloadpkgsrc-2d2d5442c851a1880d54367a1e7d88a9cd9c7f0a.tar.gz
added patch-ac which includes stdbool.h on MacOS X to ensure that the bool
type is known. Without that, bool is not a known type to gcc on MacOS.
-rw-r--r--databases/unixodbc/distinfo3
-rw-r--r--databases/unixodbc/patches/patch-ac14
2 files changed, 16 insertions, 1 deletions
diff --git a/databases/unixodbc/distinfo b/databases/unixodbc/distinfo
index d96e87c6d03..6fefe206144 100644
--- a/databases/unixodbc/distinfo
+++ b/databases/unixodbc/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2008/10/03 16:43:27 joerg Exp $
+$NetBSD: distinfo,v 1.6 2009/04/23 19:43:05 schwarz Exp $
SHA1 (unixODBC-2.2.12.tar.gz) = d1cb286fb538c664549153165e2b9183b58a627b
RMD160 (unixODBC-2.2.12.tar.gz) = 13c9ec87c3fff4a1fceb45ff7a552a0fa8666b16
Size (unixODBC-2.2.12.tar.gz) = 2798077 bytes
SHA1 (patch-aa) = c83d0febf01dc079b9bfcdffb7ec5b022cbb9d90
SHA1 (patch-ab) = 76209187c65256a6fd7157c87600be6ce44ad407
+SHA1 (patch-ac) = 2e754242b2a1c90fb07e4cabb0bd537fd8eeb1a2
diff --git a/databases/unixodbc/patches/patch-ac b/databases/unixodbc/patches/patch-ac
new file mode 100644
index 00000000000..85e2e998db7
--- /dev/null
+++ b/databases/unixodbc/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2009/04/23 19:43:06 schwarz Exp $
+
+--- Drivers/Postgre7.1/md5.h.orig 2009-04-20 23:47:18.000000000 +0200
++++ Drivers/Postgre7.1/md5.h 2009-04-20 23:48:30.000000000 +0200
+@@ -13,6 +13,9 @@
+
+ #include <stdlib.h>
+ #include <string.h>
++#ifdef __APPLE__
++#include <stdbool.h>
++#endif
+
+ #define MD5_PASSWD_LEN 35
+