r9799 - packages/trunk/asc/debian/patches

Paul Wise pabs at alioth.debian.org
Thu May 28 12:13:28 UTC 2009


Author: pabs
Date: 2009-05-28 12:13:28 +0000 (Thu, 28 May 2009)
New Revision: 9799

Removed:
   packages/trunk/asc/debian/patches/gcc-4.3-fixes
Log:
remove old patch that didn't get removed for some reason

Deleted: packages/trunk/asc/debian/patches/gcc-4.3-fixes
===================================================================
--- packages/trunk/asc/debian/patches/gcc-4.3-fixes	2009-05-28 11:35:09 UTC (rev 9798)
+++ packages/trunk/asc/debian/patches/gcc-4.3-fixes	2009-05-28 12:13:28 UTC (rev 9799)
@@ -1,250 +0,0 @@
-Index: asc/source/libs/paragui/src/core/pgfilearchive.cpp
-===================================================================
---- asc.orig/source/libs/paragui/src/core/pgfilearchive.cpp
-+++ asc/source/libs/paragui/src/core/pgfilearchive.cpp
-@@ -36,6 +36,7 @@
- #include "physfsrwops.h"
- #include <iostream>
- #include "paragui.h"
-+#include <cstring>
- 
- Uint32 PG_FileArchive::my_instance_count = 0;
- PG_SurfaceCache PG_FileArchive::my_cache;
-Index: asc/source/libs/loki/Reference/SmallObj.cpp
-===================================================================
---- asc.orig/source/libs/loki/Reference/SmallObj.cpp
-+++ asc/source/libs/loki/Reference/SmallObj.cpp
-@@ -17,6 +17,7 @@
- 
- #include "SmallObj.h"
- #include <cassert>
-+#include <climits>
- #include <algorithm>
- #include <functional>
- 
-Index: asc/source/sdl/sound.cpp
-===================================================================
---- asc.orig/source/sdl/sound.cpp
-+++ asc/source/sdl/sound.cpp
-@@ -8,6 +8,11 @@
-  ***************************************************************************/
- 
- 
-+/* WORKAROUND:
-+ * Boost does not #include <climits>, but uses CHAR_BIT.  This
-+ * causes a build failure on g++-4.3.
-+ */
-+#include <climits>
- #include <boost/regex.hpp>
- 
- #include <cstring>
-Index: asc/source/ASCStringHelpers.h
-===================================================================
---- asc.orig/source/ASCStringHelpers.h
-+++ asc/source/ASCStringHelpers.h
-@@ -7,9 +7,9 @@
- #include <cstdio>
- #include <memory>
- #include <string>
--#include <wchar.h>
--#include <stdio.h>
--#include <ctype.h>
-+#include <cstring>
-+#include <cwchar>
-+#include <cctype>
- 
- using std::auto_ptr;
- using std::string;
-@@ -205,9 +205,9 @@
-     assert ( pS != NULL );
- 
-     #ifdef ASC_UNICODE
--        return ::wcslen ( pS );
-+        return std::wcslen ( pS );
-     #else
--        return ::strlen ( pS );
-+        return std::strlen ( pS );
-     #endif
- }
- 
-@@ -231,9 +231,9 @@
-     assert ( pDest != NULL );
- 
-     #ifdef ASC_UNICODE
--        return ::wcscpy ( pDest, pSrc );
-+        return std::wcscpy ( pDest, pSrc );
-     #else
--        return ::strcpy ( pDest, pSrc );
-+        return std::strcpy ( pDest, pSrc );
-     #endif
- }
- 
-@@ -373,7 +373,7 @@
-         _Strlwr ( l_pS1 );
-         _Strlwr ( l_pS2 );
- 
--        return ::wcscmp ( l_pS1, l_pS2 );
-+        return std::wcscmp ( l_pS1, l_pS2 );
-     #else
-         return ::strcasecmp ( pS1, pS2 );
-     #endif
-@@ -413,7 +413,7 @@
-     #ifdef ASC_UNICODE
-         return ::vsnwprintf ( buffer, count, format, argptr );
-     #else
--        return ::vsnprintf ( buffer, count, format, argptr );
-+        return std::vsnprintf ( buffer, count, format, argptr );
-     #endif
- }
- 
-@@ -441,9 +441,9 @@
-     int nRes = 0;
- 
-     #ifdef ASC_UNICODE
--        nRes = ::vwprintf ( format, argptr );
-+        nRes = std::vwprintf ( format, argptr );
-     #else
--        nRes = ::vprintf ( format, argptr );
-+        nRes = std::vprintf ( format, argptr );
-     #endif
- 
-     va_end ( argptr );
-@@ -472,7 +472,7 @@
-     assert ( pSrc  != NULL );
- 
-     #ifdef ASC_UNICODE
--        return ::mbstowcs( pDest, pSrc, count );
-+        return std::mbstowcs( pDest, pSrc, count );
-     #else
-         return std::wcstombs( pDest, pSrc, count );
-     #endif
-Index: asc/source/dialogs/exchangegraphics.cpp
-===================================================================
---- asc.orig/source/dialogs/exchangegraphics.cpp
-+++ asc/source/dialogs/exchangegraphics.cpp
-@@ -15,6 +15,11 @@
-  *                                                                         *
-  ***************************************************************************/
- 
-+/* WORKAROUND:
-+ * Boost does not #include <climits>, but uses CHAR_BIT, etc.  This
-+ * causes a build failure on g++-4.3.
-+ */
-+#include <climits>
- #include <boost/regex.hpp>
- 
- #include "../paradialog.h"
-Index: asc/source/widgets/textrenderer.cpp
-===================================================================
---- asc.orig/source/widgets/textrenderer.cpp
-+++ asc/source/widgets/textrenderer.cpp
-@@ -16,7 +16,11 @@
-  ***************************************************************************/
- 
- 
--
-+/* WORKAROUND:
-+ * Boost does not #include <climits>, but uses CHAR_BIT, etc.  This
-+ * causes a build failure on g++-4.3.
-+ */
-+#include <climits>
- #include <boost/regex.hpp>
- #include <pglabel.h>
- #include <pgimage.h>
-Index: asc/source/sg.cpp
-===================================================================
---- asc.orig/source/sg.cpp
-+++ asc/source/sg.cpp
-@@ -77,6 +77,11 @@
- #include <algorithm>
- #include <memory>
- 
-+/* WORKAROUND:
-+ * Boost does not #include <climits>, but uses CHAR_BIT, etc.  This
-+ * causes a build failure on g++-4.3.
-+ */
-+#include <climits>
- #include <boost/regex.hpp>
- 
- #include "paradialog.h"
-Index: asc/source/widgets/textrenderer-addons.cpp
-===================================================================
---- asc.orig/source/widgets/textrenderer-addons.cpp
-+++ asc/source/widgets/textrenderer-addons.cpp
-@@ -16,7 +16,11 @@
-  ***************************************************************************/
- 
- 
--
-+/* WORKAROUND:
-+ * Boost does not #include <climits>, but uses CHAR_BIT, etc.  This
-+ * causes a build failure on g++-4.3.
-+ */
-+#include <climits>
- #include <boost/regex.hpp>
- #include <pglabel.h>
- #include <pgimage.h>
-Index: asc/source/fieldimageloader.cpp
-===================================================================
---- asc.orig/source/fieldimageloader.cpp
-+++ asc/source/fieldimageloader.cpp
-@@ -19,6 +19,11 @@
- #include <algorithm>
- #include <iostream>
- #include <SDL_image.h>
-+/* WORKAROUND:
-+ * Boost does not #include <climits>, but uses CHAR_BIT, etc.  This
-+ * causes a build failure on g++-4.3.
-+ */
-+#include <climits>
- #include <boost/regex.hpp>
- 
- #include "global.h"
-Index: asc/source/sgstream.cpp
-===================================================================
---- asc.orig/source/sgstream.cpp
-+++ asc/source/sgstream.cpp
-@@ -36,6 +36,11 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <fstream>
-+/* WORKAROUND:
-+ * Boost does not #include <climits>, but uses CHAR_BIT, etc.  This
-+ * causes a build failure on g++-4.3.
-+ */
-+#include <climits>
- #include <boost/regex.hpp>
- 
- #include "global.h"
-Index: asc/source/textfile_evaluation.cpp
-===================================================================
---- asc.orig/source/textfile_evaluation.cpp
-+++ asc/source/textfile_evaluation.cpp
-@@ -36,6 +36,11 @@
- #include "Windows.h"
- #endif
- 
-+/* WORKAROUND:
-+ * Boost does not #include <climits>, but uses CHAR_BIT, etc.  This
-+ * causes a build failure on g++-4.3.
-+ */
-+#include <climits>
- #include <boost/regex.hpp>
- 
- 
-Index: asc/source/tools/makegfx.cpp
-===================================================================
---- asc.orig/source/tools/makegfx.cpp
-+++ asc/source/tools/makegfx.cpp
-@@ -10,6 +10,11 @@
- #include <SDL_image.h>
- #include <SDL.h>
- 
-+/* WORKAROUND:
-+ * Boost does not #include <climits>, but uses CHAR_BIT, etc.  This
-+ * causes a build failure on g++-4.3.
-+ */
-+#include <climits>
- #include <boost/regex.hpp>
- 
- #include "../basegfx.h"




More information about the Pkg-games-commits mailing list