summarylogtreecommitdiffstats
path: root/sidplay2-gcc44.patch
diff options
context:
space:
mode:
authorMartin Doege2015-06-09 16:01:19 +0200
committerMartin Doege2015-06-09 16:01:19 +0200
commita5b4e2c456cede981eb0a00d1b155c7422241a2d (patch)
tree6a4a718aac5853e578070cc553c3eb4772152ceb /sidplay2-gcc44.patch
downloadaur-sidplay2-alsa.tar.gz
Initial import
Diffstat (limited to 'sidplay2-gcc44.patch')
-rw-r--r--sidplay2-gcc44.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sidplay2-gcc44.patch b/sidplay2-gcc44.patch
new file mode 100644
index 000000000000..e604689f5f60
--- /dev/null
+++ b/sidplay2-gcc44.patch
@@ -0,0 +1,23 @@
+--- src/audio/AudioBase.h 2001/11/16 19:34:29 1.4
++++ src/audio/AudioBase.h 2008/03/02 22:42:51 1.5
+@@ -16,6 +16,9 @@
+ ***************************************************************************/
+ /***************************************************************************
+ * $Log: AudioBase.h,v $
++ * Revision 1.5 2008/03/02 22:42:51 s_a_white
++ * Fix depreciated const char * warnings in Linux
++ *
+ * Revision 1.4 2001/11/16 19:34:29 s_a_white
+ * Added extension to be used for file audio devices.
+ *
+--- src/args.cpp.orig 2009-05-31 20:55:18.100205456 +0200
++++ src/args.cpp 2004-05-06 01:49:20.000000000 +0200
+@@ -102,7 +102,7 @@
+ if (*str == '\0')
+ return false;
+
+- sep = strstr (str, ":");
++ sep = strstr ((char*)str, ":");
+ if (!sep)
+ { // User gave seconds
+ _time = atoi (str);