aboutsummaryrefslogtreecommitdiff
path: root/multimedia/dvbcut/files/patch-dvbcut.h
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/dvbcut/files/patch-dvbcut.h')
-rw-r--r--multimedia/dvbcut/files/patch-dvbcut.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/multimedia/dvbcut/files/patch-dvbcut.h b/multimedia/dvbcut/files/patch-dvbcut.h
new file mode 100644
index 000000000000..50f94d9bd062
--- /dev/null
+++ b/multimedia/dvbcut/files/patch-dvbcut.h
@@ -0,0 +1,19 @@
+--- src/dvbcut.h.orig 2016-06-23 12:34:35 UTC
++++ src/dvbcut.h
+@@ -22,11 +22,14 @@
+ #define _DVBCUT_DVBCUT_H
+
+ #if !defined(DVBCUT_VERSION)
+-#define DVBCUT_VERSION "git"
++#define DVBCUT_VERSION git
+ #endif
+
++#define STRINGIFY(x) STRINGIFY1(x)
++#define STRINGIFY1(x) #x
++
+ #ifndef VERSION_STRING
+-#define VERSION_STRING "dvbcut-" DVBCUT_VERSION
++#define VERSION_STRING "dvbcut-" STRINGIFY(DVBCUT_VERSION)
+ #endif
+
+ #include <string>