pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ruby-gnome2-gobject-introspection Add a patch to...
details: https://anonhg.NetBSD.org/pkgsrc/rev/904d89d50c8f
branches: trunk
changeset: 365774:904d89d50c8f
user: taca <taca%pkgsrc.org@localhost>
date: Tue Jul 25 13:38:34 2017 +0000
description:
Add a patch to fix build problem on NetBSD 6.1_STABLE and may be old
C compilers prior to c11.
diffstat:
devel/ruby-gnome2-gobject-introspection/distinfo | 3 +-
devel/ruby-gnome2-gobject-introspection/patches/patch-ext_gobject-introspection_rb-gi-function-info.c | 24 ++++++++++
2 files changed, 26 insertions(+), 1 deletions(-)
diffs (40 lines):
diff -r 8f6d6d50dad7 -r 904d89d50c8f devel/ruby-gnome2-gobject-introspection/distinfo
--- a/devel/ruby-gnome2-gobject-introspection/distinfo Tue Jul 25 13:19:00 2017 +0000
+++ b/devel/ruby-gnome2-gobject-introspection/distinfo Tue Jul 25 13:38:34 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2017/06/10 08:27:19 tsutsui Exp $
+$NetBSD: distinfo,v 1.7 2017/07/25 13:38:34 taca Exp $
SHA1 (gobject-introspection-3.1.6.gem) = 63090a752be740b4859c91180af64ae698b407c4
RMD160 (gobject-introspection-3.1.6.gem) = 121dbce1be29f14f7d03b7db87a376ab39ec0e4a
SHA512 (gobject-introspection-3.1.6.gem) = 74503d92f2d4a4d48b89bbe7bbb4f1da3789d1450a31e314b19ecb3f586fb538e7c83a22de599936813a931a31f236c7ab156a7bd4fbe2d6e862e76d4ac7f922
Size (gobject-introspection-3.1.6.gem) = 52224 bytes
+SHA1 (patch-ext_gobject-introspection_rb-gi-function-info.c) = 44bb15af46dcf6aab30bca06095fd5c3979a3ee5
diff -r 8f6d6d50dad7 -r 904d89d50c8f devel/ruby-gnome2-gobject-introspection/patches/patch-ext_gobject-introspection_rb-gi-function-info.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-gnome2-gobject-introspection/patches/patch-ext_gobject-introspection_rb-gi-function-info.c Tue Jul 25 13:38:34 2017 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ext_gobject-introspection_rb-gi-function-info.c,v 1.1 2017/07/25 13:38:34 taca Exp $
+
+* Avoid typedef RBGICallback again on compilers prior to c11, such as
+ gcc 4.8.5 on NetBSD 6.1_STABLE. They treat it redefinition of
+ RBGICallback.
+
+--- ext/gobject-introspection/rb-gi-function-info.c.orig 2017-07-25 08:10:51.000000000 +0000
++++ ext/gobject-introspection/rb-gi-function-info.c
+@@ -34,13 +34,13 @@
+ #define RG_TARGET_NAMESPACE rb_cGIFunctionInfo
+ #define SELF(self) RVAL2GI_FUNCTION_INFO(self)
+
+-typedef struct _RBGICallback {
++struct _RBGICallback {
+ GIArgInfo *arg_info;
+ GITypeInfo *type_info;
+ GICallbackInfo *callback_info;
+ ffi_cif cif;
+ ffi_closure *closure;
+-} RBGICallback;
++};
+
+ static VALUE RG_TARGET_NAMESPACE;
+ static VALUE rb_cGLibError;
Home |
Main Index |
Thread Index |
Old Index