aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mp3info/types.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-05-20 11:29:59 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-05-20 11:30:06 +0200
commitcf52c70d524fbc12adbd6e474c121fedc3c62e82 (patch)
tree24fca42207d10dc32b7f5e46aa8f2493aeb94b70 /testing/mp3info/types.patch
parente1f741fc44cd67b52122191fa6b64926cdb21f6e (diff)
downloadaports-cf52c70d524fbc12adbd6e474c121fedc3c62e82.tar.bz2
aports-cf52c70d524fbc12adbd6e474c121fedc3c62e82.tar.xz
testing/mp3info: fix build on musl
Diffstat (limited to 'testing/mp3info/types.patch')
-rw-r--r--testing/mp3info/types.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/mp3info/types.patch b/testing/mp3info/types.patch
new file mode 100644
index 0000000000..760ebf708d
--- /dev/null
+++ b/testing/mp3info/types.patch
@@ -0,0 +1,11 @@
+--- ./mp3tech.c.orig
++++ ./mp3tech.c
+@@ -279,7 +279,7 @@
+ }
+
+ int sameConstant(mp3header *h1, mp3header *h2) {
+- if((*(uint*)h1) == (*(uint*)h2)) return 1;
++ if((*(unsigned int*)h1) == (*(unsigned int*)h2)) return 1;
+
+ if((h1->version == h2->version ) &&
+ (h1->layer == h2->layer ) &&