[python-sfml] 02/03: Add patch to fix FTBFS with Cython 0.23 (Closes: #799893)

James Cowgill jcowgill-guest at moszumanska.debian.org
Thu Sep 24 14:07:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

jcowgill-guest pushed a commit to branch master
in repository python-sfml.

commit dcda3852fa034df92fda0758bc925992239d4fa6
Author: James Cowgill <james410 at cowgill.org.uk>
Date:   Thu Sep 24 14:33:46 2015 +0100

    Add patch to fix FTBFS with Cython 0.23 (Closes: #799893)
---
 ...nonymous-cdef-enum-in-style.pxd-Fixes-119.patch | 27 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 28 insertions(+)

diff --git a/debian/patches/04_Use-anonymous-cdef-enum-in-style.pxd-Fixes-119.patch b/debian/patches/04_Use-anonymous-cdef-enum-in-style.pxd-Fixes-119.patch
new file mode 100644
index 0000000..102c9f2
--- /dev/null
+++ b/debian/patches/04_Use-anonymous-cdef-enum-in-style.pxd-Fixes-119.patch
@@ -0,0 +1,27 @@
+From d8a0b9959f990324e744d2d101cd3e44773b5090 Mon Sep 17 00:00:00 2001
+From: James Cowgill <james410 at cowgill.org.uk>
+Date: Thu, 24 Sep 2015 14:23:07 +0100
+Subject: [PATCH] Use anonymous cdef enum in style.pxd (Fixes: #119)
+
+[jcowgill: backported to version in Debian]
+
+---
+ include/libcpp/style.pxd | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/libcpp/style.pxd b/include/libcpp/style.pxd
+index 73d9e43..2ad4ce7 100644
+--- a/include/libcpp/style.pxd
++++ b/include/libcpp/style.pxd
+@@ -23,7 +23,7 @@
+ #-------------------------------------------------------------------------------
+ 
+ cdef extern from "SFML/Window.hpp" namespace "sf::Style":
+-    cdef enum Style:
++    cdef enum:
+         None
+         Titlebar
+         Resize
+-- 
+2.5.3
+
diff --git a/debian/patches/series b/debian/patches/series
index 0beb523..965fbcb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 02_disable-cython-headers.patch
 03_disable-intersphinx.patch
+04_Use-anonymous-cdef-enum-in-style.pxd-Fixes-119.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/python-sfml.git



More information about the Pkg-games-commits mailing list