summaryrefslogtreecommitdiff
path: root/multimedia/libxine/files/patch-src:libreal:xine_decoder.c
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2004-01-11 15:54:05 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2004-01-11 15:54:05 +0000
commit3598b281cefede27afafb8dda2f38eadef22d15f (patch)
tree43137225ce99e03a76a3bc0732cfe67b91116aaf /multimedia/libxine/files/patch-src:libreal:xine_decoder.c
parentUpdate to 0.5 (diff)
Correct default search path of RealAudio and RealVideo codecs.
PR: ports/61062 Submitted by: Sascha Blank <sblank@tiscali.de>
Diffstat (limited to 'multimedia/libxine/files/patch-src:libreal:xine_decoder.c')
-rw-r--r--multimedia/libxine/files/patch-src:libreal:xine_decoder.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/multimedia/libxine/files/patch-src:libreal:xine_decoder.c b/multimedia/libxine/files/patch-src:libreal:xine_decoder.c
new file mode 100644
index 000000000000..47ff6e57de68
--- /dev/null
+++ b/multimedia/libxine/files/patch-src:libreal:xine_decoder.c
@@ -0,0 +1,33 @@
+--- src/libreal/xine_decoder.c.orig Mon Dec 15 07:13:24 2003
++++ src/libreal/xine_decoder.c Mon Jan 12 00:04:26 2004
+@@ -589,24 +589,15 @@
+
+ /* try some auto-detection */
+
+- if (!stat ("/usr/local/RealPlayer8/Codecs/drv3.so.6.0", &s))
++ if (!stat ("/usr/local/lib/RealPlayer8/Codecs/drv3.so.6.0", &s))
+ config->update_string (config, "codec.real_codecs_path",
+- "/usr/local/RealPlayer8/Codecs");
+- if (!stat ("/usr/RealPlayer8/Codecs/drv3.so.6.0", &s))
++ "/usr/local/lib/RealPlayer8/Codecs");
++ if (!stat ("/usr/local/lib/RealPlayer9/users/Real/Codecs/drv3.so.6.0", &s))
+ config->update_string (config, "codec.real_codecs_path",
+- "/usr/RealPlayer8/Codecs");
+- if (!stat ("/usr/lib/RealPlayer8/Codecs/drv3.so.6.0", &s))
++ "/usr/local/lib/RealPlayer9/users/Real/Codecs");
++ if (!stat ("/usr/local/lib/win32/drv3.so.6.0", &s))
+ config->update_string (config, "codec.real_codecs_path",
+- "/usr/lib/RealPlayer8/Codecs");
+- if (!stat ("/opt/RealPlayer8/Codecs/drv3.so.6.0", &s))
+- config->update_string (config, "codec.real_codecs_path",
+- "/opt/RealPlayer8/Codecs");
+- if (!stat ("/usr/lib/RealPlayer9/users/Real/Codecs/drv3.so.6.0", &s))
+- config->update_string (config, "codec.real_codecs_path",
+- "/usr/lib/RealPlayer9/users/Real/Codecs");
+- if (!stat ("/usr/lib/win32/drv3.so.6.0", &s))
+- config->update_string (config, "codec.real_codecs_path",
+- "/usr/lib/win32");
++ "/usr/local/lib/win32");
+ }
+
+ lprintf ("real codec path : %s\n", real_codec_path);