+++ /dev/null
---- swig-2.0.2/Lib/guile/guile_scm_run.swg.orig 2010-02-28 00:26:02.000000000 +0100
-+++ swig-2.0.2/Lib/guile/guile_scm_run.swg 2011-05-18 20:28:49.077624577 +0200
-@@ -12,7 +12,11 @@
- extern "C" {
- #endif
-
-+#if SCM_MAJOR_VERSION >= 2
-+typedef scm_t_subr swig_guile_proc;
-+#else
- typedef SCM (*swig_guile_proc)();
-+#endif
- typedef SCM (*guile_destructor)(SCM);
-
- typedef struct swig_guile_clientdata {
---- swig-2.0.2/Lib/guile/guile_gh_run.swg.orig 2010-02-28 00:26:02.000000000 +0100
-+++ swig-2.0.2/Lib/guile/guile_gh_run.swg 2011-05-18 20:28:35.984290806 +0200
-@@ -15,7 +15,11 @@
- extern "C" {
- #endif
-
-+#if SCM_MAJOR_VERSION >= 2
-+typedef scm_t_subr swig_guile_proc;
-+#else
- typedef SCM (*swig_guile_proc)();
-+#endif
-
- #define SWIG_malloc(size) \
- SCM_MUST_MALLOC(size)
Summary(pl.UTF-8): Generator interfejsów do Perla, Tcl-a, Guile'a i Pythona
Summary(pt_BR.UTF-8): Gerador de Interfaces e "Wrappers" Simplificado (SWIG)
Name: swig
-Version: 2.0.4
-Release: 2
+Version: 2.0.10
+Release: 1
License: GPL v3+ (utility), free (library)
Group: Development/Languages
Source0: http://downloads.sourceforge.net/swig/%{name}-%{version}.tar.gz
-# Source0-md5: 4319c503ee3a13d2a53be9d828c3adc0
+# Source0-md5: 6d5e7ad05b4a404e5e85db9befb70c9a
Patch0: %{name}-php-freearg.patch
-Patch1: %{name}-guile2.patch
URL: http://www.swig.org/
BuildRequires: autoconf >= 2.58
BuildRequires: automake >= 1:1.7.2
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%build
%{__aclocal} -I Tools/config