mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-02 12:21:22 +02:00
community/libtraceevent: fix a typo for big endian
This commit is contained in:
parent
ea76b49d53
commit
eb992fc97c
@ -10,7 +10,9 @@ depends_dev="linux-headers"
|
|||||||
makedepends="$depends_dev"
|
makedepends="$depends_dev"
|
||||||
checkdepends="cunit-dev"
|
checkdepends="cunit-dev"
|
||||||
subpackages="$pkgname-plugins $pkgname-dev"
|
subpackages="$pkgname-plugins $pkgname-dev"
|
||||||
source="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/libtraceevent-$pkgver.tar.gz"
|
source="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/libtraceevent-$pkgver.tar.gz
|
||||||
|
big-endian-typo.patch
|
||||||
|
"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
make
|
make
|
||||||
@ -38,4 +40,5 @@ plugins() {
|
|||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
412b93109ccd6e1bdece52f9a10989a58ff5693144fd460c7ebaef0ebc4649fac95eea20c5f88aa2f23bdc59bf359a65ab23ab41c3a5b7c92df6e52225477093 libtraceevent-1.7.1.tar.gz
|
412b93109ccd6e1bdece52f9a10989a58ff5693144fd460c7ebaef0ebc4649fac95eea20c5f88aa2f23bdc59bf359a65ab23ab41c3a5b7c92df6e52225477093 libtraceevent-1.7.1.tar.gz
|
||||||
|
0b013e468cb7cfb0c5659158268c9c3988c69f729b49809b82136cbf54c7304d5684a43ededa5c97fa31e15503e1de953515811dfe205b3f1cdf7f35724e6c0d big-endian-typo.patch
|
||||||
"
|
"
|
||||||
|
13
community/libtraceevent/big-endian-typo.patch
Normal file
13
community/libtraceevent/big-endian-typo.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/utest/traceevent-utest.c b/utest/traceevent-utest.c
|
||||||
|
index ebd5eb9..b7152d1 100644
|
||||||
|
--- a/utest/traceevent-utest.c
|
||||||
|
+++ b/utest/traceevent-utest.c
|
||||||
|
@@ -45,7 +45,7 @@ static char dyn_str_data[] = {
|
||||||
|
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|
||||||
|
/* common type */ 1, 0x00,
|
||||||
|
#else
|
||||||
|
- /* common type */ 0x00, 1
|
||||||
|
+ /* common type */ 0x00, 1,
|
||||||
|
#endif
|
||||||
|
/* common flags */ 0x00,
|
||||||
|
/* common_preempt_count */ 0x00,
|
Loading…
x
Reference in New Issue
Block a user