summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2019-02-06 11:15:08 +0000
committermartin <martin@pkgsrc.org>2019-02-06 11:15:08 +0000
commit5a4b50fd0c27a507e47c476c7c81c6a41f0e1ad2 (patch)
tree847c557946015c1faa9bec7a19e8bef616674caf
parente4bd2541b0feb55811cab4e1d2b129ea8ed7cd46 (diff)
downloadpkgsrc-5a4b50fd0c27a507e47c476c7c81c6a41f0e1ad2.tar.gz
Make warnings non fatal (see
devel/xfce4-conf/patches/patch-gsettings-backend_xfconf-giomodule.c for an example why this may happen)
-rw-r--r--devel/gobject-introspection/distinfo4
-rw-r--r--devel/gobject-introspection/patches/patch-tools_compiler.c18
-rw-r--r--devel/gobject-introspection/patches/patch-tools_generate.c18
3 files changed, 39 insertions, 1 deletions
diff --git a/devel/gobject-introspection/distinfo b/devel/gobject-introspection/distinfo
index 3e3bada8c74..b0a5fbd2723 100644
--- a/devel/gobject-introspection/distinfo
+++ b/devel/gobject-introspection/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.28 2018/04/17 08:41:47 wiz Exp $
+$NetBSD: distinfo,v 1.29 2019/02/06 11:15:08 martin Exp $
SHA1 (gobject-introspection-1.56.1.tar.xz) = eef277357cf724bc521f203f0d47faaea2ae4f0c
RMD160 (gobject-introspection-1.56.1.tar.xz) = 55938f879f3211390063b56298604cb766142c60
@@ -7,3 +7,5 @@ Size (gobject-introspection-1.56.1.tar.xz) = 1397812 bytes
SHA1 (patch-aa) = 562071f5524de4c50571cb0c4625dcf3c933bac5
SHA1 (patch-ac) = 52174e01aa90a5cf75cfe2f255826c1e46f8e183
SHA1 (patch-giscanner_ccompiler.py) = a9408624d799be35941b7db3f4cbfe35cf6a8797
+SHA1 (patch-tools_compiler.c) = 6fb4d83dc9d4a60ce2d14fef3026f9700c714716
+SHA1 (patch-tools_generate.c) = 6ff34fd945db4338d66ffae14b2a0512268874e4
diff --git a/devel/gobject-introspection/patches/patch-tools_compiler.c b/devel/gobject-introspection/patches/patch-tools_compiler.c
new file mode 100644
index 00000000000..7c0a71653f1
--- /dev/null
+++ b/devel/gobject-introspection/patches/patch-tools_compiler.c
@@ -0,0 +1,18 @@
+$NetBSD: patch-tools_compiler.c,v 1.1 2019/02/06 11:15:08 martin Exp $
+
+Warnings should not be fatal
+(see
+devel/xfce4-conf/patches/patch-gsettings-backend_xfconf-giomodule.c for
+an example why this may happen)
+
+--- tools/compiler.c.orig 2017-05-13 15:19:04.000000000 +0200
++++ tools/compiler.c 2019-02-06 12:06:24.478613835 +0100
+@@ -170,7 +170,7 @@ main (int argc, char ** argv)
+ logged_levels = logged_levels | G_LOG_LEVEL_DEBUG;
+ if (verbose)
+ logged_levels = logged_levels | G_LOG_LEVEL_MESSAGE;
+- g_log_set_always_fatal (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL);
++ g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL);
+
+ g_log_set_default_handler (log_handler, NULL);
+
diff --git a/devel/gobject-introspection/patches/patch-tools_generate.c b/devel/gobject-introspection/patches/patch-tools_generate.c
new file mode 100644
index 00000000000..46289637388
--- /dev/null
+++ b/devel/gobject-introspection/patches/patch-tools_generate.c
@@ -0,0 +1,18 @@
+$NetBSD: patch-tools_generate.c,v 1.1 2019/02/06 11:15:08 martin Exp $
+
+Warnings should not be fatal
+(see
+devel/xfce4-conf/patches/patch-gsettings-backend_xfconf-giomodule.c for
+an example why this may happen)
+
+--- tools/generate.c.orig 2017-05-13 15:19:04.000000000 +0200
++++ tools/generate.c 2019-02-06 12:06:24.479367427 +0100
+@@ -52,7 +52,7 @@ main (int argc, char *argv[])
+ { NULL, }
+ };
+
+- g_log_set_always_fatal (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL);
++ g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL);
+
+ g_typelib_check_sanity ();
+