summaryrefslogtreecommitdiff
path: root/libraries/libtunepimp/libtunepimp-0.5.3-gcc44.patch
diff options
context:
space:
mode:
authordsomero <xgizzmo@gmail.com>2010-05-23 15:40:47 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-23 23:29:39 -0500
commit56a20fa7d2df4c6418c0977f6baee98b55583c87 (patch)
tree129aed4cba68f2b48ae9300d24c479a1f0273606 /libraries/libtunepimp/libtunepimp-0.5.3-gcc44.patch
parente1cf674191c37e14f504cd47cdff22a31ecb3bbf (diff)
downloadslackbuilds-56a20fa7d2df4c6418c0977f6baee98b55583c87.tar.gz
libraries/libtunepimp: Miscellaneous cleanups and patches.
Clean up build and add patches for gcc4.4 and libmp4v2.
Diffstat (limited to 'libraries/libtunepimp/libtunepimp-0.5.3-gcc44.patch')
-rw-r--r--libraries/libtunepimp/libtunepimp-0.5.3-gcc44.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/libtunepimp/libtunepimp-0.5.3-gcc44.patch b/libraries/libtunepimp/libtunepimp-0.5.3-gcc44.patch
new file mode 100644
index 0000000000..2c5e4f9dbf
--- /dev/null
+++ b/libraries/libtunepimp/libtunepimp-0.5.3-gcc44.patch
@@ -0,0 +1,13 @@
+diff -ruN libtunepimp-0.5.3.orig/lib/fileio.cpp libtunepimp-0.5.3/lib/fileio.cpp
+--- libtunepimp-0.5.3.orig/lib/fileio.cpp 2009-05-28 11:49:43.000000000 -0700
++++ libtunepimp-0.5.3/lib/fileio.cpp 2009-05-28 11:59:05.000000000 -0700
+@@ -124,7 +124,8 @@
+
+ void tmktempname(const char *path, char *newPath, int newPathLen)
+ {
+- char *ptr, *temp;
++ const char *ptr;
++ char *temp;
+
+ temp = (char *)malloc(strlen(path) + 32);
+ ptr = strrchr(path, dirSepChar);