gnome-base/libgnome: remove utf-8 character from header

Closes: https://bugs.gentoo.org/639336
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
Gilles Dartiguelongue
2018-01-18 09:06:56 +01:00
parent 283d88a84e
commit bf0a364d27
2 changed files with 31 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
From 33313713c4f5c1de500859ff128d6fd7e3af5722 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Mon, 7 Aug 2017 12:57:43 -0400
Subject: gnome-config.h: Fix invalid UTF-8 in header
This breaks the new Python `glib-mkenums`.
---
libgnome/gnome-config.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libgnome/gnome-config.h b/libgnome/gnome-config.h
index 0c3dfe6..b9d659d 100644
--- a/libgnome/gnome-config.h
+++ b/libgnome/gnome-config.h
@@ -270,7 +270,7 @@ void gnome_config_clean_key_ (const char *path, gboolean priv);
#define gnome_config_private_clean_key(path) \
(gnome_config_clean_key_((path),TRUE))
-/* returns the true filename of the config file */
+/* returns the true filename of the config file */
#define gnome_config_get_real_path(path) \
(g_build_filename (gnome_user_dir_get(),(path),NULL))
#define gnome_config_private_get_real_path(path) \
--
cgit v0.12

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -40,6 +40,10 @@ src_prepare() {
# Make sure menus have icons. People don't like change
epatch "${FILESDIR}/${PN}-2.28.0-menus-have-icons.patch"
# Remove UTF-8 character from headers
# https://bugs.gentoo.org/639336
epatch "${FILESDIR}"/${PN}-2.32.1-utf8-header.patch
use branding && epatch "${FILESDIR}"/${PN}-2.26.0-branding.patch
# Default to Adwaita theme over Clearlooks to proper gtk3 support