Package: python-box2d
Version: 2.0.2+svn20100109.244-1.1
Followup-For: Bug #805684
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu xenial ubuntu-patch

In Ubuntu, the attached patch was applied to achieve the following:

  * debian/patches/fix_comments.patch: Fix comment formatting so that the
    package doesn't FTBFS with SWIG 3 (patch courtesy of Jitka Plesnikova).

Thanks for considering the patch.


-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-19-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru python-box2d-2.0.2+svn20100109.244/debian/patches/fix_comments.patch python-box2d-2.0.2+svn20100109.244/debian/patches/fix_comments.patch
--- python-box2d-2.0.2+svn20100109.244/debian/patches/fix_comments.patch	1969-12-31 19:00:00.000000000 -0500
+++ python-box2d-2.0.2+svn20100109.244/debian/patches/fix_comments.patch	2015-12-09 00:50:31.000000000 -0500
@@ -0,0 +1,27 @@
+Description: fix malformed comments
+ The comments with # style cause an FTBFS with SWIG 3. This patch from Red Hat
+ changes them to the proper format.
+Author: Jitka Plesnikova <jples...@redhat.com>
+Origin: vendor, https://bugzilla.redhat.com/attachment.cgi?id=995672
+Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=1196718
+Forwarded: not-needed
+Last-Update: 2015-12-09
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/Box2D/Box2D_pickling.i
++++ b/Box2D/Box2D_pickling.i
+@@ -538,9 +538,11 @@
+ 
+ %}
+ 
+-# These were originally set programmatically, which is perhaps cleaner,
+-# but this will set every class up properly without any unnecessary code
+-# execution
++/*
++ * These were originally set programmatically, which is perhaps cleaner,
++ * but this will set every class up properly without any unnecessary code
++ * execution
++ */
+ 
+ %extend b2World {
+  %pythoncode %{
diff -Nru python-box2d-2.0.2+svn20100109.244/debian/patches/series python-box2d-2.0.2+svn20100109.244/debian/patches/series
--- python-box2d-2.0.2+svn20100109.244/debian/patches/series	2010-07-19 12:25:43.000000000 -0400
+++ python-box2d-2.0.2+svn20100109.244/debian/patches/series	2015-12-09 00:44:33.000000000 -0500
@@ -1 +1,2 @@
 debian-changes-2.0.2+svn244-1
+fix_comments.patch

Reply via email to