pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/ruby-gnome2-gobject-introspection
Module Name: pkgsrc
Committed By: taca
Date: Tue Jul 25 13:38:35 UTC 2017
Modified Files:
pkgsrc/devel/ruby-gnome2-gobject-introspection: distinfo
Added Files:
pkgsrc/devel/ruby-gnome2-gobject-introspection/patches:
patch-ext_gobject-introspection_rb-gi-function-info.c
Log Message:
Add a patch to fix build problem on NetBSD 6.1_STABLE and may be old
C compilers prior to c11.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
pkgsrc/devel/ruby-gnome2-gobject-introspection/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/ruby-gnome2-gobject-introspection/patches/patch-ext_gobject-introspection_rb-gi-function-info.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/ruby-gnome2-gobject-introspection/distinfo
diff -u pkgsrc/devel/ruby-gnome2-gobject-introspection/distinfo:1.6 pkgsrc/devel/ruby-gnome2-gobject-introspection/distinfo:1.7
--- pkgsrc/devel/ruby-gnome2-gobject-introspection/distinfo:1.6 Sat Jun 10 08:27:19 2017
+++ pkgsrc/devel/ruby-gnome2-gobject-introspection/distinfo Tue Jul 25 13:38:34 2017
@@ -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
Added files:
Index: pkgsrc/devel/ruby-gnome2-gobject-introspection/patches/patch-ext_gobject-introspection_rb-gi-function-info.c
diff -u /dev/null pkgsrc/devel/ruby-gnome2-gobject-introspection/patches/patch-ext_gobject-introspection_rb-gi-function-info.c:1.1
--- /dev/null Tue Jul 25 13:38:35 2017
+++ pkgsrc/devel/ruby-gnome2-gobject-introspection/patches/patch-ext_gobject-introspection_rb-gi-function-info.c Tue Jul 25 13:38:34 2017
@@ -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