pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lxterminal: add patch, thanks wiz
Module Name: pkgsrc-wip
Committed By: youri <youri%NetBSD.org@localhost>
Pushed By: youri
Date: Wed Apr 6 10:02:06 2016 +0200
Changeset: b35891fe3a4efe08ef6e7cb610dac3267fea43ce
Added Files:
lxterminal/patches/patch-src_setting.c
Log Message:
lxterminal: add patch, thanks wiz
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b35891fe3a4efe08ef6e7cb610dac3267fea43ce
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
lxterminal/patches/patch-src_setting.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diffs:
diff --git a/lxterminal/patches/patch-src_setting.c b/lxterminal/patches/patch-src_setting.c
new file mode 100644
index 0000000..5a589cc
--- /dev/null
+++ b/lxterminal/patches/patch-src_setting.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix glib function
+
+--- src/setting.c.orig 2014-10-21 15:29:18.000000000 +0000
++++ src/setting.c
+@@ -162,7 +162,7 @@ void save_setting()
+ /* Deep copy settings. */
+ Setting * copy_setting(Setting * setting)
+ {
+- g_return_if_fail (setting != NULL);
++ g_return_val_if_fail (setting != NULL, NULL);
+
+ /* Allocate structure. */
+ Setting * new_setting = g_slice_new0(Setting);
Home |
Main Index |
Thread Index |
Old Index