From 1e0fea7d8452b7e08d97b4e07a6928e03e645db9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Sun, 6 Dec 2015 14:48:14 +0100 Subject: [PATCH] fix hunk-offsets in patches --- swig.spec | 5 ++++- ...se-Py_ssize_t-instead-of-int-for-better-portability.patch | 2 +- swig307-size_type-correction-for-SwigPySequence_Cont.patch | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/swig.spec b/swig.spec index 09c4c3b..0f96823 100644 --- a/swig.spec +++ b/swig.spec @@ -33,7 +33,7 @@ Summary: Connects C/C++/Objective C to some high-level programming languages Name: swig Version: 3.0.7 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv3+ and BSD URL: http://swig.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/swig/swig/swig-%{version}/swig-%{version}.tar.gz @@ -234,6 +234,9 @@ ln -fs ../../bin/ccache-swig %{buildroot}%{_libdir}/ccache/swig %doc Doc Examples COPYRIGHT %changelog +* Sun Dec 06 2015 Björn Esser - 3.0.7-10 +- fix hunk-offsets in patches + * Sun Dec 06 2015 Björn Esser - 3.0.7-9 - add Patch10: Python 3.5, -builtin, excess elements in struct initializer - add Patch11: Fix incorrect director_classic_runme.py test diff --git a/swig307-Python-use-Py_ssize_t-instead-of-int-for-better-portability.patch b/swig307-Python-use-Py_ssize_t-instead-of-int-for-better-portability.patch index a52efaa..4fa8453 100644 --- a/swig307-Python-use-Py_ssize_t-instead-of-int-for-better-portability.patch +++ b/swig307-Python-use-Py_ssize_t-instead-of-int-for-better-portability.patch @@ -383,7 +383,7 @@ diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index 570f8fa..e91047a 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx -@@ -2473,15 +2473,15 @@ class PYTHON:public Language { +@@ -2474,15 +2474,15 @@ class PYTHON:public Language { Printv(f->def, linkage, builtin_ctor ? "int " : "PyObject *", wname, "(PyObject *self, PyObject *args) {", NIL); diff --git a/swig307-size_type-correction-for-SwigPySequence_Cont.patch b/swig307-size_type-correction-for-SwigPySequence_Cont.patch index 16f1fe7..374431a 100644 --- a/swig307-size_type-correction-for-SwigPySequence_Cont.patch +++ b/swig307-size_type-correction-for-SwigPySequence_Cont.patch @@ -11,7 +11,7 @@ diff --git a/Lib/python/pycontainer.swg b/Lib/python/pycontainer.swg index 7c5cc37..ceb3b66 100644 --- a/Lib/python/pycontainer.swg +++ b/Lib/python/pycontainer.swg -@@ -567,7 +567,7 @@ namespace swig +@@ -560,7 +560,7 @@ namespace swig typedef T value_type; typedef T* pointer; typedef int difference_type;