[csw-devel] SF.net SVN: gar:[21417] csw/mgar/pkg/scummvm-tools/trunk/files/ 0002-avoid-deque-constructor-for-studio.patch
lblume at users.sourceforge.net
lblume at users.sourceforge.net
Sun Jun 30 22:07:31 CEST 2013
Revision: 21417
http://gar.svn.sourceforge.net/gar/?rev=21417&view=rev
Author: lblume
Date: 2013-06-30 20:07:27 +0000 (Sun, 30 Jun 2013)
Log Message:
-----------
scummvm-tools/trunk: 3rd time's the charm
Modified Paths:
--------------
csw/mgar/pkg/scummvm-tools/trunk/files/0002-avoid-deque-constructor-for-studio.patch
Modified: csw/mgar/pkg/scummvm-tools/trunk/files/0002-avoid-deque-constructor-for-studio.patch
===================================================================
--- csw/mgar/pkg/scummvm-tools/trunk/files/0002-avoid-deque-constructor-for-studio.patch 2013-06-30 19:26:21 UTC (rev 21416)
+++ csw/mgar/pkg/scummvm-tools/trunk/files/0002-avoid-deque-constructor-for-studio.patch 2013-06-30 20:07:27 UTC (rev 21417)
@@ -6,7 +6,7 @@
+// If using Solaris Studio
+#if defined(__sun) && !defined(__GNUC__)
-+ std::deque<std::string> arguments; for (int i = 0; i < argc; i++) arguments.push_back(argv[i]);
++ std::deque<std::string> arguments; for (int i = 1; i < argc; i++) arguments.push_back(argv[i]);
+#else
std::deque<std::string> arguments(argv, argv + argc);
arguments.pop_front(); // Pop our own name
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list