This commit is contained in:
parent
14a75848df
commit
6a854e7de1
@ -1,21 +0,0 @@
|
||||
--- Examples/test-suite/extend.i
|
||||
+++ Examples/test-suite/extend.i
|
||||
@@ -21,6 +21,7 @@ struct Base {
|
||||
Base(int v = 0) : value(v) {}
|
||||
int value;
|
||||
virtual int method(int v) {
|
||||
+ return v;
|
||||
}
|
||||
};
|
||||
struct Derived : Base {
|
||||
--- Examples/test-suite/template_array_numeric.i
|
||||
+++ Examples/test-suite/template_array_numeric.i
|
||||
@@ -8,7 +8,7 @@ class Arrayf
|
||||
float a[Len];
|
||||
public:
|
||||
Arrayf() {}
|
||||
- Arrayf(const float l[Len]) { };
|
||||
+ Arrayf(const float l[Len]) { memcpy((void*)a, (void*)l, sizeof(a)); };
|
||||
};
|
||||
|
||||
template <int Len>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5031d304f833a15fb89a74e1b4f285ff4c005e2d92d3b7a654c8c467dcccb4a4
|
||||
size 3360337
|
15
swig-1.3.32-testsuite-warnings.patch
Normal file
15
swig-1.3.32-testsuite-warnings.patch
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
Examples/test-suite/template_array_numeric.i | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- Examples/test-suite/template_array_numeric.i.orig
|
||||
+++ Examples/test-suite/template_array_numeric.i
|
||||
@@ -8,7 +8,7 @@ class Arrayf
|
||||
float a[Len];
|
||||
public:
|
||||
Arrayf() {}
|
||||
- Arrayf(const float l[Len]) { };
|
||||
+ Arrayf(const float l[Len]) { memcpy((void*)a, (void*)l, sizeof(a)); };
|
||||
};
|
||||
|
||||
template <int Len>
|
3
swig-1.3.33.tar.bz2
Normal file
3
swig-1.3.33.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aef21a4de0fb013dfcffb80d5c224f14cda18ab97cbea2c6e58a9a968605685f
|
||||
size 3521648
|
@ -1,29 +0,0 @@
|
||||
--- Makefile.in
|
||||
+++ Makefile.in
|
||||
@@ -66,7 +66,7 @@ chk-set-swiglib = SWIG_LIB=@ROOT_DIR@/L
|
||||
chk-set-swig = SWIG=@ROOT_DIR@/$(TARGET)
|
||||
chk-set-env = $(chk-set-swiglib) $(chk-set-swig)
|
||||
|
||||
-chk = $(MAKE) -k -s $(chk-set-env) $(ACTION)
|
||||
+chk = $(MAKE) -k $(chk-set-env) $(ACTION)
|
||||
|
||||
check-aliveness:
|
||||
test -x ./$(TARGET)
|
||||
@@ -133,7 +133,7 @@ check-%-examples:
|
||||
|
||||
gifplot-library:
|
||||
@echo $(ACTION)ing Examples/GIFPlot/Lib
|
||||
- @cd Examples/GIFPlot/Lib && $(MAKE) -k -s $(ACTION)
|
||||
+ @cd Examples/GIFPlot/Lib && $(MAKE) -k $(ACTION)
|
||||
|
||||
check-gifplot: \
|
||||
check-tcl-gifplot \
|
||||
@@ -201,7 +201,7 @@ check-%-test-suite:
|
||||
echo warning: cannot $(ACTION) $* test-suite "(no dir $$dir)";\
|
||||
else \
|
||||
echo $(ACTION)ing $* test-suite; \
|
||||
- (cd $$dir && $(MAKE) -k -s $(ACTION)) \
|
||||
+ (cd $$dir && $(MAKE) -k $(ACTION)) \
|
||||
|| passed=false; \
|
||||
fi; \
|
||||
test $$passed = true
|
11
swig.changes
11
swig.changes
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 28 17:48:16 CET 2007 - mmarek@suse.cz
|
||||
|
||||
- updated to 1.3.33
|
||||
+ shared_ptr support for Java and C#
|
||||
+ Enhanced STL support for Ruby
|
||||
+ Fixed long-standing memory leak in PHP Module
|
||||
+ Numerous fixes and minor enhancements for Allegrocl, C#, cffi,
|
||||
Chicken, Guile, Java, Lua, Ocaml, Perl, PHP, Python, Ruby, Tcl
|
||||
+ Improved warning support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 19 16:54:03 CEST 2007 - mmarek@suse.cz
|
||||
|
||||
|
26
swig.spec
26
swig.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package swig (Version 1.3.31)
|
||||
# spec file for package swig (Version 1.3.33)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@ -17,11 +17,10 @@ License: BSD 3-Clause
|
||||
Group: Development/Languages/C and C++
|
||||
AutoReqProv: on
|
||||
Summary: Simplified Wrapper and Interface Generator
|
||||
Version: 1.3.31
|
||||
Release: 51
|
||||
Version: 1.3.33
|
||||
Release: 1
|
||||
Source: swig-%{version}.tar.bz2
|
||||
Patch1: swig-testsuite.patch
|
||||
Patch2: swig-1.3.31-testsuite-warnings.patch
|
||||
Patch2: swig-1.3.32-testsuite-warnings.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -90,7 +89,6 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1
|
||||
%patch2
|
||||
|
||||
%build
|
||||
@ -107,13 +105,6 @@ export CXXFLAGS="$RPM_OPT_FLAGS"
|
||||
--prefix=/usr \
|
||||
--libdir=%{_libdir}
|
||||
make %{?jobs:-j%jobs}
|
||||
%ifarch %ix86 s390
|
||||
# this test is known to fail on these architectures as of swig-1.3.31
|
||||
mv Examples/test-suite/perl5/li_std_string_runme.pl \
|
||||
Examples/test-suite/perl5/li_std_string_runme.pl.DISABLED
|
||||
# reminder
|
||||
test %version = 1.3.31
|
||||
%endif
|
||||
make check
|
||||
|
||||
%install
|
||||
@ -152,7 +143,16 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root)
|
||||
%{_docdir}/%{name}/Examples
|
||||
%{_libdir}/swig
|
||||
|
||||
%changelog
|
||||
* Wed Nov 28 2007 - mmarek@suse.cz
|
||||
- updated to 1.3.33
|
||||
+ shared_ptr support for Java and C#
|
||||
+ Enhanced STL support for Ruby
|
||||
+ Fixed long-standing memory leak in PHP Module
|
||||
+ Numerous fixes and minor enhancements for Allegrocl, C#, cffi,
|
||||
Chicken, Guile, Java, Lua, Ocaml, Perl, PHP, Python, Ruby, Tcl
|
||||
+ Improved warning support
|
||||
* Wed Sep 19 2007 - mmarek@suse.cz
|
||||
- don't "update" autofoo when building for older dists in the
|
||||
buildservice
|
||||
|
Loading…
x
Reference in New Issue
Block a user