summaryrefslogtreecommitdiffstats
path: root/meta/packages/gsm
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gsm')
-rw-r--r--meta/packages/gsm/files/fix_machine_init.patch23
-rw-r--r--meta/packages/gsm/gsmd.inc3
2 files changed, 25 insertions, 1 deletions
diff --git a/meta/packages/gsm/files/fix_machine_init.patch b/meta/packages/gsm/files/fix_machine_init.patch
new file mode 100644
index 0000000000..808bb17b42
--- /dev/null
+++ b/meta/packages/gsm/files/fix_machine_init.patch
@@ -0,0 +1,23 @@
1Index: src/gsmd/gsmd.c
2===================================================================
3--- a/src/gsmd/gsmd.c (revision 4304)
4+++ b/src/gsmd/gsmd.c (working copy)
5@@ -196,13 +196,13 @@
6
7 sms_cb_init(gsmd);
8
9- if (gsmd->vendorpl && gsmd->vendorpl->initsettings){
10+ if (gsmd->vendorpl && gsmd->vendorpl->initsettings)
11 rc |= gsmd->vendorpl->initsettings(gsmd);
12+
13+ if (gsmd->machinepl && gsmd->machinepl->initsettings)
14 rc |= gsmd->machinepl->initsettings(gsmd);
15- return rc;
16- }
17- else
18- return rc;
19+
20+ return rc;
21 }
22
23 static int firstcmd_response = 0;
diff --git a/meta/packages/gsm/gsmd.inc b/meta/packages/gsm/gsmd.inc
index 4ce23d51f5..ac341ed7ce 100644
--- a/meta/packages/gsm/gsmd.inc
+++ b/meta/packages/gsm/gsmd.inc
@@ -5,9 +5,10 @@ SECTION = "libs/gsm"
5PROVIDES += "gsmd" 5PROVIDES += "gsmd"
6RPROVIDES_${PN} = "libgsmd0 libgsmd gsmd gsmd-devel" 6RPROVIDES_${PN} = "libgsmd0 libgsmd gsmd gsmd-devel"
7PV = "0.1+svnr${SRCREV}" 7PV = "0.1+svnr${SRCREV}"
8PR = "r44" 8PR = "r45"
9 9
10SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \ 10SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \
11 file://fix_machine_init.patch;patch=1 \
11 file://gsmd \ 12 file://gsmd \
12 file://default" 13 file://default"
13S = "${WORKDIR}/gsm" 14S = "${WORKDIR}/gsm"