pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/gobject-introspection Make warnings non fatal (see



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ce9eb5b86f71
branches:  trunk
changeset: 319135:ce9eb5b86f71
user:      martin <martin%pkgsrc.org@localhost>
date:      Wed Feb 06 11:15:08 2019 +0000

description:
Make warnings non fatal (see
devel/xfce4-conf/patches/patch-gsettings-backend_xfconf-giomodule.c for
an example why this may happen)

diffstat:

 devel/gobject-introspection/distinfo                       |   4 ++-
 devel/gobject-introspection/patches/patch-tools_compiler.c |  18 ++++++++++++++
 devel/gobject-introspection/patches/patch-tools_generate.c |  18 ++++++++++++++
 3 files changed, 39 insertions(+), 1 deletions(-)

diffs (59 lines):

diff -r 95bb3c93e629 -r ce9eb5b86f71 devel/gobject-introspection/distinfo
--- a/devel/gobject-introspection/distinfo      Wed Feb 06 11:12:31 2019 +0000
+++ b/devel/gobject-introspection/distinfo      Wed Feb 06 11:15:08 2019 +0000
@@ -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 @@
 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 -r 95bb3c93e629 -r ce9eb5b86f71 devel/gobject-introspection/patches/patch-tools_compiler.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gobject-introspection/patches/patch-tools_compiler.c        Wed Feb 06 11:15:08 2019 +0000
@@ -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 -r 95bb3c93e629 -r ce9eb5b86f71 devel/gobject-introspection/patches/patch-tools_generate.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gobject-introspection/patches/patch-tools_generate.c        Wed Feb 06 11:15:08 2019 +0000
@@ -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 ();
+ 



Home | Main Index | Thread Index | Old Index