On 13/03/10 17:55, Emilio Pozuelo Monfort wrote:
> The same issue exists on GNU/Hurd, and a similar fix (but with 'GNU' in 
> osname)
> fixes it.

Attached patch against git master. Would be nice to get this applied in Debian
too if there are no plans for another upstream release anytime soon.

Emilio
>From 008a0d165623e2c9d705c2f4d9e612da1596ef0a Mon Sep 17 00:00:00 2001
From: Emilio Pozuelo Monfort <poch...@gmail.com>
Date: Mon, 15 Mar 2010 10:26:25 +0100
Subject: [PATCH] Fix import on GNU/Hurd

---
 gst/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/__init__.py b/gst/__init__.py
index 2521dcc..2c439e3 100644
--- a/gst/__init__.py
+++ b/gst/__init__.py
@@ -166,7 +166,7 @@ except ImportError:
     RTLD_LAZY = -1
     import os
     osname = os.uname()[0]
-    if osname == 'Linux' or osname == 'SunOS' or osname == 'FreeBSD' or osname == 'GNU/kFreeBSD':
+    if osname == 'Linux' or osname == 'SunOS' or osname == 'FreeBSD' or osname == 'GNU/kFreeBSD' or osname == 'GNU':
         machinename = os.uname()[4]
         if machinename == 'mips' or machinename == 'mips64':
             RTLD_GLOBAL = 0x4
-- 
1.7.0

_______________________________________________
Pkg-gstreamer-maintainers mailing list
Pkg-gstreamer-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-gstreamer-maintainers

Reply via email to