summaryrefslogtreecommitdiff
path: root/media-libs/mac/files/gcc4.4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/mac/files/gcc4.4.patch')
-rw-r--r--media-libs/mac/files/gcc4.4.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/media-libs/mac/files/gcc4.4.patch b/media-libs/mac/files/gcc4.4.patch
new file mode 100644
index 0000000..751e2f1
--- /dev/null
+++ b/media-libs/mac/files/gcc4.4.patch
@@ -0,0 +1,18 @@
+diff -Naur original//mac-3.99-u4-b5/src/MACLib/APELink.cpp patched//mac-3.99-u4-b5/src/MACLib/APELink.cpp
+--- original//mac-3.99-u4-b5/src/MACLib/APELink.cpp 2006-06-01 12:00:57.000000000 +0300
++++ patched//mac-3.99-u4-b5/src/MACLib/APELink.cpp 2010-06-15 16:14:29.000000000 +0300
+@@ -63,10 +63,10 @@
+ if (pData != NULL)
+ {
+ // parse out the information
+- char * pHeader = strstr(pData, APE_LINK_HEADER);
+- char * pImageFile = strstr(pData, APE_LINK_IMAGE_FILE_TAG);
+- char * pStartBlock = strstr(pData, APE_LINK_START_BLOCK_TAG);
+- char * pFinishBlock = strstr(pData, APE_LINK_FINISH_BLOCK_TAG);
++ char * pHeader = strstr((char*)pData, (char*)APE_LINK_HEADER);
++ char * pImageFile = strstr((char*)pData, (char*)APE_LINK_IMAGE_FILE_TAG);
++ char * pStartBlock = strstr((char*)pData, (char*)APE_LINK_START_BLOCK_TAG);
++ char * pFinishBlock = strstr((char*)pData, (char*)APE_LINK_FINISH_BLOCK_TAG);
+
+ if (pHeader && pImageFile && pStartBlock && pFinishBlock)
+ {