pkgsrc-WIP-changes archive

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

libappindicator: fix clang build



Module Name:	pkgsrc-wip
Committed By:	youri <youri%NetBSD.org@localhost>
Pushed By:	youri
Date:		Thu Apr 7 15:55:48 2016 +0200
Changeset:	f9301d554dabf9ddb2415eaef06f706c9062b310

Modified Files:
	libappindicator/distinfo
Added Files:
	libappindicator/patches/patch-src_app-indicator.c

Log Message:
libappindicator: fix clang build

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f9301d554dabf9ddb2415eaef06f706c9062b310

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libappindicator/distinfo                          |  2 ++
 libappindicator/patches/patch-src_app-indicator.c | 19 +++++++++++++++++++
 2 files changed, 21 insertions(+)

diffs:
diff --git a/libappindicator/distinfo b/libappindicator/distinfo
index 1f540e2..1304017 100644
--- a/libappindicator/distinfo
+++ b/libappindicator/distinfo
@@ -2,4 +2,6 @@ $NetBSD: distinfo,v 1.3 2015/04/09 04:13:09 krytarowski Exp $
 
 SHA1 (libappindicator-12.10.0.tar.gz) = 17e2e22cb7025a175ba7f7cff5efdf5dc0e79634
 RMD160 (libappindicator-12.10.0.tar.gz) = 24e5df115394adcea584c19d36562162c3ab333e
+SHA512 (libappindicator-12.10.0.tar.gz) = 317a22a23c8ed84e74207b64b2e9683992d1fb7208176637a051dfe925974f966d1cfa31e650b45eaf839ab61641dee8fbebc8a07882a09b0dd766d88b8d5b9a
 Size (libappindicator-12.10.0.tar.gz) = 535562 bytes
+SHA1 (patch-src_app-indicator.c) = 681e8be34a56748cb0786fb06e299df5fd2e1a7a
diff --git a/libappindicator/patches/patch-src_app-indicator.c b/libappindicator/patches/patch-src_app-indicator.c
new file mode 100644
index 0000000..bb08e75
--- /dev/null
+++ b/libappindicator/patches/patch-src_app-indicator.c
@@ -0,0 +1,19 @@
+$NetBSD$
+
+Fix clang build.
+
+--- src/app-indicator.c.orig	2012-07-11 17:28:34.000000000 +0000
++++ src/app-indicator.c
+@@ -196,9 +196,9 @@ static void bus_creation (GObject * obj,
+ static void bus_watcher_ready (GObject * obj, GAsyncResult * res, gpointer user_data);
+ 
+ static const GDBusInterfaceVTable item_interface_table = {
+-	method_call:    bus_method_call,
+-	get_property:   bus_get_prop,
+-	set_property:   NULL /* No properties that can be set */
++	.method_call =    bus_method_call,
++	.get_property =   bus_get_prop,
++	.set_property =   NULL /* No properties that can be set */
+ };
+ 
+ /* GObject type */


Home | Main Index | Thread Index | Old Index