aports/testing/nx-libs/xf86bigfont.patch
Jean-Charles de Longueville 0fdd398654 new package nx-libs
2015-03-16 15:17:14 +00:00

12 lines
399 B
Diff

--- nx-libs-3.5.0.28/nx-X11/programs/Xserver/Xext/xf86bigfont.c
+++ ../xf86bigfont.c
@@ -46,7 +46,7 @@
/* Linux libc4 and libc5 only (because glibc doesn't include kernel headers):
Linux 2.0.x and 2.2.x define SHMLBA as PAGE_SIZE, but forget to define
PAGE_SIZE. It is defined in <asm/page.h>. */
-#include <asm/page.h>
+#include <limits.h>
#endif
#ifdef SVR4
#include <sys/sysmacros.h>