openbsd-ports/audio/zeya/patches/patch-backends_py
dcoppa 468ed6cfb1 Re-import zeya, this time with correct name.
ok ajacoutot@, sthen@, rpointel@
2011-07-20 07:54:58 +00:00

13 lines
591 B
Plaintext

$OpenBSD: patch-backends_py,v 1.1.1.1 2011/07/20 07:54:58 dcoppa Exp $
--- backends.py.orig Mon Jul 11 11:38:36 2011
+++ backends.py Mon Jul 11 11:41:08 2011
@@ -70,7 +70,7 @@ def filename_to_stream(filename, out_stream, bitrate,
except KeyError:
raise StreamGenerationError(
"Couldn't play specified format: %r" % (filename,))
- encoder_path = "/usr/bin/oggenc"
+ encoder_path = "${LOCALBASE}/bin/oggenc"
if not os.path.exists(encoder_path):
raise StreamGenerationError(
("No Vorbis encoder found at %s. " % (encoder_path,)) + \