summaryrefslogtreecommitdiff
path: root/media-sound/orpheus/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-01-04 01:27:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-01-04 01:27:12 +0000
commit3517852e3b8a68d1e997770fc0650c5053bafc6c (patch)
tree44068672445b1418489aed82de58df3c470289e7 /media-sound/orpheus/files
parent0f15659d48c193027158492acb726297501202c5 (diff)
gentoo resync : 04.01.2022
Diffstat (limited to 'media-sound/orpheus/files')
-rw-r--r--media-sound/orpheus/files/orpheus-1.6-musl-stdint.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/media-sound/orpheus/files/orpheus-1.6-musl-stdint.patch b/media-sound/orpheus/files/orpheus-1.6-musl-stdint.patch
new file mode 100644
index 000000000000..9665d342b6f2
--- /dev/null
+++ b/media-sound/orpheus/files/orpheus-1.6-musl-stdint.patch
@@ -0,0 +1,31 @@
+https://bugs.gentoo.org/715698
+--- a/src/mp3track.cc
++++ b/src/mp3track.cc
+@@ -33,6 +33,7 @@
+ #include <sys/stat.h>
+ #include <signal.h>
+ #include <unistd.h>
++#include <stdint.h>
+ #include <stdio.h>
+ #include <netinet/in.h>
+
+@@ -55,8 +56,8 @@ static int cpid = -1, trackcount = 0;
+ static FILE *fpread, *fpwrite;
+ static char cbuf[65535];
+
+-static u_int32_t extract_bitfield(unsigned char *h, int start, int end) {
+- u_int32_t hdr;
++static uint32_t extract_bitfield(unsigned char *h, int start, int end) {
++ uint32_t hdr;
+ memcpy(&hdr, h, 4);
+ hdr = ntohl(hdr);
+ hdr = hdr << start;
+@@ -237,7 +238,7 @@ void mp3track::readtag() {
+ 11025, 12000, 8000, 0
+ };
+
+- u_int32_t aux;
++ uint32_t aux;
+ int i, filelen;
+
+ if(f.is_open()) {