summaryrefslogtreecommitdiff
path: root/databases/abook
diff options
context:
space:
mode:
authorjoerg <joerg>2011-08-20 15:27:09 +0000
committerjoerg <joerg>2011-08-20 15:27:09 +0000
commit6888e7b1a9dede5ef7868245062d4da631bc22d3 (patch)
tree8546ead047bcb3c8ecc3a597adaa52f6e42f338e /databases/abook
parentaae4b9a3c54e349e1efc42717b140efa9e467a55 (diff)
downloadpkgsrc-6888e7b1a9dede5ef7868245062d4da631bc22d3.tar.gz
Fix build with Clang
Diffstat (limited to 'databases/abook')
-rw-r--r--databases/abook/distinfo3
-rw-r--r--databases/abook/patches/patch-database.h13
2 files changed, 15 insertions, 1 deletions
diff --git a/databases/abook/distinfo b/databases/abook/distinfo
index 1d7b58ab43f..4c7097ce872 100644
--- a/databases/abook/distinfo
+++ b/databases/abook/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.11 2011/02/18 23:56:48 shattered Exp $
+$NetBSD: distinfo,v 1.12 2011/08/20 15:27:09 joerg Exp $
SHA1 (abook-0.6.0pre2.tar.gz) = 42a939fba43e51aa011fa185113c12ec4bc1e1ec
RMD160 (abook-0.6.0pre2.tar.gz) = 7b69dff4678e6deccc48ee3040f019c9a95463a9
Size (abook-0.6.0pre2.tar.gz) = 411412 bytes
+SHA1 (patch-database.h) = 7debc679591bf0d05c345e36ab38035786ce693b
diff --git a/databases/abook/patches/patch-database.h b/databases/abook/patches/patch-database.h
new file mode 100644
index 00000000000..68e5a83e7f8
--- /dev/null
+++ b/databases/abook/patches/patch-database.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-database.h,v 1.1 2011/08/20 15:27:09 joerg Exp $
+
+--- database.h.orig 2011-08-20 13:47:08.000000000 +0000
++++ database.h
+@@ -60,7 +60,7 @@ struct db_enumerator {
+ /*
+ * Field operations
+ */
+-inline int field_id(int i);
++int field_id(int i);
+ abook_field *find_standard_field(char *key, int do_declare);
+ abook_field *real_find_field(char *key, abook_field_list *list, int *nb);
+ #define find_field(key, list) real_find_field(key, list, NULL)