Author: w.kier Date: Fri Jan 7 02:17:12 2011 GMT Module: packages Tag: HEAD ---- Log message: - correction for x86_64 builds
---- Files affected: packages/mac: mac_amd64.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/mac/mac_amd64.patch diff -u /dev/null packages/mac/mac_amd64.patch:1.1 --- /dev/null Fri Jan 7 03:17:12 2011 +++ packages/mac/mac_amd64.patch Fri Jan 7 03:17:07 2011 @@ -0,0 +1,27 @@ +diff -urN mac-3.99-u4-b5.orig/src/MACLib/APELink.cpp mac-3.99-u4-b5/src/MACLib/APELink.cpp +--- mac-3.99-u4-b5.orig/src/MACLib/APELink.cpp 2006-06-01 11:00:57.000000000 +0200 ++++ mac-3.99-u4-b5/src/MACLib/APELink.cpp 2011-01-07 02:57:14.578000000 +0100 +@@ -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); ++ const char * pHeader = strstr(pData, APE_LINK_HEADER); ++ const char * pImageFile = strstr(pData, APE_LINK_IMAGE_FILE_TAG); ++ const char * pStartBlock = strstr(pData, APE_LINK_START_BLOCK_TAG); ++ const char * pFinishBlock = strstr(pData, APE_LINK_FINISH_BLOCK_TAG); + + if (pHeader && pImageFile && pStartBlock && pFinishBlock) + { +@@ -81,7 +81,7 @@ + + // get the path + char cImageFile[MAX_PATH + 1]; int nIndex = 0; +- char * pImageCharacter = &pImageFile[strlen(APE_LINK_IMAGE_FILE_TAG)]; ++ const char * pImageCharacter = &pImageFile[strlen(APE_LINK_IMAGE_FILE_TAG)]; + while ((*pImageCharacter != 0) && (*pImageCharacter != '\r') && (*pImageCharacter != '\n')) + cImageFile[nIndex++] = *pImageCharacter++; + cImageFile[nIndex] = 0; ================================================================ _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit