diff options
Diffstat (limited to 'dev-libs/serdisplib')
-rw-r--r-- | dev-libs/serdisplib/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/serdisplib/files/serdisplib-2.02-musl.patch | 19 | ||||
-rw-r--r-- | dev-libs/serdisplib/serdisplib-2.02-r2.ebuild (renamed from dev-libs/serdisplib/serdisplib-2.02-r1.ebuild) | 5 |
3 files changed, 24 insertions, 3 deletions
diff --git a/dev-libs/serdisplib/Manifest b/dev-libs/serdisplib/Manifest index 129cf519c221..7a28fc9e181a 100644 --- a/dev-libs/serdisplib/Manifest +++ b/dev-libs/serdisplib/Manifest @@ -1,5 +1,6 @@ AUX serdisplib-2.02-disable-static-build.patch 3327 BLAKE2B 677d3dcc121cbc42345e987055aa202ea8118c74bbb5edd0f5d50dc7408ec77e6f439e38d1277fcba87e31932be4794021c45fe55115d7e1325cafe506abc750 SHA512 ca19a3f05fbc70693892d201efb938c9fd1c298d9e4551a51e802d99999b91568607fa73696c4be991a833432969ae0981fe3daa1e2cd5d18bbc0406bd925faa +AUX serdisplib-2.02-musl.patch 639 BLAKE2B 4428488881962784503b74d952aec573d512150d69117099f89972ed3ba020437708a472aa9017f3fbef826d40fad0c46b0a9641a256061e8d078ac2a4bb1c59 SHA512 b81a2e0de075e6d112f8131dd37f787dc3eb2652762a92d84b7a5260c42bb07b2b20c214fb12098ecb3fc6934beea8e11b811d7071185898f048e2ade0376560 AUX serdisplib-2.02-use-destdir.patch 3400 BLAKE2B 77d9adc8c9a44586cbe352c6273677704d7335fc75c82d50a681c361a10a45484ae0dfb3241bf9d99ba242f6548df9cb036992b46e157f9c4ec3ca098397be7e SHA512 370ace46b39ba5e67d7f728a3cb3980b75a2c7e6e5fb25273f9c3bfbe10f33479bfcff92e3074a2cb80985c114d161b78115410dd88330810f654875e57d7575 DIST serdisplib-2.02.tar.gz 497028 BLAKE2B f35b6df60303a288b2a279d821a510089802019f33b7ee36b9c2fd1d1d6bef0b3118793e6d965076c1665e1e2555a553186ef1a9210712ef9d2bc1e090ec0a98 SHA512 d9936c25dc14e24eb02876f203476752340e621d8ee5c87ee99862575e45199bf46ff8487dfdd80b16a89543958fdf5a16a2aaf78d5cade06811cfb1592c45eb -EBUILD serdisplib-2.02-r1.ebuild 2817 BLAKE2B 5b8a3bb31704f99a64523d6e5654162a0bb08457f22cbc2e450ec4bcb161679a664f34a3b17463c4839806546769d85be24af8cde68ca3f5f307e6615b53f7f7 SHA512 3c82e14965dc5e595039314cab3d89f84317216aea0edf25b8c7b0161abc8608df0ce74a54d8eb17df6eb6449068c4e2c7d3f939d4cc4d74aa3122b5fad33cda +EBUILD serdisplib-2.02-r2.ebuild 2854 BLAKE2B b05fbab0e902821045819f16dc7f8257e781396c7246bb9f05fd8942c716596d4475aa05f440a092c6f4c6751ff27b13f4728101546a399b82c8952c1ce1abdf SHA512 1835e00931f40852dfb162fe8c678ce41e49a980e98a9618f655be04fc2289ffa22410b1887f72e1b35237eab3e673fd276c9ef7ff667ff65e9d8ead6c915158 MISC metadata.xml 663 BLAKE2B 006db175fbd12bc996c0718a226bb2aabc967e0896dc78c351da1990246850a0a4fe67eb84281342d7fe02fd65f26e59a2a22323520a086192aa9f4922a92229 SHA512 539a6ee6568d6db434c5bf23548a116d72103e9efe878d4aec1563e3c3384b2e5012c45699357188f3003bcd81c29bb60b274a59f66648b65bc85359ba376d37 diff --git a/dev-libs/serdisplib/files/serdisplib-2.02-musl.patch b/dev-libs/serdisplib/files/serdisplib-2.02-musl.patch new file mode 100644 index 000000000000..4307c6d9c9c1 --- /dev/null +++ b/dev-libs/serdisplib/files/serdisplib-2.02-musl.patch @@ -0,0 +1,19 @@ +Include <sys/type.h> before defining "ushort" macro + +sys/types.h uses a typedef to define ushort. If ushort is defined as a macro, +this will cause a compile failure. + +In file included from serdisp_control.c:43: +../include/serdisplib/serdisp_gpevents.h:75:19: error: expected identifier or '(' before 'unsigned' + 75 | #define ushort (unsigned short) + +--- a/include/serdisplib/serdisp_gpevents.h ++++ b/include/serdisplib/serdisp_gpevents.h +@@ -50,6 +50,7 @@ + #include "serdisplib/serdisp_connect.h" + #include "serdisplib/serdisp_control.h" + #include <sys/time.h> ++#include <sys/types.h> + #include <stdint.h> + + #include "../../config.h" diff --git a/dev-libs/serdisplib/serdisplib-2.02-r1.ebuild b/dev-libs/serdisplib/serdisplib-2.02-r2.ebuild index 7a1a31b7f338..22cb104e7e06 100644 --- a/dev-libs/serdisplib/serdisplib-2.02-r1.ebuild +++ b/dev-libs/serdisplib/serdisplib-2.02-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit udev @@ -47,6 +47,7 @@ DOCS=( "AUTHORS" "BUGS" "DOCS" "HISTORY" "PINOUTS" "README" "TODO" ) PATCHES=( "${FILESDIR}/${PN}-2.02-use-destdir.patch" "${FILESDIR}/${PN}-2.02-disable-static-build.patch" + "${FILESDIR}/${PN}-2.02-musl.patch" ) src_prepare() { |