diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-11 19:06:53 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-11 19:06:53 +0000 |
commit | 427aed27427f356a75db3288d7b96ce7e2a044b2 (patch) | |
tree | 259ea4d9db267c160cbae0bdd575dcd349d23d8b /dev-libs/libezV24 | |
parent | eb72a69c0109ff53b8c18b2f6c3b160489376e2e (diff) |
gentoo auto-resync : 11:01:2024 - 19:06:52
Diffstat (limited to 'dev-libs/libezV24')
-rw-r--r-- | dev-libs/libezV24/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libezV24/files/libezV24-0.1.1-clang16-build-fix.patch | 21 | ||||
-rw-r--r-- | dev-libs/libezV24/libezV24-0.1.1-r3.ebuild | 38 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-libs/libezV24/Manifest b/dev-libs/libezV24/Manifest index 9733f4abab81..fb336adc3a8c 100644 --- a/dev-libs/libezV24/Manifest +++ b/dev-libs/libezV24/Manifest @@ -1,5 +1,7 @@ AUX libezV24-0.1.1-build.patch 4869 BLAKE2B 13f3e7a7493825ff2d7242baf499a3844d360ae0cad1b95dee6a7042c08f53eb428bcc93ebf23d3f4ea10ef589f384aeff6f8e70e36cc00f5546ad495e5839f4 SHA512 d55ba03d30973739918902a21c0b9da9f1b4d74f8923f2aa14747a894f2ff2118699e7f98c1a436f8942e948190752b1e0b027d52225ba025957d5068ce321df +AUX libezV24-0.1.1-clang16-build-fix.patch 398 BLAKE2B c2dca10de1eb12cab625a235dc768b1990263bcdb4c918a7fdbcc76bc7f10fe4743dad6c5b94207faf5b68273ba7d9f2ca2a75976ddc67880f040cf7f67425b7 SHA512 a5a87aaeed14b708fcf5f282d70442d9526ec2c63a19e5725b0eedb90e7b6dedc04a25f44bbee0a9fb2a5e527637d46c9e7f61b73f766061636e728fdeddc6b7 AUX libezV24-0.1.1-test.patch 472 BLAKE2B 9e7b928e271fc7b963e3f8f82c818de06fc0a0477c972a143a48669c67dbcec9c83e70da6cd38ef37968d91d438439090fbdf7ff521e69291a555ced5cf7aa1f SHA512 f2bc15b6c99ad760215406f2a4fc2d230671d0bac9a8249b6ac25aaec4fba16c435ce0871f42ff41cd54d9d0d9e4a72fdc19dc84426ae594bf9293b1b6efe906 DIST libezV24-0.1.1.tar.gz 50515 BLAKE2B 5a4dfdb4e4875203cfc2c06a1d5966d79c84407539ad3b3419aea04e7fcfc5ba05e6e69d1a09d999a1c8820f35bd5adc7fe3d833ceb739e52f1246491d339034 SHA512 99b277a04354e2587567ae5f1ebc99e41d127ec94bf5de53021b94df8d731ce2f2ceacedd8b7fa29902cf98f5c4243bddaa96636e1f900f1434a3da857b0e6c5 EBUILD libezV24-0.1.1-r2.ebuild 768 BLAKE2B ef9100697bf5b93d4bfd6993359c9a14c896c1d28e2ab550b4a9a5dd8fe162ae22e7fb3cb7805e6932dd6d7f37c3687166ce0439eb5b130967a2303fc2066be8 SHA512 09ee07c84b0f9e29234eeee4fe2af311bfa5f256c667595ec1a6ed8c6ed7e73e3ce9f99ee3d4d8a497e1f72b56c119cb2af25081e2db101ef4a88b8f768dbc67 +EBUILD libezV24-0.1.1-r3.ebuild 817 BLAKE2B a8a734272680905950f2627866ce0fb0114b5142cf4c1e0554302a2fffbaa5ceb48da41376c10888b05a21a24aa77012e4facdcb7acc361a12fe5f9bc63488da SHA512 05185666936614a061237326c0469aa172b2ab29fc1d4bf3ee30dba6cfb81cb6f01be5cffc4d8be079ee02bd18b0e74399097cc2cc130d4d6d680ac58bea6a20 MISC metadata.xml 642 BLAKE2B 04978c981fef1717c72251342c16b4dc72968cc4f3d799e465c8206ed7578b025b938ab6ae0f62ddb63055e7af101008f883b8722d24c95ce18fa63e78c42dff SHA512 fb11d8c2945b522ef3edaa6b7a5733f5cb3a4212986738006abffda5451026e39c6f478c2fa49a9667f0c6921b97e6ebf9b8f923dae76631ec4a973a11a63f16 diff --git a/dev-libs/libezV24/files/libezV24-0.1.1-clang16-build-fix.patch b/dev-libs/libezV24/files/libezV24-0.1.1-clang16-build-fix.patch new file mode 100644 index 000000000000..6579fe476c0f --- /dev/null +++ b/dev-libs/libezV24/files/libezV24-0.1.1-clang16-build-fix.patch @@ -0,0 +1,21 @@ +Bug: https://bugs.gentoo.org/895044 +--- a/ezV24.c ++++ b/ezV24.c +@@ -42,6 +42,7 @@ + #include <errno.h> + #include <termios.h> + #include <sys/ioctl.h> ++#include <sys/param.h> + + + #define __EZV24_C__ +--- a/snprintf.c ++++ b/snprintf.c +@@ -61,6 +61,7 @@ + + /* From: Id: sprint.c,v 1.5 1995/09/10 18:35:09 chuck Exp */ + ++#define _GNU_SOURCE + #include <ctype.h> + #include <stdlib.h> + #include <stdarg.h> diff --git a/dev-libs/libezV24/libezV24-0.1.1-r3.ebuild b/dev-libs/libezV24/libezV24-0.1.1-r3.ebuild new file mode 100644 index 000000000000..14ae567deeec --- /dev/null +++ b/dev-libs/libezV24/libezV24-0.1.1-r3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Library that provides an easy API to Linux serial ports" +HOMEPAGE="https://ezv24.sourceforge.net" +SRC_URI="mirror://sourceforge/ezv24/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +HTML_DOCS=( api-html/. ) + +PATCHES=( + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-test.patch + "${FILESDIR}"/${P}-clang16-build-fix.patch +) + +src_prepare() { + default + + tc-export AR CC RANLIB + sed -i -e 's:__LINUX__:__linux__:' *.c *.h || die +} + +src_install() { + export NO_LDCONFIG="stupid" + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" install + einstalldocs + + find "${ED}" -name '*.a' -delete || die +} |