summaryrefslogtreecommitdiff
path: root/office/abook/gcc5.patch
diff options
context:
space:
mode:
authorFrédéric Galusik <slack+SBo@galusik.xyz>2017-04-17 07:57:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-17 18:11:20 +0700
commita6f7d04d82e20ec9e1af7e3c72a5de580577dc65 (patch)
tree0177f3cae5bcf94f9a9a9989fe511a0efbb30348 /office/abook/gcc5.patch
parent4f0f8a85d4e334a6f3418a9720dc257385f201ef (diff)
downloadslackbuilds-a6f7d04d82e20ec9e1af7e3c72a5de580577dc65.tar.gz
office/abook: Updated for version 0.6.1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/abook/gcc5.patch')
-rw-r--r--office/abook/gcc5.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/office/abook/gcc5.patch b/office/abook/gcc5.patch
new file mode 100644
index 0000000000..e7422187e3
--- /dev/null
+++ b/office/abook/gcc5.patch
@@ -0,0 +1,24 @@
+diff -up abook-git-6e550af8a907a680dc845c22a7d6c36d89e900c1/database.c.gcc5 abook-git-6e550af8a907a680dc845c22a7d6c36d89e900c1/database.c
+--- abook-git-6e550af8a907a680dc845c22a7d6c36d89e900c1/database.c.gcc5 2014-11-28 16:29:52.000000000 +0100
++++ abook-git-6e550af8a907a680dc845c22a7d6c36d89e900c1/database.c 2015-02-11 16:02:15.837789303 +0100
+@@ -859,7 +859,7 @@ item_merge(list_item dest, list_item src
+ */
+
+ /* quick lookup by "standard" field number */
+-inline int
++extern inline int
+ field_id(int i)
+ {
+ assert((i >= 0) && (i < ITEM_FIELDS));
+diff -up abook-git-6e550af8a907a680dc845c22a7d6c36d89e900c1/database.h.gcc5 abook-git-6e550af8a907a680dc845c22a7d6c36d89e900c1/database.h
+--- abook-git-6e550af8a907a680dc845c22a7d6c36d89e900c1/database.h.gcc5 2014-11-28 16:29:52.000000000 +0100
++++ abook-git-6e550af8a907a680dc845c22a7d6c36d89e900c1/database.h 2015-02-11 16:02:23.465818915 +0100
+@@ -61,7 +61,7 @@ struct db_enumerator {
+ /*
+ * Field operations
+ */
+-inline int field_id(int i);
++extern inline 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)