The following commit has been merged in the master branch:
commit 8433c7d31921b3882c26d4bb76638adbcbdeb9c6
Author: Stephen Kitt <[email protected]>
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
_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits