]> git.deb.at Git - pkg/abook.git/commitdiff
Revert "Fix FTBFS with clang (Closes: #756536)"
authorRhonda D'Vine <rhonda@deb.at>
Fri, 12 Nov 2021 11:23:11 +0000 (12:23 +0100)
committerRhonda D'Vine <rhonda@deb.at>
Fri, 12 Nov 2021 11:23:11 +0000 (12:23 +0100)
This reverts commit 4608c09338cbda50a6076ae82e1d20849656775e.

debian/changelog
debian/patches/clang-ftbfs.diff [deleted file]
debian/patches/series

index 5be871639413a978c75625480581b43553166ca0..a8fb87c04635e8845f883e9952a091b93090d575 100644 (file)
@@ -7,11 +7,6 @@ abook (0.6.1-2) unstable; urgency=low
   [ Bastian Germann ]
   * Complete debian/copyright (Closes: #995843, #979098)
 
-  [ Arthur Marble ]
-  * Fix FTBFS with clang (Closes: #756536)
-    - Fixed undefined reference error
-      changed inline int field_id to int field_id
-
   [ Rhonda D'Vine ]
   * Bump debhelper-compat to 13.
 
diff --git a/debian/patches/clang-ftbfs.diff b/debian/patches/clang-ftbfs.diff
deleted file mode 100644 (file)
index 262e99c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/database.h
-+++ b/database.h
-@@ -60,7 +60,7 @@ struct db_enumerator {
- /*
-  * Field operations
-  */
--inline int field_id(int i);
-+static 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)
index 9d52638f083fb79086dc2c1315233a06d0edc16a..c8c0863f23d4a98448424c9af0895ec518f49dac 100644 (file)
@@ -1,3 +1,2 @@
 859407.diff
 fix_spelling_error_in_binary.diff
-clang-ftbfs.diff