summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-03-30 10:28:56 -0500
committerBen Kohler <bkohler@gentoo.org>2020-03-30 10:29:49 -0500
commitd4cca385687aaeedfb00e5684d08d9da0d3f4fc4 (patch)
tree7d216dfb385c23e633d2e648c3f70925b0b297b1 /app-cdr/dumpet/files
parentapp-admin/sudo: security cleanup (diff)
downloadgentoo-d4cca385687aaeedfb00e5684d08d9da0d3f4fc4.tar.gz
gentoo-d4cca385687aaeedfb00e5684d08d9da0d3f4fc4.tar.bz2
gentoo-d4cca385687aaeedfb00e5684d08d9da0d3f4fc4.zip
app-cdr/dumpet: add musl fix
Closes: https://bugs.gentoo.org/715450 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'app-cdr/dumpet/files')
-rw-r--r--app-cdr/dumpet/files/musl-byteswap-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-cdr/dumpet/files/musl-byteswap-fix.patch b/app-cdr/dumpet/files/musl-byteswap-fix.patch
new file mode 100644
index 00000000000..83beb321c59
--- /dev/null
+++ b/app-cdr/dumpet/files/musl-byteswap-fix.patch
@@ -0,0 +1,11 @@
+diff -ur a/applepart.c b/applepart.c
+--- a/applepart.c 2020-03-30 10:25:52.122137073 -0500
++++ b/applepart.c 2020-03-30 10:26:09.803672537 -0500
+@@ -27,6 +27,7 @@
+ #include <string.h>
+ #include <stdio.h>
+ #include <errno.h>
++#include <byteswap.h>
+
+ #include "applepart.h"
+ #include "endian.h"