summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/Manifest.gzbin97983 -> 97987 bytes
-rw-r--r--dev-libs/rasqal/Manifest2
-rw-r--r--dev-libs/rasqal/files/rasqal-0.9.33-configure-c99.patch29
-rw-r--r--dev-libs/rasqal/rasqal-0.9.33-r2.ebuild77
4 files changed, 108 insertions, 0 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz
index 909b8402660d..1b44712bffa0 100644
--- a/dev-libs/Manifest.gz
+++ b/dev-libs/Manifest.gz
Binary files differ
diff --git a/dev-libs/rasqal/Manifest b/dev-libs/rasqal/Manifest
index e2daffa33531..8e5d30fea724 100644
--- a/dev-libs/rasqal/Manifest
+++ b/dev-libs/rasqal/Manifest
@@ -1,4 +1,6 @@
+AUX rasqal-0.9.33-configure-c99.patch 1162 BLAKE2B 2a157b2b3b2276e18ac7019e9d2d965f06e472d0185b4bed783ad29103fdaf940fab6782e8da4a4d20a6fe0d619da8a5916a9405533671e9c863f35aa956d7f8 SHA512 f9f6e127e27de8b35b2fed92ef04aad6a74de11ad59667be79793e546ff43d4946a7c07baacd83d9af30a795615e30da56f874940f536f14a2502053df549a5d
AUX rasqal-0.9.33-configure-clang16.patch 830 BLAKE2B ac6d002e97e76b8ea424a7faa154f2b9786ed5a89cc1e469aacc7e9d7a13cb0bfa5685292dff093af961f2944f8879bbe7e6c0692b07530454e9820840d42cd5 SHA512 b088d8c03b3af177f4640948f7395d6824af2e599de9b883aefaa251b5fc0ba138850c294cd6afd7f33de9d6f7abdf7634b2a3c61aec5a7ae07bde44d07c78dd
DIST rasqal-0.9.33.tar.gz 1595647 BLAKE2B 87bca86b2f0dceb0801f5a34dae9ae1f87d8a7d0dc1e03fdf04998a0d4885ed76be2719d3e01489a5510a26715bb093a75ce194cc42f3cedff88f64161d6a2fb SHA512 05728682797470db9e51d156012e8fde9dec1554d107372faa11cbe6cdc3356e92386f4f8de6d7c41e3100b76f9b1c6809102a913829cddbd2ff29043c04d522
EBUILD rasqal-0.9.33-r1.ebuild 1812 BLAKE2B 088c8fa543d116f17922f8f1745a84c0ad64f75b68e882a9639c90419621e90734a2539217e394e5d456bffb2a7938b2a65ace2f36f650698235c749577a53ed SHA512 8decfb51f7cac42df731badb8126f3c026a222c6b978bd6fda33af03c5cffdf3a14e62910bcb38807fc5b4e078d781c917b8a3361789cec3c920131f63c95d66
+EBUILD rasqal-0.9.33-r2.ebuild 1867 BLAKE2B 0801b96cd2dfbc8aa1a6e948cf57c703b6ce66e5d5dcdd2e78a547b2094f22702f8e0f7b51778f33ba011d2643f2efc73d940257e9a571c8493086005cd0f099 SHA512 a1179bbf25479b010a13d24a91070f57a6e854339f3993c5dc66d811a4af63361ec780005c2ff2c14d3843cf75cfe330c0ffe43653def27d64453d5f1bbaad2e
MISC metadata.xml 332 BLAKE2B b84ace237b1550cdcac02e00f1514afca8e556d1d5db8750e098e47175fd0a3f88f99ff239a9cf8d50024c9956b9f9c464cf23dbf889aa78cae7ad42178891b8 SHA512 bc12362d0825fc2b742cad71f71c3e21bdc8d0c2205d66c3c16372f357338048044424db77ddf2aaabc1c55e5df1c7d199bf4d986cd4f32a8002042490a294f4
diff --git a/dev-libs/rasqal/files/rasqal-0.9.33-configure-c99.patch b/dev-libs/rasqal/files/rasqal-0.9.33-configure-c99.patch
new file mode 100644
index 000000000000..50a48de12cda
--- /dev/null
+++ b/dev-libs/rasqal/files/rasqal-0.9.33-configure-c99.patch
@@ -0,0 +1,29 @@
+https://github.com/dajobe/rasqal/pull/13
+
+From b5fdf2539b5eec823ca449de8d04defe37f97ba7 Mon Sep 17 00:00:00 2001
+From: Florian Weimer <fweimer@redhat.com>
+Date: Tue, 19 Dec 2023 21:31:36 +0100
+Subject: [PATCH] configure: Fix incorrect argument type in gcry_md_open
+
+The gcry_md_open function expects a gcry_md_hd_t * argument,
+and not a gcry_md_hd_t argument (which is also a pointer behind
+the typedef). Future compilers will likely treat this as an
+error, causing the check to fail unconditionally.
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 113d4f89..6aed2f46 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -771,7 +771,7 @@ elif test "$ac_cv_header_gcrypt_h" = "yes"; then
+ LIBS="$LIBS `$LIBGCRYPT_CONFIG --libs`"
+
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
+- #include <gcrypt.h>]], [[ gcry_md_hd_t hash; gcry_md_open(hash, GCRY_MD_MD5, 0); ]])],[have_digest_gcrypt=yes],[have_digest_gcrypt=no])
++ #include <gcrypt.h>]], [[ gcry_md_hd_t hash; gcry_md_open(&hash, GCRY_MD_MD5, 0); ]])],[have_digest_gcrypt=yes],[have_digest_gcrypt=no])
+
+ CPPFLAGS="$oCPPFLAGS"
+ LIBS="$oLIBS"
+
diff --git a/dev-libs/rasqal/rasqal-0.9.33-r2.ebuild b/dev-libs/rasqal/rasqal-0.9.33-r2.ebuild
new file mode 100644
index 000000000000..1e7e3ef81e82
--- /dev/null
+++ b/dev-libs/rasqal/rasqal-0.9.33-r2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Library that handles Resource Description Framework (RDF)"
+HOMEPAGE="https://librdf.org/rasqal/"
+SRC_URI="https://download.librdf.org/source/${P}.tar.gz"
+
+LICENSE="Apache-2.0 GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="+crypt gmp +mhash pcre static-libs test xml"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=media-libs/raptor-2.0.15
+ crypt? (
+ !mhash? ( dev-libs/libgcrypt:0 )
+ mhash? ( app-crypt/mhash )
+ )
+ !gmp? ( dev-libs/mpfr:= )
+ gmp? ( dev-libs/gmp:= )
+ kernel_linux? ( >=sys-apps/util-linux-2.19 )
+ pcre? ( dev-libs/libpcre )
+ xml? ( dev-libs/libxml2 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ >=sys-devel/bison-3
+ >=sys-devel/flex-2.5.36
+ virtual/pkgconfig
+ test? ( dev-perl/XML-DOM )
+"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+HTML_DOCS=( {NEWS,README,RELEASE}.html )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.9.33-configure-clang16.patch
+ "${FILESDIR}"/${PN}-0.9.33-configure-c99.patch
+)
+
+src_prepare() {
+ default
+
+ #elibtoolize # g/fbsd .so versioning
+ eautoreconf # for clang 16 patch
+}
+
+src_configure() {
+ # FIXME: From 0.9.27 to .28 --with-random-approach= was introduced, do we
+ # need a logic for it? Perhaps for dev-libs/gmp?
+ local myeconfargs=(
+ --with-decimal=$(usex gmp gmp mpfr)
+ --with-uuid-library=$(usex kernel_linux libuuid internal)
+ $(use_enable pcre)
+ --with-regex-library=$(usex pcre pcre posix)
+ $(use_enable static-libs static)
+ $(use_enable xml xml2)
+ )
+
+ if use crypt; then
+ myeconfargs+=( --with-digest-library=$(usex mhash mhash gcrypt) )
+ else
+ myeconfargs+=( --with-digest-library=internal )
+ fi
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}