summaryrefslogtreecommitdiff
path: root/x11-libs/libyui-qt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-09 16:53:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-09 16:53:27 +0000
commit80208fb578cf92cc308906660ca6d7860c6b2a1f (patch)
tree6f06818031b553c506fc10dfe9908a835df288aa /x11-libs/libyui-qt
parent06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (diff)
gentoo resync : 09.03.2018
Diffstat (limited to 'x11-libs/libyui-qt')
-rw-r--r--x11-libs/libyui-qt/Manifest3
-rw-r--r--x11-libs/libyui-qt/files/libyui-qt-2.46.21-norpc.patch24
-rw-r--r--x11-libs/libyui-qt/libyui-qt-2.46.21.ebuild4
3 files changed, 29 insertions, 2 deletions
diff --git a/x11-libs/libyui-qt/Manifest b/x11-libs/libyui-qt/Manifest
index c0393239709c..9ce1498258a2 100644
--- a/x11-libs/libyui-qt/Manifest
+++ b/x11-libs/libyui-qt/Manifest
@@ -1,3 +1,4 @@
+AUX libyui-qt-2.46.21-norpc.patch 653 BLAKE2B e93b1a1da1ef585d7f1caf34325eb8107dc952a84707565dce174a35ae37cb90ffb384c6a5852e490b15d002cf7083fcedc32882f4bea0b7f30e4fa30ca53515 SHA512 123b2b932318bbf71621bd37cea5be25a39ea796359cc0800bdbc2270b0240bca2a105562dfff79ea4b8d4d0af23c7933703d15740340119b31211d0ec42010c
DIST libyui-qt-2.46.21.tar.gz 167324 BLAKE2B 175df2de97b013e81298dd8f2c66d099047d6d8ae2ca56f9c92d2b634a5acbdd92bcd3c4d0243a4e013267eeb563366229440b7cdf160ea888dc5b85e12984e0 SHA512 715154efd9fa2753f528e5a809fd2a3c635751b9bee3d511e396051b04a55086446510dbec5c70e753b1926c35faf84aaf05ea92a2a7f089f9b95dce9ee1a77f
-EBUILD libyui-qt-2.46.21.ebuild 1272 BLAKE2B 28452249675f3b9533096c8b4a77b8c943b40e664656e74f10fc6ff0c6a69c1279d0700575e3fed58b9b5c91956cc05b094afcc24bd202555a8d2981d1e3d26d SHA512 aaf49b735478abcb128bdea5d579f4a2549e834729202ea3115f67f8519290554a5b7f158b520053cda5aee8eb16856e5fa788fdf72f76c747fcf47da9e97ba8
+EBUILD libyui-qt-2.46.21.ebuild 1316 BLAKE2B 697ced0fa0e95173d7b44ce3e1ba9cc1db8daac57ec2a483462c77d43466a6c1aa9fb805f25bb33a2cc10f32c5ae7e487b1978938f2a3346a4fbf33d01d457a1 SHA512 d5ba89b1af7dfc6bd1a5eb42388bc25a2f9a5e6a349dd27817ff0cafb2c1edbd283600104abf04360715ed31f9b343069e89eff61c31b383a4fcf02971db6fd7
MISC metadata.xml 543 BLAKE2B 2c00717eccbb9788adfe5dec2da74394568380bacc972c446374806625f4b4bb01f481f903eecbdc14720438db11620b211546751c1f7d9370f8903d2744921d SHA512 0d946fcf6d015b5ef2607abb4e6f0bef9956f4d8764435e8539d16ca25904996f0eb0cd582cce74105ab73ccd1a70c93b72a6e674a8686d4d732c31f31180458
diff --git a/x11-libs/libyui-qt/files/libyui-qt-2.46.21-norpc.patch b/x11-libs/libyui-qt/files/libyui-qt-2.46.21-norpc.patch
new file mode 100644
index 000000000000..8258fe7b1910
--- /dev/null
+++ b/x11-libs/libyui-qt/files/libyui-qt-2.46.21-norpc.patch
@@ -0,0 +1,24 @@
+From a6e599e79bd15f6a97ff6d8f2e3109759ff37aaf Mon Sep 17 00:00:00 2001
+From: Thorsten Kukuk <kukuk@thkukuk.de>
+Date: Mon, 13 Nov 2017 11:15:21 +0100
+Subject: [PATCH] Include sys/param.h instead of rpc/types.h for
+ MAXHOSTNAMELEN, we are not using RPC functions and sunrpc is deprecated in
+ glibc.
+
+---
+ src/YQUI.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/YQUI.cc b/src/YQUI.cc
+index 7c82468..f949979 100644
+--- a/src/YQUI.cc
++++ b/src/YQUI.cc
+@@ -22,7 +22,7 @@
+
+ /-*/
+
+-#include <rpc/types.h> // MAXHOSTNAMELEN
++#include <sys/param.h> // MAXHOSTNAMELEN
+ #include <dlfcn.h>
+ #include <libintl.h>
+ #include <algorithm>
diff --git a/x11-libs/libyui-qt/libyui-qt-2.46.21.ebuild b/x11-libs/libyui-qt/libyui-qt-2.46.21.ebuild
index 885e3886395d..dbd9945ad3a7 100644
--- a/x11-libs/libyui-qt/libyui-qt-2.46.21.ebuild
+++ b/x11-libs/libyui-qt/libyui-qt-2.46.21.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -30,6 +30,8 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${PN}-${PN}-master-${PV}"
+PATCHES=( "${FILESDIR}/${P}-norpc.patch" )
+
src_prepare() {
cp "${EPREFIX}/usr/share/libyui/buildtools/CMakeLists.common" CMakeLists.txt || die