diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-13 09:31:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-13 09:31:02 +0000 |
commit | 8c2ef4a3ef2367031a88ce3f0c5af59b4e37ab23 (patch) | |
tree | 573a7fcd64de77fdbae6e7c0330f176f578dac6b /main/rtapd/musl-strtoq.patch | |
parent | 3818e78e2f50d122bb07aea84544b2c690e734f9 (diff) | |
download | aports-8c2ef4a3ef2367031a88ce3f0c5af59b4e37ab23.tar.bz2 aports-8c2ef4a3ef2367031a88ce3f0c5af59b4e37ab23.tar.xz |
main/rtapd: build fix for musl
Diffstat (limited to 'main/rtapd/musl-strtoq.patch')
-rw-r--r-- | main/rtapd/musl-strtoq.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/rtapd/musl-strtoq.patch b/main/rtapd/musl-strtoq.patch new file mode 100644 index 0000000000..2fd19012fc --- /dev/null +++ b/main/rtapd/musl-strtoq.patch @@ -0,0 +1,20 @@ +--- ./rtapd.c.orig ++++ ./rtapd.c +@@ -466,7 +466,7 @@ + funct = *(pblock + 5); + memcpy(id, pblock + 6, 8); + id[8] = '\0'; +- pagenum = strtoq(id, NULL, 16); ++ pagenum = strtoll(id, NULL, 16); + sprintf(id, "!%qX", pagenum); + pxend = strchr(id, '\0'); + pblock = pblock + 13; +@@ -527,7 +527,7 @@ + } + memcpy(id, pblock + 7, usedlen); + id[usedlen] = '\0'; +- pagenum = strtoq(id, NULL, 16); ++ pagenum = strtoll(id, NULL, 16); + sprintf(id, "!%qX", pagenum); + pxend = strchr(id, '\0'); + pblock = pblock + 6 + caplen + msnlen; |