Skip to contentSkip to conversation

libewf: GCC5.x build fix

PATCH In review Armin Kuster 2 participants 2 messages May 6, 2015 – May 7, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libewf: GCC5.x build fix

Fix the following errors.
| ../libsmraw/.libs/libsmraw.a(libuna_utf8_string.o): In function `libuna_utf8_string_compare_with_utf32_stream':

---
 recipes-forensic/libewf/libewf_20130416.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-forensic/libewf/libewf_20130416.bb +3 -0
index c070b80..e9877c9 100644
@@ -23,4 +23,7 @@ PACKAGECONFIG[python] = "--enable-python, --disable-python, python"
 
 EXTRA_OECONF += "--with-gnu-ld --disable-rpath"
 
+#Needed for gcc 5
+CPPFLAGS += " -std=gnu89"
+
 RDEPENDS_${PN} += " util-linux-libuuid"
Signature · 1 line
2.3.5
#1 lore raw

recipes-forensic/libewf/libewf_20130416.bb PACKAGECONFIG[python] = "--enable-python, --disable-python, python" · line 27

Quoted 5 lines · Armin Kuster
recipes-forensic/libewf/libewf_20130416.bb +2 -0
+#Needed for gcc 5
+CPPFLAGS += " -std=gnu89"

thats a workaround. If you are at it then see if you can fix the package for it to support proper c99