Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2013-04-02 13:22:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and      /work/SRC/openSUSE:Factory/.swig.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "swig", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/swig/swig.changes        2012-12-28 
22:50:01.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2013-04-02 
13:22:54.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Mar 28 11:56:54 CET 2013 - [email protected]
+
+- Add swig-fix_ocaml_type.patch to change the declaration of 
+  caml_array_length to match that in ocaml's header.
+
+-------------------------------------------------------------------

New:
----
  swig-fix_ocaml_type.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ swig.spec ++++++
--- /var/tmp/diff_new_pack.0Dz8ka/_old  2013-04-02 13:22:56.000000000 +0200
+++ /var/tmp/diff_new_pack.0Dz8ka/_new  2013-04-02 13:22:56.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package swig
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -33,6 +33,8 @@
 Patch7:         0012-Python-Disable-broken-test-in-threads_exception.patch
 # Test fails in openSUSE 12.1 only
 Patch8:         skip-python-li_std_containers_int.patch
+# Fix the return type in declaration of caml_array_length
+Patch9:         swig-fix_ocaml_type.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  boost-devel
@@ -134,6 +136,7 @@
 %patch8 -p1
 %endif
 %patch7 -p1
+%patch9
 
 %build
 %configure --disable-ccache

++++++ swig-fix_ocaml_type.patch ++++++
From: Philipp Thomas <[email protected]>
Date: 2013-03-27 15:47:28+01:00
Subject: Fix return type of caml_array_length


caml_array_type changed to mlsize_t, so fix the declaration.

---
 Lib/ocaml/ocamldec.swg |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: Lib/ocaml/ocamldec.swg
===================================================================
--- Lib/ocaml/ocamldec.swg.orig 2012-09-07 08:06:00.000000000 +0200
+++ Lib/ocaml/ocamldec.swg      2013-03-27 15:46:36.135652282 +0100
@@ -130,7 +130,7 @@ CAMLextern int64 Int64_val(caml_value_t
     SWIGSTATIC CAML_VALUE caml_array_new( int n );
     SWIGSTATIC void caml_array_set( CAML_VALUE arr, int n, CAML_VALUE item );
     SWIGSTATIC CAML_VALUE caml_array_nth( CAML_VALUE arr, int n );
-    SWIGSTATIC int caml_array_length( CAML_VALUE arr );
+    SWIGSTATIC mlsize_t caml_array_length( CAML_VALUE arr );
 
     SWIGSTATIC CAML_VALUE caml_val_char( char c );
     SWIGSTATIC CAML_VALUE caml_val_uchar( unsigned char c );
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to