aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vdr-plugin-markad/files/patch-plugin-markad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vdr-plugin-markad/files/patch-plugin-markad.cpp')
-rw-r--r--multimedia/vdr-plugin-markad/files/patch-plugin-markad.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/multimedia/vdr-plugin-markad/files/patch-plugin-markad.cpp b/multimedia/vdr-plugin-markad/files/patch-plugin-markad.cpp
new file mode 100644
index 000000000000..3bafd37e0f4b
--- /dev/null
+++ b/multimedia/vdr-plugin-markad/files/patch-plugin-markad.cpp
@@ -0,0 +1,19 @@
+--- a/plugin/markad.cpp
++++ b/plugin/markad.cpp
+@@ -15,8 +15,16 @@
+
+ #include "markad.h"
+
++#ifdef PREFIX
++#define DEF_BINDIR PREFIX "/bin"
++#else
+ #define DEF_BINDIR "/usr/bin"
++#endif
++#ifdef DATADIR
++#define DEF_LOGODIR DATADIR "/logos"
++#else
+ #define DEF_LOGODIR "/var/lib/markad"
++#endif
+
+ cPluginMarkAd::cPluginMarkAd(void)
+ {