mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
supported on FreeBSD 9.3, 10.1, and 10.2. "patch-src_dvbcut.cpp" restores the code as it was in version 0.7.0. That patch shall be removed from the port in 2017, when the affected FreeBSD versions have reached EoL. Approved by: antoine (implicit)
19 lines
436 B
C++
19 lines
436 B
C++
--- src/dvbcut.h.orig 2016-11-18 13:31:01 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>
|