diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-23 00:06:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-23 00:06:15 +0100 |
commit | 0e1abc96fea41c994e56391bd01c5c9298236783 (patch) | |
tree | 53f4297b17f44131f819fb0ae2ce606dc7121108 /dev-libs/chmlib | |
parent | cf59cc78468c9bcfef9e16b7b27c115896d805fd (diff) |
gentoo auto-resync : 23:04:2023 - 00:06:15
Diffstat (limited to 'dev-libs/chmlib')
-rw-r--r-- | dev-libs/chmlib/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/chmlib/chmlib-0.40-r2.ebuild (renamed from dev-libs/chmlib/chmlib-0.40-r1.ebuild) | 3 | ||||
-rw-r--r-- | dev-libs/chmlib/files/chmlib-0.40-clang16.patch | 24 |
3 files changed, 28 insertions, 2 deletions
diff --git a/dev-libs/chmlib/Manifest b/dev-libs/chmlib/Manifest index 325feaba52c5..07d3cb73dd6a 100644 --- a/dev-libs/chmlib/Manifest +++ b/dev-libs/chmlib/Manifest @@ -1,5 +1,6 @@ AUX chmlib-0.39-stdtypes.patch 624 BLAKE2B 29de38c9de0faf7b924c0220a6ef77d338755fa57b87a120db99866b85cf7b8b4bdcacb2d5ba301eeecc6ed167384aceedf059f232a933ee920ff3ad8b9e1388 SHA512 123c28fb581c59f7aba886a0ef9ccdc31586411ad23a716759738075fa9006b2bb170f371c2e272dd21816fed3e426ab4259f16fd2ea9220c4eb005a9edf8194 +AUX chmlib-0.40-clang16.patch 786 BLAKE2B adb8075106bcff50ee6643c6ae05befe11223a1f973c8e76e0b62ad910b5c6ed864a6d9cb6cf3e07144893f0f030c7818bab6009b0cffbddd461dc4147cb6bcf SHA512 ad5a6d10a18c34387db100f2049283f1dc176b58e06943a29062744b2bdb7f93f6d84ed523567bf5216441728f728adbdd744b39cae6faaf23c53a39d7d1f079 AUX chmlib-0.40-headers.patch 361 BLAKE2B 182336c3e3ac3c30226c4860315ecae2d6fec900a84e49b4f7daaa84ecf7ef1e249d46fb059978afa43ed00bffef6eb915ac19b1f78eff98714d9e633f642b5d SHA512 985cdee377e53f7df8d3d53aa305069fa138388397494094498415ec1b026bcb5e2e218ac91ed8977c930840a73f371124b0f7bdadbc1b79a65384b333a4b8d0 DIST chmlib-0.40.tar.bz2 252036 BLAKE2B 69216120f7efcc7bfaa30faa46d9f2e2490923a6b42a766fe39838bda2b3b033ea39cb0c05eeab85a66b5a69f9297a6a412c375a2d790a463c7f6338610432fc SHA512 3a3e151cf455b19e9e7c163a1d1e5ac52e8196f0b98f77932c72af58f3517824b9244667a18279ae754ccea784f6d6ab0c47465e74e3768ce98bb7dca0ca16e3 -EBUILD chmlib-0.40-r1.ebuild 832 BLAKE2B 4825ca357d357835fcd342394992b2946155a8c25bcecffb9fd94665e48f81d2519b3fe83bf471028d36261644ea7895771988b46ba0a632ab6ce0f211e2aed1 SHA512 d93e41fcabdb1bb7ae5b3403133add141e4e7f8350bcc87eff75e080feddc69f2fc6ddbab7ffe307814c464b3e90d2f0f290b5d09d0dd57b4e359df7f722673f +EBUILD chmlib-0.40-r2.ebuild 866 BLAKE2B 9fbfd1715310c26af84531b536946059edc10b4c5c13541b0787ff964e1d0f4549e70ff9032c24ba910b8224901529c543dfc7c25a006c8d8e614cf027025920 SHA512 e5c269aab3508de881707f10d8b1ccafdded3c30b4039530377cb20e984e2646c19232d92daaaa85c80f67754ec6a92ca959288cfea038e5a8a62e5e37098245 MISC metadata.xml 246 BLAKE2B f808bbbcb9c53d005d1a1667cd6217a601a3bd3bd2267121c0043a870ae44bb91bb27bc9825d5d6eafe01b73fe58a553655aa252737c0b066f2286ff9415d65e SHA512 b620abb7732628010a8a3792d40bde878492be97ce14c99c4d2466240df2f25edf7734ad4d210bc954f27323f0e26698e660766c65be5868646a3866020373fd diff --git a/dev-libs/chmlib/chmlib-0.40-r1.ebuild b/dev-libs/chmlib/chmlib-0.40-r2.ebuild index abdf79cf4f16..cdbdd764997e 100644 --- a/dev-libs/chmlib/chmlib-0.40-r1.ebuild +++ b/dev-libs/chmlib/chmlib-0.40-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -17,6 +17,7 @@ IUSE="+examples static-libs" PATCHES=( "${FILESDIR}"/${PN}-0.39-stdtypes.patch "${FILESDIR}"/${P}-headers.patch + "${FILESDIR}"/${P}-clang16.patch ) src_prepare() { diff --git a/dev-libs/chmlib/files/chmlib-0.40-clang16.patch b/dev-libs/chmlib/files/chmlib-0.40-clang16.patch new file mode 100644 index 000000000000..eb66b91d5556 --- /dev/null +++ b/dev-libs/chmlib/files/chmlib-0.40-clang16.patch @@ -0,0 +1,24 @@ +https://bugs.gentoo.org/871177 +https://github.com/jedwing/CHMLib/pull/17 + +From 5877959e3eb9a54e131608c52e2d6f4c89bc0189 Mon Sep 17 00:00:00 2001 +From: Florian Weimer <fweimer@redhat.com> +Date: Wed, 19 Apr 2023 09:47:03 +0200 +Subject: [PATCH] Avoid implicit function declarations, for C99 compatibility + +Define _LARGEFILE64_SOURCE so that <unistd.h> defines pread64. + +This avoids build failures with future compilers which do not +support implicit function declarations by default. +--- a/src/chm_lib.c ++++ b/src/chm_lib.c +@@ -48,6 +48,8 @@ + * * + ***************************************************************************/ + ++#define _LARGEFILE64_SOURCE /* for pread64 */ ++ + #include "chm_lib.h" + + #ifdef CHM_MT + |