slackbuilds_ponce/system/udftools/udftools-1.0.0b3-gcc5.patch
Matteo Bernardini ecd45b8a45
system/udftools: Fix building with gcc-5.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2016-07-17 07:49:40 +07:00

13 lines
642 B
Diff

--- udftools-1.0.0b3/include/libudffs.h 2004-02-23 04:33:11.000000000 +0100
+++ udftools-1.0.0b3/include/libudffs.h 2015-06-27 18:53:17.000000000 +0200
@@ -169,8 +169,8 @@
struct udf_data *alloc_data(void *, int);
/* desc.c */
-inline struct impUseVolDescImpUse *query_iuvdiu(struct udf_disc *);
-inline struct logicalVolIntegrityDescImpUse *query_lvidiu(struct udf_disc *);
+extern inline struct impUseVolDescImpUse *query_iuvdiu(struct udf_disc *);
+extern inline struct logicalVolIntegrityDescImpUse *query_lvidiu(struct udf_disc *);
/* file.c */
tag query_tag(struct udf_disc *, struct udf_extent *, struct udf_desc *, uint16_t);