forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gegl-0.2.0-g_log_domain.patch
25 lines (21 loc) · 1.05 KB
/
gegl-0.2.0-g_log_domain.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From deaa974528ac1f4099d091a333214b1a50147243 Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <[email protected]>
Date: Wed, 1 May 2013 00:39:42 +0200
Subject: [PATCH] Prevent double escaping / error "stray ‘\’ in program"
---
gegl/Makefile.am | 1 +
1 file changed, 1 insertion(+), 0 deletion(-)
diff --git a/gegl/Makefile.am b/gegl/Makefile.am
index 43010ce..fd046d2 100644
--- a/gegl/Makefile.am
+++ b/gegl/Makefile.am
@@ -119,7 +119,8 @@ INCLUDES = $(AM_CFLAGS) $(AM_CPPFLAGS)
Gegl-@[email protected]: libgegl-@[email protected] Makefile
Gegl_@GEGL_MAJOR_VERSION@_@GEGL_MINOR_VERSION@_gir_INCLUDES = GObject-2.0 GLib-2.0 Babl-0.1
Gegl_@GEGL_MAJOR_VERSION@_@GEGL_MINOR_VERSION@_gir_CFLAGS = $(INCLUDES)
+INTROSPECTION_SCANNER_ENV = CFLAGS="${CFLAGS} "-D'G_LOG_DOMAIN="GEGL-"__FILE__' # No extra backslashes here!
Gegl_@GEGL_MAJOR_VERSION@_@GEGL_MINOR_VERSION@_gir_LIBS = libgegl-@[email protected]
Gegl_@GEGL_MAJOR_VERSION@_@GEGL_MINOR_VERSION@_gir_FILES = $(introspection_sources)
INTROSPECTION_GIRS += Gegl-@[email protected]
--
1.8.1.5