Accepting request 215615 from home:badshah400:branches:devel:tools:building

Add patch to make swig support octave >= 3.8.0

OBS-URL: https://build.opensuse.org/request/show/215615
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=58
This commit is contained in:
Klaus Kämpf
2014-01-30 11:49:32 +00:00
committed by Git OBS Bridge
parent 9108068fca
commit 536cb6b5d2
3 changed files with 235 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package swig
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
@@ -35,6 +35,8 @@ Patch11: 0001-Fix-Ruby-tracking-code-to-use-C-hash.patch
Patch12: ruby-1.8.6-newobject.patch
# PATCH-FIX-UPSTREAM swig-lua-fix-void-return-for-int-functions.patch bnc#843310 badshah400@gmail.com -- Fix functions returning void when int is expected for lua bindings
Patch13: swig-lua-fix-void-return-for-int-functions.patch
# PATCH-FIX-UPSTREAM swig-support-octave-3.8.0.patch badshah400@gmail.com -- Support octave 3.8.0 (this fixes octave 3.8.0 bindings of several packages failing to build in Factory such as mathgl, plplot, etc.), patch taken from upstream and rebased for current version.
Patch14: swig-support-octave-3.8.0.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: boost-devel
@@ -141,6 +143,7 @@ understandig SWIG usage.
%endif
%patch9
%patch13 -p1
%patch14 -p1
%build
%configure --disable-ccache