Accepting request 281370 from devel:tools:building
- Update to 3.0.4 - Python regression fix when wrapping C++ default arguments. - Improved error messages. - Update to 3.0.3 - Add support for C++11 strongly typed enumerations. - Numerous bug fixes and minor enhancements for C#, D, Go, Java, Javascript, PHP, Perl and Python wrappers. - drop nested_classes.diff, patch is upstream OBS-URL: https://build.opensuse.org/request/show/281370 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/swig?expand=0&rev=50
This commit is contained in:
commit
e04d87084f
@ -1,20 +0,0 @@
|
||||
--- ./Source/CParse/parser.c.orig 2014-08-26 12:24:53.381788068 +0000
|
||||
+++ ./Source/CParse/parser.c 2014-08-26 12:36:45.700287073 +0000
|
||||
@@ -1065,7 +1065,7 @@ static Node *nested_forward_declaration(
|
||||
}
|
||||
}
|
||||
|
||||
- if (!GetFlag(currentOuterClass, "nested")) {
|
||||
+ if (!currentOuterClass || !GetFlag(currentOuterClass, "nested")) {
|
||||
if (nn && Equal(nodeType(nn), "classforward")) {
|
||||
Node *n = nn;
|
||||
SWIG_WARN_NODE_BEGIN(n);
|
||||
@@ -7562,6 +7562,8 @@ yyreduce:
|
||||
} else if (nscope_inner) {
|
||||
/* this is tricky */
|
||||
/* we add the declaration in the original namespace */
|
||||
+ if (Strcmp(nodeType(nscope_inner), "class") == 0 && cparse_cplusplus && ignore_nested_classes && !GetFlag((yyval.node), "feature:flatnested"))
|
||||
+ (yyval.node) = nested_forward_declaration((yyvsp[(1) - (9)].id), (yyvsp[(2) - (9)].id), (yyvsp[(3) - (9)].str), Copy((yyvsp[(3) - (9)].str)), (yyvsp[(9) - (9)].node));
|
||||
appendChild(nscope_inner, (yyval.node));
|
||||
Swig_symbol_setscope(Getattr(nscope_inner, "symtab"));
|
||||
Delete(Namespaceprefix);
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a2669657cabcedc371f63c0457407a183e0b6b2ef4e7e303c1ec9a3964cc7813
|
||||
size 5690863
|
3
swig-3.0.4.tar.gz
Normal file
3
swig-3.0.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:410ffa80ef5535244b500933d70c1b65206333b546ca5a6c89373afb65413795
|
||||
size 5720119
|
17
swig.changes
17
swig.changes
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 15 06:57:56 UTC 2015 - kkaempf@suse.com
|
||||
|
||||
- Update to 3.0.4
|
||||
- Python regression fix when wrapping C++ default arguments.
|
||||
- Improved error messages.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 7 08:23:35 UTC 2015 - kkaempf@suse.com
|
||||
|
||||
- Update to 3.0.3
|
||||
- Add support for C++11 strongly typed enumerations.
|
||||
- Numerous bug fixes and minor enhancements for C#, D, Go, Java,
|
||||
Javascript, PHP, Perl and Python wrappers.
|
||||
|
||||
- drop nested_classes.diff, patch is upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 14 15:34:33 UTC 2014 - schwab@linux-m68k.org
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package swig
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 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
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: swig
|
||||
Version: 3.0.2
|
||||
Version: 3.0.4
|
||||
Release: 0
|
||||
Summary: Simplified Wrapper and Interface Generator
|
||||
License: GPL-3.0+ and BSD-3-Clause
|
||||
@ -25,7 +25,7 @@ Group: Development/Languages/C and C++
|
||||
Url: http://www.swig.org/
|
||||
Source: http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}.rpmlintrc
|
||||
Patch: nested_classes.diff
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: boost-devel
|
||||
@ -120,7 +120,6 @@ understandig SWIG usage.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch
|
||||
|
||||
%build
|
||||
%configure --disable-ccache
|
||||
|
Loading…
x
Reference in New Issue
Block a user