[Python-modules-commits] r9617 - in packages/pyfltk/trunk/debian (3 files)
dktrkranz at users.alioth.debian.org
dktrkranz at users.alioth.debian.org
Wed Sep 2 22:22:17 UTC 2009
Date: Wednesday, September 2, 2009 @ 22:22:12
Author: dktrkranz
Revision: 9617
Do not check only for "linux2" string when determining platform (Closes: #544780)
Added:
packages/pyfltk/trunk/debian/patches/platform_startswith
Modified:
packages/pyfltk/trunk/debian/changelog
packages/pyfltk/trunk/debian/patches/series
Modified: packages/pyfltk/trunk/debian/changelog
===================================================================
--- packages/pyfltk/trunk/debian/changelog 2009-09-02 21:58:40 UTC (rev 9616)
+++ packages/pyfltk/trunk/debian/changelog 2009-09-02 22:22:12 UTC (rev 9617)
@@ -1,3 +1,12 @@
+pyfltk (1.1.4-3) unstable; urgency=low
+
+ * debian/patches/platform_startswith:
+ - Do not check only for "linux2" string when determining platform,
+ some do use of "linux2-*" or "gnukfreebsd-*", fix FTBFS. Thanks to
+ Cyril Brulebois for his patch! (Closes: #544780).
+
+ -- Luca Falavigna <dktrkranz at debian.org> Thu, 03 Sep 2009 00:17:12 +0200
+
pyfltk (1.1.4-2) unstable; urgency=low
* Update my e-mail address.
Added: packages/pyfltk/trunk/debian/patches/platform_startswith
===================================================================
--- packages/pyfltk/trunk/debian/patches/platform_startswith (rev 0)
+++ packages/pyfltk/trunk/debian/patches/platform_startswith 2009-09-02 22:22:12 UTC (rev 9617)
@@ -0,0 +1,17 @@
+Do not check only for "linux2" string when determining platform.
+
+Index: pyfltk-1.1.4/setup.py
+===================================================================
+--- pyfltk-1.1.4.orig/setup.py 2009-09-02 22:15:04.000000000 +0000
++++ pyfltk-1.1.4/setup.py 2009-09-02 22:15:00.000000000 +0000
+@@ -76,8 +76,8 @@
+ lib_dir_list = [fltk_lib_dir]
+ lib_list = ["fltk", "kernel32", "user32", "gdi32", "winspool", "comdlg32", "Comctl32", "advapi32", "shell32", "oleaut32", "odbc32", "odbccp32", "stdc++", "msvcr71"]
+ #link_arg_list=["-Wl,--enable-runtime-pseudo-reloc", "-Wl,--enable-auto-import"]
+-elif sys.platform == 'linux2':
+- print "Building for Linux"
++elif sys.platform.startswith('linux2') or sys.platform.startswith('gnukfreebsd'):
++ print "Building for Linux (or GNU/kFreeBSD)"
+ # ugly hack to force distutils to use g++ instead of gcc for linking
+ from distutils import sysconfig
+ # changes the linker from gcc to g++
Modified: packages/pyfltk/trunk/debian/patches/series
===================================================================
--- packages/pyfltk/trunk/debian/patches/series 2009-09-02 21:58:40 UTC (rev 9616)
+++ packages/pyfltk/trunk/debian/patches/series 2009-09-02 22:22:12 UTC (rev 9617)
@@ -1,2 +1,3 @@
no_docs
force_opengl_support
+platform_startswith
More information about the Python-modules-commits
mailing list