Package: alsaplayer / 0.99.81-2

30_const_char.dpatch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /bin/sh /usr/share/dpatch/dpatch-run
## 30_ocnst_char.dpatch by Paul Brossier <piem@debian.org>
##
## DP: Avoid const char to char conversion

@DPATCH@
diff --git a/input/flac/FlacPlugin.cpp b/input/flac/FlacPlugin.cpp
index 8abbf43..9eb0640 100644
--- a/input/flac/FlacPlugin.cpp
+++ b/input/flac/FlacPlugin.cpp
@@ -327,9 +327,9 @@ input_plugin_info (void)
 
     flac_plugin.version      = INPUT_PLUGIN_VERSION;
 #ifdef LEGACY_FLAC
-    flac_plugin.name         = "flac player v1.1.2";
+    flac_plugin.name         = (char *)"flac player v1.1.2";
 #else
-    flac_plugin.name         = "flac player v1.1.3/1.1.4/1.2";
+    flac_plugin.name         = (char *)"flac player v1.1.3/1.1.4/1.2";
 #endif
     flac_plugin.author       = "Drew Hess";
     flac_plugin.init         = flac_init;