summaryrefslogtreecommitdiff
path: root/sys-apps/pnputils
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-02 14:09:07 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-02 14:09:07 +0100
commitb17a3ef12038de50228bade1f05502c74e135321 (patch)
tree9026dffec53f92cba48ca9a500a4f778e6304380 /sys-apps/pnputils
parent3cf7c3ef441822c889356fd1812ebf2944a59851 (diff)
gentoo resync : 02.09.2020
Diffstat (limited to 'sys-apps/pnputils')
-rw-r--r--sys-apps/pnputils/Manifest3
-rw-r--r--sys-apps/pnputils/files/pnputils-0.1-musl.patch22
-rw-r--r--sys-apps/pnputils/pnputils-0.1.ebuild5
3 files changed, 28 insertions, 2 deletions
diff --git a/sys-apps/pnputils/Manifest b/sys-apps/pnputils/Manifest
index 02b23ca5d428..0753d74fbbc6 100644
--- a/sys-apps/pnputils/Manifest
+++ b/sys-apps/pnputils/Manifest
@@ -1,4 +1,5 @@
AUX pnputils-0.1-makefile.patch 836 BLAKE2B 4ad883a208c9799ef94b238aa8ec3e0fbecf92a99a73ee413a9ef56a8e131262c8c4125c141974afe22914955152294ca6dbd0acca87246612e04916e0a19411 SHA512 5833c8a35244784fc30a55b4ba53da463222576ba3cc9c15accf25ec0850544d5a863252fc9718ca832550708237f0f7edaf94a278f17c7f04728b24a6c9b9df
+AUX pnputils-0.1-musl.patch 394 BLAKE2B a6a5dde0aeae947d61df5a3be6ef66937fa7e834af4c889f672d0c095419d48652c2bcc54df5c527d05a1ee8f1fb8fdae61bd4edec9f4f0452e82e60985ac483 SHA512 f2e00461ca538c86ff317d41d166437d0eae5cdf6c2a88a37cdc7553f67e660b0e33917dae0d7e5be5378333855a71a5cea77a66a1cfa30edf1df0aadf12db45
DIST pnputils_0.1.orig.tar.gz 16991 BLAKE2B 699e55dd62e90ef0f5dde40f34c60d1b0d2e47c0cfdd06a82dcb739fd952181a74e7ec5fb90afe2bf91f5c997e9cb6dc7da2c4a1454f9f858e5d28ba324ab1d0 SHA512 0f3b612f29b6c6c79221d9f5e27163dc7766159eeb16c2e1b494305cc4c6c50e9c12cee7c1be9bf12642c9adc568b622822b34d9f5f6a421d2b8f6f784fa62ba
-EBUILD pnputils-0.1.ebuild 523 BLAKE2B 556dab907ce9fa50811436fa876c6a49dffa45525aa667415158d44ad545f9e9d8ad6ba4971b1b8bf13fc7dc00e49af930ee6ffc154b2335737befb03bfcd50f SHA512 02993317136d3dfe5da870ef895fd81fe8e8e9be8ec9c2cc1f11dc842f6c7754ec6a0c5a065d581c3c3de7e751ca0c4eb6cd0888dcb39ee53a445fe771ef7a7a
+EBUILD pnputils-0.1.ebuild 555 BLAKE2B ec785c948b4bbc96154461ccb1d7ce6685dbd042109453c57671bc1ec5b06591d358ffee9ea13396e42a1adfb9873e34efc94e4b0551236457a4ca02dfbff812 SHA512 d556d6dc405f57ed988b8edd1b21aba4c4aea191bee6eb09e00e1157957f716ee8f6b553a8e20e3b8729bb2c4d9589fb646ba4dc472d382fe0af3481220af3af
MISC metadata.xml 461 BLAKE2B 518f40b53b66ab4ca7d3b4b25530e7f6b59aaf3d6b4f70ba5ef622685b42d9145cd0f4a5a29b669a1c72c9257180a207973bcfdd5da9a3b1c8a0ffdfcda08aeb SHA512 d3f31b9ad193ab5cfbf59e6de58c4e60deac59e824e86c92c5fc5fc3d71a1a6086a6af7cfad8e1f243d625f37e4034fd255bdb2b71281b4fba05631c5d033479
diff --git a/sys-apps/pnputils/files/pnputils-0.1-musl.patch b/sys-apps/pnputils/files/pnputils-0.1-musl.patch
new file mode 100644
index 000000000000..48ca88ce7740
--- /dev/null
+++ b/sys-apps/pnputils/files/pnputils-0.1-musl.patch
@@ -0,0 +1,22 @@
+diff -ur a/lspnp.c b/lspnp.c
+--- a/lspnp.c
++++ b/lspnp.c
+@@ -28,6 +28,7 @@
+ #include <endian.h>
+ #include <ctype.h>
+ #include <asm/types.h>
++#include <sys/types.h>
+
+ #include "pnp_resource.h"
+
+diff -ur a/setpnp.c b/setpnp.c
+--- a/setpnp.c
++++ b/setpnp.c
+@@ -40,6 +40,7 @@
+ #include <endian.h>
+ #include <ctype.h>
+ #include <asm/types.h>
++#include <sys/types.h>
+
+ #include "pnp_resource.h"
+
diff --git a/sys-apps/pnputils/pnputils-0.1.ebuild b/sys-apps/pnputils/pnputils-0.1.ebuild
index 0919a9fa409f..26f8aff88c6c 100644
--- a/sys-apps/pnputils/pnputils-0.1.ebuild
+++ b/sys-apps/pnputils/pnputils-0.1.ebuild
@@ -13,7 +13,10 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* amd64 x86"
-PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
+PATCHES=(
+ "${FILESDIR}/${P}-makefile.patch"
+ "${FILESDIR}/${P}-musl.patch"
+)
src_compile() {
emake CC="$(tc-getCC)" all