FreeBSD Bugzilla – Attachment 140292 Details for
Bug 186817
[PATCH] devel/swig20: update to 2.0.12
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
swig-2.0.12.patch
swig-2.0.12.patch (text/plain), 5.51 KB, created by
koobs
on 2014-02-16 13:10:00 UTC
(
hide
)
Description:
swig-2.0.12.patch
Filename:
MIME Type:
Creator:
koobs
Created:
2014-02-16 13:10:00 UTC
Size:
5.51 KB
patch
obsolete
>diff -ruN /usr/ports/devel/swig20/Makefile ./Makefile >--- /usr/ports/devel/swig20/Makefile 2014-01-14 20:01:38.000000000 +1100 >+++ ./Makefile 2014-02-10 18:46:00.704795185 +1100 >@@ -2,7 +2,7 @@ > # $FreeBSD: head/devel/swig20/Makefile 339666 2014-01-14 09:01:38Z koobs $ > > PORTNAME= swig >-PORTVERSION= 2.0.11 >+PORTVERSION= 2.0.12 > CATEGORIES= devel > MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} > >diff -ruN /usr/ports/devel/swig20/distinfo ./distinfo >--- /usr/ports/devel/swig20/distinfo 2014-01-14 20:01:38.000000000 +1100 >+++ ./distinfo 2014-02-16 23:58:20.971145225 +1100 >@@ -1,2 +1,2 @@ >-SHA256 (swig-2.0.11.tar.gz) = 63780bf29f53937ad399a1f68bccb3730c90f65746868c4cdfc25cafcd0a424e >-SIZE (swig-2.0.11.tar.gz) = 5310295 >+SHA256 (swig-2.0.12.tar.gz) = 65e13f22a60cecd7279c59882ff8ebe1ffe34078e85c602821a541817a4317f7 >+SIZE (swig-2.0.12.tar.gz) = 5312394 >diff -ruN /usr/ports/devel/swig20/files/patch-Lib__std__std_container.i ./files/patch-Lib__std__std_container.i >--- /usr/ports/devel/swig20/files/patch-Lib__std__std_container.i 2014-01-14 20:01:38.000000000 +1100 >+++ ./files/patch-Lib__std__std_container.i 1970-01-01 10:00:00.000000000 +1000 >@@ -1,53 +0,0 @@ >---- ./Lib/std/std_container.i.orig 2014-01-12 12:49:23.125903702 +1100 >-+++ ./Lib/std/std_container.i 2014-01-12 17:22:07.027709014 +1100 >-@@ -46,8 +46,14 @@ >- void resize(size_type new_size); >- >- #ifdef SWIG_EXPORT_ITERATOR_METHODS >-- iterator erase(iterator pos); >-- iterator erase(iterator first, iterator last); >-+// Backport C++11 support >-+// Issue ID: https://github.com/swig/swig/issues/73 >-+// Commit: https://github.com/swig/swig/commit/92128eef445f75f674894e3f5d4e1fc2a1818957 >-+%extend { >-+ // %extend wrapper used for differing definitions of these methods introduced in C++11 >-+ iterator erase(iterator pos) { return $self->erase(pos); } >-+ iterator erase(iterator first, iterator last) { return $self->erase(first, last); } >-+} >- #endif >- >- %enddef >-@@ -68,8 +74,14 @@ >- void resize(size_type new_size, const value_type& x); >- >- #ifdef SWIG_EXPORT_ITERATOR_METHODS >-- iterator insert(iterator pos, const value_type& x); >-- void insert(iterator pos, size_type n, const value_type& x); >-+// Backport C++11 support >-+// Issue ID: https://github.com/swig/swig/issues/73 >-+// Commit: https://github.com/swig/swig/commit/92128eef445f75f674894e3f5d4e1fc2a1818957 >-+%extend { >-+ // %extend wrapper used for differing definitions of these methods introduced in C++11 >-+ iterator insert(iterator pos, const value_type& x) { return $self->insert(pos, x); } >-+ void insert(iterator pos, size_type n, const value_type& x) { $self->insert(pos, n, x); } >-+} >- #endif >- >- %enddef >-@@ -89,8 +101,14 @@ >- void resize(size_type new_size, value_type x); >- >- #ifdef SWIG_EXPORT_ITERATOR_METHODS >-- iterator insert(iterator pos, value_type x); >-- void insert(iterator pos, size_type n, value_type x); >-+// Backport C++11 support >-+// Issue ID: https://github.com/swig/swig/issues/73 >-+// Commit: https://github.com/swig/swig/commit/92128eef445f75f674894e3f5d4e1fc2a1818957 >-+%extend { >-+ // %extend wrapper used for differing definitions of these methods introduced in C++11 >-+ iterator insert(iterator pos, value_type x) { return $self->insert(pos, x); } >-+ void insert(iterator pos, size_type n, value_type x) { $self->insert(pos, n, x); } >-+} >- #endif >- >- %enddef >diff -ruN /usr/ports/devel/swig20/files/patch-Lib__std__std_map.i ./files/patch-Lib__std__std_map.i >--- /usr/ports/devel/swig20/files/patch-Lib__std__std_map.i 2014-01-14 20:01:38.000000000 +1100 >+++ ./files/patch-Lib__std__std_map.i 1970-01-01 10:00:00.000000000 +1000 >@@ -1,20 +0,0 @@ >---- ./Lib/std/std_map.i.orig 2014-01-12 17:22:34.464286699 +1100 >-+++ ./Lib/std/std_map.i 2014-01-12 17:25:54.847499215 +1100 >-@@ -12,9 +12,14 @@ >- size_type count(const key_type& x) const; >- >- #ifdef SWIG_EXPORT_ITERATOR_METHODS >--// iterator insert(iterator position, const value_type& x); >-- void erase(iterator position); >-- void erase(iterator first, iterator last); >-+// Backport C++11 support >-+// Issue ID: https://github.com/swig/swig/issues/73 >-+// Commit: https://github.com/swig/swig/commit/92128eef445f75f674894e3f5d4e1fc2a1818957 >-+%extend { >-+ // %extend wrapper used for differing definitions of these methods introduced in C++11 >-+ void erase(iterator position) { $self->erase(position); } >-+ void erase(iterator first, iterator last) { $self->erase(first, last); } >-+} >- >- iterator find(const key_type& x); >- iterator lower_bound(const key_type& x); >diff -ruN /usr/ports/devel/swig20/files/patch-Lib__std__std_set.i ./files/patch-Lib__std__std_set.i >--- /usr/ports/devel/swig20/files/patch-Lib__std__std_set.i 2014-01-14 20:01:38.000000000 +1100 >+++ ./files/patch-Lib__std__std_set.i 1970-01-01 10:00:00.000000000 +1000 >@@ -1,19 +0,0 @@ >---- ./Lib/std/std_set.i.orig 2014-01-12 17:24:56.140822773 +1100 >-+++ ./Lib/std/std_set.i 2014-01-12 17:25:47.509154979 +1100 >-@@ -29,8 +29,14 @@ >- reverse_iterator rbegin(); >- reverse_iterator rend(); >- >-- void erase(iterator pos); >-- void erase(iterator first, iterator last); >-+// Backport C++11 support >-+// Issue ID: https://github.com/swig/swig/issues/73 >-+// Commit: https://github.com/swig/swig/commit/92128eef445f75f674894e3f5d4e1fc2a1818957 >-+%extend { >-+ // %extend wrapper used for differing definitions of these methods introduced in C++11 >-+ void erase(iterator pos) { $self->erase(pos); } >-+ void erase(iterator first, iterator last) { $self->erase(first, last); } >-+} >- >- iterator find(const key_type& x); >- iterator lower_bound(const key_type& x);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 186817
: 140292