[SCM] Atari 2600 Emulator for SDL & the X Window System branch, master, updated. debian/3.2.1-1-4-g8433c7d
Stephen Kitt
steve at sk2.org
Sat Nov 6 08:37:59 UTC 2010
The following commit has been merged in the master branch:
commit 8433c7d31921b3882c26d4bb76638adbcbdeb9c6
Author: Stephen Kitt <steve at sk2.org>
Date: Fri Nov 5 09:15:18 2010 +0100
Fix incorrect parenthesizing.
diff --git a/debian/patches/02-kfreebsd-hurd-support.patch b/debian/patches/02-kfreebsd-hurd-support.patch
index 7185dd1..bb2b742 100644
--- a/debian/patches/02-kfreebsd-hurd-support.patch
+++ b/debian/patches/02-kfreebsd-hurd-support.patch
@@ -24,9 +24,8 @@ hurd; it will be sent upstream once that's done.
if ( p.length() >= 2 && p[0] == '~' && p[1] == '/')
{
const char *home = getenv("HOME");
-- if (home != NULL && strlen(home) < MAXPATHLEN)
+#ifdef MAXPATHLEN
-+ if (home != NULL) && strlen(home) < MAXPATHLEN)
+ if (home != NULL && strlen(home) < MAXPATHLEN)
+#else // No MAXPATHLEN, as happens on Hurd
+ if (home != NULL)
+#endif
--
Atari 2600 Emulator for SDL & the X Window System
More information about the Pkg-games-commits
mailing list