diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-13 15:20:54 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-13 15:23:03 +0100 |
commit | 32e5d400524f2ca57689f6f79bd6af735c2ca440 (patch) | |
tree | f3a23076389251758acd6f55a36f0c4e88ea87b3 /community/abook/gcc6.patch | |
parent | d3570043ddf71bc76596865a45651011ec75a7b8 (diff) | |
download | aports-32e5d400524f2ca57689f6f79bd6af735c2ca440.tar.bz2 aports-32e5d400524f2ca57689f6f79bd6af735c2ca440.tar.xz |
community/abook: move from testing
Diffstat (limited to 'community/abook/gcc6.patch')
-rw-r--r-- | community/abook/gcc6.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/abook/gcc6.patch b/community/abook/gcc6.patch new file mode 100644 index 0000000000..e7422187e3 --- /dev/null +++ b/community/abook/gcc6.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) |