summaryrefslogtreecommitdiff
path: root/dev-libs/redland
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-29 18:01:47 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-29 18:01:47 +0000
commitceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (patch)
tree9f47ee47c31a0f13f9496879cd88a1042550aa81 /dev-libs/redland
parent53cba99042fa967e2a93da9f8db806fe2d035543 (diff)
gentoo (leap year) resync : 29.02.2020
Diffstat (limited to 'dev-libs/redland')
-rw-r--r--dev-libs/redland/Manifest3
-rw-r--r--dev-libs/redland/files/redland-1.0.17-mysql-8-my_bool.patch15
-rw-r--r--dev-libs/redland/redland-1.0.17-r2.ebuild2
3 files changed, 19 insertions, 1 deletions
diff --git a/dev-libs/redland/Manifest b/dev-libs/redland/Manifest
index 4540cef66e2f..616205051972 100644
--- a/dev-libs/redland/Manifest
+++ b/dev-libs/redland/Manifest
@@ -1,3 +1,4 @@
+AUX redland-1.0.17-mysql-8-my_bool.patch 462 BLAKE2B f1a34d640698149b45a6a23c961690c79c02760b16c1087a79c27e8443cb956e953b02f9d435176c890500e4942cd37fe2c0105295490a3f4a629a651146fe33 SHA512 c796f5b6a3231a150310a889890137a7dd510cc75c8b80fead9db3c8fa4de27a132c58ad261188a6c6359f1debcd9b5ba273b7af4af3242035d4f6bc12364643
DIST redland-1.0.17.tar.gz 1621566 BLAKE2B ec94cd456a771b97ab16fab63cf6beffe1ce3371c06213faa49162fe452b31a21dffe6c2cc631c10b137f44dc71c2c40c1d7fac0552bbe0169728427b1f47a36 SHA512 363323ffc9e75d4f0e3a3b40952f6241fd0d8b9f46bfd4dd86cf0a5162de35257a8b70ce408a6083c03ba7c388982231a3774e5e9024b262ebb02968f778b850
-EBUILD redland-1.0.17-r2.ebuild 2477 BLAKE2B 520c40d5ee3c03b58cf67de5971659222f94cb197548c141975927a8a9b7c118df75747be97264f69a5cd7d095105a9f4ec9be3a3c96fb75abbd5cc2d173d72e SHA512 82d6518cf23d62e6e36ba037a4273b61d249b3a3fa9f83ba162931105e78258dbec6a036622a56f6c585b1fad7c408794e3d24fe0dd6a30df897c19f396d3959
+EBUILD redland-1.0.17-r2.ebuild 2539 BLAKE2B cf1d63c4f19af85004f7a3216ce866a94ae4c5a1e3ae75b96f6ee802803e490ee8863e4bfe19b38d8b138ddabb61aba4af338a74f393ab5b3fd32ac7b5c5c6d0 SHA512 c2247f6fd0baddd089e380849fb9697c262f614b39bcaff796a91d9d00ecb65ca8a4a8e116be2d8262cdd9c72da8e4389c75d79fff2370e38936c8a511bd5c26
MISC metadata.xml 249 BLAKE2B f7f8f071ecba933f3d39b0b60983281d59299b92de9375a60ab4109d7202800cb790bce0c426227f04b3e2624b1adb20876145741355abc6a4938b8b9698d144 SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343
diff --git a/dev-libs/redland/files/redland-1.0.17-mysql-8-my_bool.patch b/dev-libs/redland/files/redland-1.0.17-mysql-8-my_bool.patch
new file mode 100644
index 000000000000..a59c456e84ff
--- /dev/null
+++ b/dev-libs/redland/files/redland-1.0.17-mysql-8-my_bool.patch
@@ -0,0 +1,15 @@
+--- a/src/rdf_storage_mysql.c
++++ b/src/rdf_storage_mysql.c
+@@ -445,11 +445,11 @@
+ /* Initialize closed MySQL connection handle */
+ connection->handle=mysql_init(connection->handle);
+
+ #ifdef HAVE_MYSQL_OPT_RECONNECT
+ if(1) {
+- my_bool value=(context->reconnect) ? 1 : 0;
++ bool value=(context->reconnect) ? 1 : 0;
+ mysql_options(connection->handle, MYSQL_OPT_RECONNECT, &value);
+ }
+ #endif
+
+ /* Create connection to database for handle */
diff --git a/dev-libs/redland/redland-1.0.17-r2.ebuild b/dev-libs/redland/redland-1.0.17-r2.ebuild
index b106ff79dde9..78f47b1290f9 100644
--- a/dev-libs/redland/redland-1.0.17-r2.ebuild
+++ b/dev-libs/redland/redland-1.0.17-r2.ebuild
@@ -25,6 +25,8 @@ RDEPEND="dev-libs/libltdl:0
DEPEND="${RDEPEND}
virtual/pkgconfig"
+PATCHES=( "${FILESDIR}"/${PN}-1.0.17-mysql-8-my_bool.patch )
+
MAKEOPTS="${MAKEOPTS} -j1" #500574, required for both src_compile() and src_install()
src_prepare() {