Closes: https://bugs.gentoo.org/711042
Package-Manager: Portage-2.3.92, Repoman-2.3.20
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
--- /dev/null
+diff -Naur wmakerconf-2.12.orig/src/error.h wmakerconf-2.12/src/error.h
+--- wmakerconf-2.12.orig/src/error.h 2001-04-18 23:13:33.000000000 +0200
++++ wmakerconf-2.12/src/error.h 2020-03-07 23:21:51.336443663 +0100
+@@ -37,8 +37,8 @@
+ #define N_(string) (string)
+ /* I18n */
+
+-#define error error_line=__LINE__,error_file=__FILE__,_error
+-#define warning error_line=__LINE__,error_file=__FILE__,_warning
++#define error _error
++#define warning _warning
+ #define MAXSTRLEN 1024
+
+ #undef NO
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
"${FILESDIR}"/${P}-desktop.patch
"${FILESDIR}"/${P}-format-security.patch
"${FILESDIR}"/${P}-wmaker-0.95_support.patch
+ "${FILESDIR}"/${P}-glib-2.62.patch
)
src_prepare() {