OBS User unknown 2007-12-03 22:41:10 +00:00 committed by Git OBS Bridge
parent 14a75848df
commit 6a854e7de1
7 changed files with 42 additions and 66 deletions

View File

@ -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>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5031d304f833a15fb89a74e1b4f285ff4c005e2d92d3b7a654c8c467dcccb4a4
size 3360337

View 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
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aef21a4de0fb013dfcffb80d5c224f14cda18ab97cbea2c6e58a9a968605685f
size 3521648

View File

@ -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

View File

@ -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

View File

@ -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