summaryrefslogtreecommitdiff
path: root/debian/patches/06_link_ncursew.patch
blob: 353aea594759679c301de508c8f1db778818f815 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Link against ncursesw rather than ncurses so UTF-8 will work
properly.  See http://bugs.debian.org/337328 for a discussion
of this.

--- setup.py~	2007-10-21 14:51:07.000000000 +0200
+++ setup.py	2007-10-21 14:51:42.000000000 +0200
@@ -14,7 +14,8 @@
 
     # Description of the modules and packages in the distribution
     ext_modules = [ Extension('jack_cursesmodule',
-    ['cursesmodule/jack_cursesmodule.c'], libraries=["ncurses"],
+    ['cursesmodule/jack_cursesmodule.c'], libraries=["ncursesw"],
+    include_dirs=["/usr/include/ncursesw"],
     extra_compile_args=["-Wno-strict-prototypes"]) ],
 
     py_modules = [ 'jack_CDTime', 'jack_TOC', 'jack_TOCentry', 'jack_argv',