packages: swig/swig.spec, swig/swig-guile2.patch (NEW) - added guile2 patch...
qboosh
qboosh at pld-linux.org
Wed May 18 21:40:01 CEST 2011
Author: qboosh Date: Wed May 18 19:40:01 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- added guile2 patch (fixes compiling of guile modules with guile 2 headers)
- release 2
---- Files affected:
packages/swig:
swig.spec (1.104 -> 1.105) , swig-guile2.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/swig/swig.spec
diff -u packages/swig/swig.spec:1.104 packages/swig/swig.spec:1.105
--- packages/swig/swig.spec:1.104 Sun Mar 13 17:31:13 2011
+++ packages/swig/swig.spec Wed May 18 21:39:55 2011
@@ -14,12 +14,13 @@
Summary(pt_BR.UTF-8): Gerador de Interfaces e "Wrappers" Simplificado (SWIG)
Name: swig
Version: 2.0.2
-Release: 1
+Release: 2
License: GPL v3+ (utility), free (library)
Group: Development/Languages
Source0: http://downloads.sourceforge.net/swig/%{name}-%{version}.tar.gz
# Source0-md5: eaf619a4169886923e5f828349504a29
Patch0: %{name}-php-freearg.patch
+Patch1: %{name}-guile2.patch
URL: http://www.swig.org/
BuildRequires: autoconf >= 2.58
BuildRequires: automake >= 1:1.7.2
@@ -159,6 +160,7 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__aclocal} -I Tools/config
@@ -237,6 +239,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.105 2011/05/18 19:39:55 qboosh
+- added guile2 patch (fixes compiling of guile modules with guile 2 headers)
+- release 2
+
Revision 1.104 2011/03/13 16:31:13 qboosh
- unified
================================================================
Index: packages/swig/swig-guile2.patch
diff -u /dev/null packages/swig/swig-guile2.patch:1.1
--- /dev/null Wed May 18 21:40:01 2011
+++ packages/swig/swig-guile2.patch Wed May 18 21:39:55 2011
@@ -0,0 +1,28 @@
+--- 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)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/swig/swig.spec?r1=1.104&r2=1.105&f=u
More information about the pld-cvs-commit
mailing list