summaryrefslogtreecommitdiff
path: root/app-cdr/dumpet
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /app-cdr/dumpet
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'app-cdr/dumpet')
-rw-r--r--app-cdr/dumpet/Manifest2
-rw-r--r--app-cdr/dumpet/dumpet-2.1_p20140601-r2.ebuild44
-rw-r--r--app-cdr/dumpet/files/musl-byteswap-fix.patch11
3 files changed, 57 insertions, 0 deletions
diff --git a/app-cdr/dumpet/Manifest b/app-cdr/dumpet/Manifest
index 46b511d5b1da..838b72e1be14 100644
--- a/app-cdr/dumpet/Manifest
+++ b/app-cdr/dumpet/Manifest
@@ -1,3 +1,5 @@
+AUX musl-byteswap-fix.patch 294 BLAKE2B 1967a0ec276357db52b57ed84b2f111dd456477b0ba01f018e2823e2498764c1cb0119838b5d455991438104965ac679e86cfc0fa4ba71ca89ddb4e1b3de1145 SHA512 7cba10e469b80bb895c8e3c03b3e3184482b54acabdf602226d9dfdd62004bcf5a48ceeed0fa30edc3e789b4be321383c63adf4f726baa6e89960949bde58a58
DIST dumpet-2.1_p20140601.tar.gz 20140 BLAKE2B def3e7948096e2543bf24324b17c3b3123b867e750971858cb403732efde6c217fcf1c04955a0dd4ed2f99fdaedecab1becdcc1027645e7a955ed1addf11daa1 SHA512 161911ae136aa81abff5a591593acf421a4101e3f80cb259c5b2190581d5cbd06641eefe4c873d40d1b2adabedb2e42ef7fdd0a6e39ec98e1927550ae8960eda
EBUILD dumpet-2.1_p20140601-r1.ebuild 865 BLAKE2B 05fe70b1311e20e32e5b199555613d70ad6ccfa1f2a748ffe61133945cd05a4b88e6e2eea78140bc781338fdd609bb8e535860768c500f60f793722ee8ccecc8 SHA512 d30ff2f0d940e404323bb0f9c2e52ad4c26034aad295dff9dd0ecc771d4c3e2bad130007fbd1513ca3f282ebd0098368b443c25974fa6714e81df7a8e2553075
+EBUILD dumpet-2.1_p20140601-r2.ebuild 918 BLAKE2B b7236f9ba6bc556e61d7cede87f0e6b574db1424be8379e57ebb8cb310c4750c43594d349e338a15636486f772f107c7188eb2fb24325565b98725763f97e9cf SHA512 fb835a7c8f653d08b3aad3e9c0617fdbdb636f6753e737619f1c0ee55ae56d2ec713796a4446024eb59be90a7395d8bba5818233f4a1f3c0bb763d24ac29b369
MISC metadata.xml 240 BLAKE2B 5caea4abbcf161615353b1f5ec499ae37ae67f08f6f1d48829d145694359169508d62173c091700e9a65d8ed461216caf12cc6728760784aa364d610250369ca SHA512 ee5c2cad860daff025c5d2bbc7e210767432dd09d1a74fc7b1d5994686d48739b9bfd446bf1ab7b1b92532f82767e722ea3e38d7a502a7a941f6ac5028000ce8
diff --git a/app-cdr/dumpet/dumpet-2.1_p20140601-r2.ebuild b/app-cdr/dumpet/dumpet-2.1_p20140601-r2.ebuild
new file mode 100644
index 000000000000..fb18f5b349bd
--- /dev/null
+++ b/app-cdr/dumpet/dumpet-2.1_p20140601-r2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs vcs-snapshot
+
+COMMIT="8f47670dd582c96ad1b6dd3c9b9da0acebded5d8"
+
+DESCRIPTION="A tool to dump and debug bootable CD-like images"
+HOMEPAGE="https://github.com/rhboot/dumpet"
+SRC_URI="https://github.com/rhboot/dumpet/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+#Restrict tests since required test file is unavailable
+RESTRICT="test"
+
+RDEPEND="dev-libs/libxml2
+ dev-libs/popt"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ test? ( dev-util/valgrind )"
+
+PATCHES=( "${FILESDIR}"/musl-byteswap-fix.patch )
+
+src_prepare() {
+ sed -i Makefile \
+ -e "s/^install : all$/install :/" \
+ -e "s/^CFLAGS:=/CFLAGS?=/" \
+ -e "s/^CC:=/CC?=/" \
+ || die
+ default
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" dumpet
+}
+
+pkg_setup() {
+ tc-export CC
+}
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 000000000000..83beb321c595
--- /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"