$NetBSD: patch-an,v 1.1.1.1 2001/03/14 16:14:04 skrll Exp $ --- mpeglib/lib/util/render/x11/x11Surface.cpp.orig Mon Jan 22 12:14:45 2001 +++ mpeglib/lib/util/render/x11/x11Surface.cpp @@ -259,8 +259,13 @@ XSizeHints hints; hints.flags = PMaxSize; if (HAS_RESIZE(newImage)) { +#if defined(__NetBSD__) + hints.max_width = INT_MAX; + hints.max_height = INT_MAX; +#else hints.max_width = MAXINT; hints.max_height = MAXINT; +#endif } else { hints.max_width = xWindow->width; hints.max_height = xWindow->height;