summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/gsm
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/gsm')
-rw-r--r--meta/recipes-connectivity/gsm/files/fix_machine_init.patch21
-rw-r--r--meta/recipes-connectivity/gsm/gsmd.inc8
2 files changed, 18 insertions, 11 deletions
diff --git a/meta/recipes-connectivity/gsm/files/fix_machine_init.patch b/meta/recipes-connectivity/gsm/files/fix_machine_init.patch
index 808bb17b4..9fb64660f 100644
--- a/meta/recipes-connectivity/gsm/files/fix_machine_init.patch
+++ b/meta/recipes-connectivity/gsm/files/fix_machine_init.patch
@@ -1,22 +1,25 @@
-Index: src/gsmd/gsmd.c
-===================================================================
---- a/src/gsmd/gsmd.c (revision 4304)
-+++ b/src/gsmd/gsmd.c (working copy)
-@@ -196,13 +196,13 @@
+Rebase the patch to latest version.
+
+By Dongxiao Xu <dongxiao.xu@intel.com>
+
+diff -ruN gsm-orig/src/gsmd/gsmd.c gsm/src/gsmd/gsmd.c
+--- gsm-orig/src/gsmd/gsmd.c 2010-11-25 10:14:22.000000000 +0800
++++ gsm/src/gsmd/gsmd.c 2010-11-25 10:14:52.000000000 +0800
+@@ -196,14 +196,11 @@
sms_cb_init(gsmd);
- if (gsmd->vendorpl && gsmd->vendorpl->initsettings){
+ if (gsmd->vendorpl && gsmd->vendorpl->initsettings)
rc |= gsmd->vendorpl->initsettings(gsmd);
-+
-+ if (gsmd->machinepl && gsmd->machinepl->initsettings)
- rc |= gsmd->machinepl->initsettings(gsmd);
+- if (gsmd->machinepl && gsmd->machinepl->initsettings)
+- rc |= gsmd->machinepl->initsettings(gsmd);
- return rc;
- }
- else
- return rc;
-+
++ if (gsmd->machinepl && gsmd->machinepl->initsettings)
++ rc |= gsmd->machinepl->initsettings(gsmd);
+ return rc;
}
diff --git a/meta/recipes-connectivity/gsm/gsmd.inc b/meta/recipes-connectivity/gsm/gsmd.inc
index 02ea4538f..981818863 100644
--- a/meta/recipes-connectivity/gsm/gsmd.inc
+++ b/meta/recipes-connectivity/gsm/gsmd.inc
@@ -1,12 +1,16 @@
SUMMARY = "GSM libraries and daemons"
DESCRIPTION = "GSM libraries and daemons implementing the 07.10 specification"
HOMEPAGE = "http://www.openmoko.org"
-LICENSE = "GPL LGPL"
+LICENSE = "GPLv2+ & LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
+ file://COPYING.library;md5=2d5025d4aa3495befef8f17206a5b0a1 \
+ file://src/util/event.c;beginline=1;endline=21;md5=7fc982f6308a591d1e3581e59c6768ce \
+ file://src/libgsmd/libgsmd_sms.c;beginline=1;endline=19;md5=7bd4cdfab49cfba6a2afc020ee0b0806"
SECTION = "libs/gsm"
PROVIDES += "gsmd"
RPROVIDES_${PN} = "libgsmd0 libgsmd gsmd gsmd-devel"
PV = "0.1+svnr${SRCREV}"
-PR = "r47"
+PR = "r0"
SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \
file://fix_machine_init.patch;patch=1 \