temp/modemmanager: Fix sending SMS with UTF-16 characters (MR 1714)
Upstream: no Patch recommended by Aleksander Morgado in upstream issue, until a proper fix is developed: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/274#note_671679
This commit is contained in:
parent
a27209ac29
commit
68ef03efbc
2 changed files with 24 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
pkgname=modemmanager
|
||||
pkgver=9999
|
||||
_pkgver=1.14.6
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="ModemManager library"
|
||||
url="http://www.freedesktop.org/wiki/Software/ModemManager"
|
||||
arch="armhf armv7 aarch64"
|
||||
|
@ -25,7 +25,8 @@ source="https://www.freedesktop.org/software/ModemManager/ModemManager-$_pkgver.
|
|||
$pkgname.rules
|
||||
$pkgname.initd
|
||||
rpmsg.patch
|
||||
rpmsg-udev.rules"
|
||||
rpmsg-udev.rules
|
||||
utf16.patch"
|
||||
builddir="$srcdir"/ModemManager-$_pkgver
|
||||
|
||||
# Workaround build freeze with QEMU user emulation
|
||||
|
@ -88,4 +89,5 @@ sha512sums="b55fe9048e76228aba6e4cd3117a9e48cbb50a1a535f675a2356011d932035815616
|
|||
8d736f477649e42c05b34ac55391353c7f0c17138d039e049b16b07624d86fd9968ef1aa14672a63decf8b2c0ae984a34a0770322198b326775efba58f566685 modemmanager.rules
|
||||
e2769401c52c3fff0b8057c13c6f7f2e5656c2963239ecbd647a01e66a344f6852cf2ba065358248315945bdf6ebbc4976903565b12ace2d15df6586dcc1de5b modemmanager.initd
|
||||
64270c00630f3dd73b5e06547e441f5cf8d75b96032da423c4132af2fc84b2c35042800e105c66bae354d61c66b716cc602421ac0ff82f7b4a8f0ce798855e24 rpmsg.patch
|
||||
0928a7b658d0eeb37daf40930ea930b266151df743c2c7b1d863bce9447fedb904924a5e673732d5bc765dc2ec6d8f4a2b47bc946575e8f18712c0f7ee81fb73 rpmsg-udev.rules"
|
||||
0928a7b658d0eeb37daf40930ea930b266151df743c2c7b1d863bce9447fedb904924a5e673732d5bc765dc2ec6d8f4a2b47bc946575e8f18712c0f7ee81fb73 rpmsg-udev.rules
|
||||
7a88ea53600377e4a6bd652fa90036b7d8284dbaeb02c39f79501fc6f1368519291786df2fd8112b9b606da759d6e758be30fe558bab3a85a70e07e366362530 utf16.patch"
|
||||
|
|
19
temp/modemmanager/utf16.patch
Normal file
19
temp/modemmanager/utf16.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
temp/modemmanager: Fix sending SMS with UTF-16 characters
|
||||
|
||||
Upstream: no
|
||||
|
||||
Patch recommended by Aleksander Morgado in upstream issue, until a proper
|
||||
fix is developed:
|
||||
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/274#note_671679
|
||||
|
||||
diff --git a/src/mm-charsets.c b/src/mm-charsets.c
|
||||
index 19d1874c4..67b2103cd 100644
|
||||
--- a/src/mm-charsets.c
|
||||
+++ b/src/mm-charsets.c
|
||||
@@ -43,7 +43,7 @@ static const CharsetEntry charset_map[] = {
|
||||
{ "PCCP437", "CP437", "CP437", "CP437//TRANSLIT", MM_MODEM_CHARSET_PCCP437 },
|
||||
{ "PCDN", "CP850", "CP850", "CP850//TRANSLIT", MM_MODEM_CHARSET_PCDN },
|
||||
{ "HEX", NULL, NULL, NULL, MM_MODEM_CHARSET_HEX },
|
||||
- { "UTF-16", "UTF16", "UTF-16BE", "UTF-16BE//TRANSLIT", MM_MODEM_CHARSET_UTF16 },
|
||||
+ { "UTF-16", "UTF16", "UTF-16BE", "UTF-16BE", MM_MODEM_CHARSET_UTF16 },
|
||||
};
|
Loading…
Reference in a new issue