media-gfx/viewnior: Replaced own patch with upstream fix
All checks were successful
the build was successful
All checks were successful
the build was successful
Package-Manager: Portage-2.3.51, Repoman-2.3.11 Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
This commit is contained in:
parent
fe57a537ca
commit
46dcd3cce3
|
@ -1,14 +1,14 @@
|
|||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX fix-implicit-declaration.patch 221 BLAKE2B 0b594dd4a812fa8f2d57b85a26840d39f4f7fa91dfffcf4d62f92240239f6a18a1be84c31fd69a91684b80b93c5464abf6c161414542ebdfbf068d410b99d102 SHA512 16203f3b6f310cb0e914b35ed162f8d931b4a172c371cb84934cbd0c0a83b58da6b4808eb10d51a77c5cedb45866a566254f09fe8affe57a49f3d03605d0b38c
|
||||
AUX 0.17-Replace-calls-to-getenv-with-g_getenv.patch 1486 BLAKE2B bee8ee6a3b3cbfaa24620ac772dc7755e54de5e6697c8d706c0b218449c9e36cb426e92e3ba7db59b9990ba2673b8b08e5a30102e5baa542badee0dc2c7aa7e7 SHA512 963b6ce3a46e8c453d220392087be0b0d3e56a0707128bfc3610d61b65269db165f27c8cf69023724c37bbfc2a0b18517a28c6bb3ee4c699be7f0044f6639522
|
||||
DIST viewnior-1.7.tar.gz 165719 BLAKE2B 906ab0b632fcc102ac62dd77d6742c2121c46cd92adc0dfe9ba772bf697eff356519dbb6219016a6470903c855aa4c9081f0d61ca1607d8d1b6d8e03236a19bc SHA512 5ba17d7b5ceeffa65b04213f179c1439b09ac44e412e0750dde159b118a714f28d3a290509a402b234e4e7ba5b185fc73eef65d418598f344911e4e2c1373fe5
|
||||
EBUILD viewnior-1.7.ebuild 1141 BLAKE2B ef335bad6bb0b1a28f96677084d399ae19052dfb4de35877d6eb79c0be62a021f6240c2452ede8c33b06db1a385ac01d2f61cac6763fdad28b5fdede0e3eeb0c SHA512 88d7aa9a55f1b65f3c35e332b704f516f5d160ecaab7a6b6d288ff23ab8c2f523a8f5728a87c97d921082e433a63dc968583bf283348d3ef6e0f35d79b76034e
|
||||
EBUILD viewnior-1.7.ebuild 1159 BLAKE2B 561aefeba9305111c1d3e8ebd8243b55f82b8daf627c3f317963c5d1da86777b57e319445698ad2fd6131b472515023f6b2b5ab87fa41e3f39691e787bc7dd8c SHA512 5b277270b7c8828a88a565abab0c951167a6facd2f481128c25e0f26902103d7bfe79dc1fd9665ce3d1a111633fe359aa559c5dd88f4a203710bfb167e40857b
|
||||
MISC metadata.xml 484 BLAKE2B 454eb553fd9d16d073addfbade6168724e810a80e7076c7ca09bdd1c8faa0373af849c5888305c024d1195c77c7e1439b0f00fdd3356e51150a6ff85a51c08a5 SHA512 bd881514455153909cbf3bef207d325d619ee916b70fd6b2d0632972f00c9056e2f260407d033530945b73bf77989468616e20ae3db480671ecc619ef10f7b5d
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCW/Ku8QAKCRDPw5SX8bJu
|
||||
B2CmAP9JpNu72W1e4SuRqkmRaL9LQs99ZK1h3OpcFxlHiq4NPQD/SR/Fepko9Ssx
|
||||
WtIlZf7fMQZlploprgJePj418ytS2/4=
|
||||
=1yjS
|
||||
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCW/K1sQAKCRDPw5SX8bJu
|
||||
B43aAPoC8UJ27GC6BB+NNBWKWsDp1+FTRffbxXuxgLE9Op70kAD+IpKZFeQnCVux
|
||||
D0k5hJci/r+lf0XAwbp+gHOeq/9/K4A=
|
||||
=L4/l
|
||||
-----END PGP SIGNATURE-----
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
From aac0a0c4ad232723e8aecbab4dff99691b90a08e Mon Sep 17 00:00:00 2001
|
||||
From: Siyan Panayotov <siyan@hellosiyan.com>
|
||||
Date: Mon, 28 May 2018 21:22:04 +0200
|
||||
Subject: [PATCH] Replace calls to getenv() with g_getenv()
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Using getenv() triggers compile errors in Open Build Service.
|
||||
Thanks to Axel Köllhofer for the patch.
|
||||
---
|
||||
src/uni-utils.c | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/uni-utils.c b/src/uni-utils.c
|
||||
index 8152848..1b4992a 100755
|
||||
--- a/src/uni-utils.c
|
||||
+++ b/src/uni-utils.c
|
||||
@@ -106,10 +106,10 @@ uni_detect_desktop_environment ()
|
||||
{
|
||||
VnrPrefsDesktop environment = VNR_PREFS_DESKTOP_GNOME3;
|
||||
|
||||
- gchar *xdg_current_desktop = g_ascii_strup(getenv("XDG_CURRENT_DESKTOP"), -1);
|
||||
- gchar *xdg_session_desktop = g_ascii_strup(getenv("XDG_SESSION_DESKTOP"), -1);
|
||||
- gchar *desktop_session = g_ascii_strdown(getenv("DESKTOP_SESSION"), -1);
|
||||
- gchar *gdmsession = g_ascii_strdown(getenv("GDMSESSION"), -1);
|
||||
+ gchar *xdg_current_desktop = g_ascii_strup(g_getenv("XDG_CURRENT_DESKTOP"), -1);
|
||||
+ gchar *xdg_session_desktop = g_ascii_strup(g_getenv("XDG_SESSION_DESKTOP"), -1);
|
||||
+ gchar *desktop_session = g_ascii_strdown(g_getenv("DESKTOP_SESSION"), -1);
|
||||
+ gchar *gdmsession = g_ascii_strdown(g_getenv("GDMSESSION"), -1);
|
||||
|
||||
if (!g_strcmp0(xdg_current_desktop, "GNOME") || !g_strcmp0(xdg_session_desktop, "GNOME"))
|
||||
{
|
||||
--
|
||||
2.18.1
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
--- a/src/uni-utils.c 2018-11-19 13:22:27.611236686 +0100
|
||||
+++ b/src/uni-utils.c 2018-11-19 13:29:36.577474931 +0100
|
||||
@@ -21,6 +21,7 @@
|
||||
*/
|
||||
|
||||
#include "uni-utils.h"
|
||||
+#include <stdlib.h>
|
||||
|
||||
/**
|
||||
* uni_pixbuf_scale_blend:
|
|
@ -24,7 +24,7 @@ RDEPEND="${DEPEND}
|
|||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/fix-implicit-declaration.patch"
|
||||
"${FILESDIR}/0.17-Replace-calls-to-getenv-with-g_getenv.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
|
Reference in New Issue
Block a user