Skip to contentSkip to conversation

Fix compilation on armhf/Musl

PATCH Applied Clayton Craft 2 participants 3 messages Sep 8, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix compilation on armhf/Musl

The following patch is needed to successfully build ofono on armhf with musl (in place of libc)

gril/parcel.h +1 -0
index e5592ae1..46887890 100644
@@ -23,6 +23,7 @@
 #define __PARCEL_H
 
 #include <stdlib.h>
+#include <stdint.h>
 
 struct parcel {
        char *data;
plugins/gemalto.c +1 -0
index 011713e6..45ec0cf9 100644
@@ -25,6 +25,7 @@
 
 #include <errno.h>
 #include <stdlib.h>
+#include <stdint.h>
 
 #include <glib.h>
 #include <gatchat.h>
#1 lore raw

Hi Clayton,

Quoted 4 lines · Clayton Craft

The following patch is needed to successfully build ofono on armhf with musl (in place of libc)

Applied. Please note that I had to hand-apply this patch since it didn't apply cleanly. Are you using the latest git?

Also, I split this into two commits per our Patch submission guidelines.
See 'HACKING' document in git.

Regards,
-Denis

#2 lore raw
Quoted 2 lines

Applied. Please note that I had to hand-apply this patch since it didn't apply cleanly. Are you using the latest git?

Hmm, I am using the latest git (well as of earlier this morning).

Quoted 2 lines

Also, I split this into two commits per our Patch submission guidelines. See 'HACKING' document in git.

Shoot, I'm sorry. I will re-read the HACKING document :)

-Clayton

Quoted 16 lines · Denis Kenzior

Hi Clayton,

Quoted 4 lines · Clayton Craft

The following patch is needed to successfully build ofono on armhf with musl (in place of libc)

Applied. Please note that I had to hand-apply this patch since it didn't apply cleanly. Are you using the latest git?

Also, I split this into two commits per our Patch submission guidelines. See 'HACKING' document in git.

Regards,
-Denis