mozilla-mplayer.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Index: Source/mplayerplug-in.c
  2. --- Source/mplayerplug-in.c.orig Tue Jan 20 11:08:49 2004
  3. +++ Source/mplayerplug-in.c Tue Jan 20 11:09:38 2004
  4. @@ -71,7 +71,7 @@
  5. }
  6. if (config == NULL) {
  7. - config = fopen("/etc/mplayerplug-in.conf", "r");
  8. + config = fopen("@l_prefix@/etc/mozilla-mplayer/mplayerplug-in.conf", "r");
  9. }
  10. if (config == NULL) {
  11. @@ -148,7 +148,7 @@
  12. }
  13. if (customtypes == NULL) {
  14. - customtypes = fopen("/etc/mplayerplug-in.types", "r");
  15. + customtypes = fopen("@l_prefix@/etc/mozilla-mplayer/mplayerplug-in.types", "r");
  16. }
  17. if (customtypes != NULL) {
  18. Index: Source/support.c
  19. --- Source/support.c.orig Tue Jan 20 11:10:43 2004
  20. +++ Source/support.c Tue Jan 20 11:10:51 2004
  21. @@ -116,7 +116,7 @@
  22. }
  23. if (config == NULL) {
  24. - config = fopen("/etc/mplayerplug-in.conf", "r");
  25. + config = fopen("@l_prefix@/etc/mozilla-mplayer/mplayerplug-in.conf", "r");
  26. }
  27. if (config == NULL) {
  28. Index: mplayerplug-in.types
  29. --- mplayerplug-in.types.orig Tue Jan 20 11:11:49 2004
  30. +++ mplayerplug-in.types Tue Jan 20 11:11:52 2004
  31. @@ -32,4 +32,4 @@
  32. audio/x-ms-wma:wma:Windows Media;
  33. application/x-drm-v2:asx:Windows Media;
  34. audio/wav:wav:Microsoft wave file;
  35. -audio/x-wav:wav:Microsoft wave file
  36. +audio/x-wav:wav:Microsoft wave file;