pyicu (1.4-1) platform-definitions-fix

Summary

 setup.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

#! /bin/sh /usr/share/dpatch/dpatch-run
## platform-definitions-fix.dpatch by Jakub Wilk <jwilk@debian.org>
##
## DP: Fixing FTBFS due to new platform definitions. Setup.py doesn't need to
## DP: take care of them in our case.

@DPATCH@
--- pyicu-0.8.1/setup.py
+++ pyicu-0.8.1+kbsd/setup.py
@@ -42,7 +42,7 @@
 }
 
 platform = sys.platform
-if platform.startswith('linux'):
+if platform.startswith('linux') or platform.startswith('gnu'):
     platform = 'linux'
 
 if 'PYICU_INCLUDES' in os.environ: