Package: bogl Version: 0.1.18-1.4 Severity: normal Tags: patch Hi,
Attached is the diff for my bogl 0.1.18-1.5 NMU. I tested this in d-i. I note that I've made the last 4 nmus and that this package seems to need a new maintainer. -- see shy jo
diff -Nru /home/joey/tmp/FVJ6iXIdts/bogl-0.1.18/bogl.c /home/joey/tmp/cMNOvTIvzc/bogl-0.1.18/bogl.c --- /home/joey/tmp/FVJ6iXIdts/bogl-0.1.18/bogl.c 2004-05-05 22:57:06.000000000 -0400 +++ /home/joey/tmp/cMNOvTIvzc/bogl-0.1.18/bogl.c 2006-10-20 16:11:19.000000000 -0400 @@ -40,9 +40,11 @@ #include <termios.h> #include <unistd.h> +#if 0 /* stopped being safe.. */ /* Yes, I know, we shouldn't be including headers from the kernel. But XFree86 also uses this one (to get PAGE_MASK) so it's probably safe. */ #include <asm/page.h> +#endif #include "bogl.h" #include "boglP.h" @@ -112,6 +114,7 @@ unsigned long bogl_frame_offset, bogl_frame_len; struct fb_var_screeninfo fb_var; struct vt_stat vts; + int PAGE_MASK = ~(sysconf(_SC_PAGESIZE) - 1); assert (status < 2); visible = 1; diff -Nru /home/joey/tmp/FVJ6iXIdts/bogl-0.1.18/debian/changelog /home/joey/tmp/cMNOvTIvzc/bogl-0.1.18/debian/changelog --- /home/joey/tmp/FVJ6iXIdts/bogl-0.1.18/debian/changelog 2005-09-24 20:09:14.000000000 -0400 +++ /home/joey/tmp/cMNOvTIvzc/bogl-0.1.18/debian/changelog 2006-10-20 16:10:30.000000000 -0400 @@ -1,3 +1,11 @@ +bogl (0.1.18-1.5) unstable; urgency=low + + * NMU + * Fix FTBFS on some arches due to kernel-headers no longer defining + PAGE_MASK on all arches. Closes: #393023 + + -- Joey Hess <[EMAIL PROTECTED]> Fri, 20 Oct 2006 16:08:45 -0400 + bogl (0.1.18-1.4) unstable; urgency=low * NMU
signature.asc
Description: Digital signature