Your message dated Sun, 27 Aug 2006 08:17:26 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#384312: fixed in xawtv 3.95-4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xawtv
Version: 3.95-2
Severity: serious
Tags: patch

When building 'xawtv' on powerpc/unstable,
I get the following error:

  CC      console/fbtv.o
In file included from console/fbtv.c:31:
./libng/grab-ng.h:28:1: warning: "bool" redefined
In file included from /usr/include/curses.h:161,
                 from console/fbtv.c:24:
/usr/lib/gcc/powerpc64-linux-gnu/4.1.2/include/stdbool.h:36:1: warning: this is 
the location of the previous definition
console/fbtv.c: In function 'text_out':
console/fbtv.c:341: warning: pointer targets in passing argument 4 of 'fs_puts' 
differ in signedness
console/fbtv.c: In function 'text_width':
console/fbtv.c:347: warning: pointer targets in passing argument 2 of 
'fs_textwidth' differ in signedness
console/fbtv.c: In function 'main':
console/fbtv.c:813: warning: pointer targets in assignment differ in signedness
  CC      console/fbtools.o
console/fbtools.c: In function 'fb_init':
console/fbtools.c:427: error: 'PAGE_MASK' undeclared (first use in this 
function)
console/fbtools.c:427: error: (Each undeclared identifier is reported only once
console/fbtools.c:427: error: for each function it appears in.)
make[1]: *** [console/fbtools.o] Error 1
make[1]: Leaving directory `/xawtv-3.95'
make: *** [build-stamp] Error 2

With the attached patch 'xawtv' can be compiled on powerpc.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xawtv-3.95/console/fbtools.c ./console/fbtools.c
--- ../tmp-orig/xawtv-3.95/console/fbtools.c    2003-02-14 14:14:04.000000000 
+0000
+++ ./console/fbtools.c 2006-08-23 10:57:40.000000000 +0000
@@ -21,8 +21,6 @@
 #include <linux/vt.h>
 #include <linux/fb.h>
 
-#include <asm/page.h>
-
 #include "fbtools.h"
 
 /* -------------------------------------------------------------------- */
@@ -424,7 +422,7 @@
        goto err;
     }
 #endif
-    fb_mem_offset = (unsigned long)(fb_fix.smem_start) & (~PAGE_MASK);
+    fb_mem_offset = (unsigned long)(fb_fix.smem_start) & 
~(sysconf(_SC_PAGE_SIZE)-1);
     fb_mem = mmap(NULL,fb_fix.smem_len+fb_mem_offset,
                  PROT_READ|PROT_WRITE,MAP_SHARED,fb,0);
     if (-1L == (long)fb_mem) {
diff -urN ../tmp-orig/xawtv-3.95/console/matrox.c ./console/matrox.c
--- ../tmp-orig/xawtv-3.95/console/matrox.c     2005-02-03 10:40:41.000000000 
+0000
+++ ./console/matrox.c  2006-08-23 11:09:51.000000000 +0000
@@ -9,7 +9,6 @@
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 
-#include <asm/page.h> /* PAGE_SIZE */
 #include <linux/fb.h>
 
 #include "byteswap.h"
@@ -226,7 +225,7 @@
        return -1;
     }
     off = (unsigned long)fb_fix.mmio_start -
-       ((unsigned long)fb_fix.mmio_start & ~(PAGE_SIZE-1));
+       ((unsigned long)fb_fix.mmio_start & ~(sysconf(_SC_PAGE_SIZE)-1));
     bmmio += off;
     mmio = (uint32_t*)bmmio;
     return 0;


--- End Message ---
--- Begin Message ---
Source: xawtv
Source-Version: 3.95-4

We believe that the bug you reported is fixed in the latest version of
xawtv, which is due to be installed in the Debian FTP archive:

alevtd_3.95-4_powerpc.deb
  to pool/main/x/xawtv/alevtd_3.95-4_powerpc.deb
fbtv_3.95-4_powerpc.deb
  to pool/main/x/xawtv/fbtv_3.95-4_powerpc.deb
pia_3.95-4_powerpc.deb
  to pool/main/x/xawtv/pia_3.95-4_powerpc.deb
radio_3.95-4_powerpc.deb
  to pool/main/x/xawtv/radio_3.95-4_powerpc.deb
scantv_3.95-4_powerpc.deb
  to pool/main/x/xawtv/scantv_3.95-4_powerpc.deb
streamer_3.95-4_powerpc.deb
  to pool/main/x/xawtv/streamer_3.95-4_powerpc.deb
ttv_3.95-4_powerpc.deb
  to pool/main/x/xawtv/ttv_3.95-4_powerpc.deb
v4l-conf_3.95-4_powerpc.deb
  to pool/main/x/xawtv/v4l-conf_3.95-4_powerpc.deb
webcam_3.95-4_powerpc.deb
  to pool/main/x/xawtv/webcam_3.95-4_powerpc.deb
xawtv-plugin-qt_3.95-4_powerpc.deb
  to pool/main/x/xawtv/xawtv-plugin-qt_3.95-4_powerpc.deb
xawtv-plugins_3.95-4_powerpc.deb
  to pool/main/x/xawtv/xawtv-plugins_3.95-4_powerpc.deb
xawtv-tools_3.95-4_powerpc.deb
  to pool/main/x/xawtv/xawtv-tools_3.95-4_powerpc.deb
xawtv_3.95-4.diff.gz
  to pool/main/x/xawtv/xawtv_3.95-4.diff.gz
xawtv_3.95-4.dsc
  to pool/main/x/xawtv/xawtv_3.95-4.dsc
xawtv_3.95-4_powerpc.deb
  to pool/main/x/xawtv/xawtv_3.95-4_powerpc.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <[EMAIL PROTECTED]> (supplier of updated xawtv package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 27 Aug 2006 12:55:35 +0200
Source: xawtv
Binary: xawtv-plugins fbtv radio ttv webcam xawtv-plugin-qt pia xawtv 
xawtv-tools scantv streamer alevtd v4l-conf
Architecture: source powerpc
Version: 3.95-4
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[EMAIL PROTECTED]>
Changed-By: Aurelien Jarno <[EMAIL PROTECTED]>
Description: 
 alevtd     - http daemon for videotext pages
 fbtv       - linux console (fbcon) TV application
 pia        - movie player
 radio      - ncurses-based radio application
 scantv     - scan TV channels for stations
 streamer   - capture tool (images / movies)
 ttv        - tty TV application
 v4l-conf   - tool to configure video4linux drivers
 webcam     - capture and upload images
 xawtv      - X11 TV application
 xawtv-plugin-qt - quicktime plugin for xawtv and motv
 xawtv-plugins - plugins for xawtv and motv
 xawtv-tools - Miscellaneous tools distributed with xawtv
Closes: 384312
Changes: 
 xawtv (3.95-4) unstable; urgency=low
 .
   * QA upload.
   * Fix 07_page_size.dpatch.  Closes: #384312.
Files: 
 39a2dda95ac8f4009d40fc65cd7bb0fd 1100 graphics extra xawtv_3.95-4.dsc
 dc203d4a9aa6aaa2b8ee9c0ded3844bc 24314 graphics extra xawtv_3.95-4.diff.gz
 b594b6eb8c18857d6e236239a7d27131 257298 x11 extra xawtv_3.95-4_powerpc.deb
 c47625564ee67460123b1f377848ee29 39408 x11 extra pia_3.95-4_powerpc.deb
 cd1ae290c7fd661a4e8b3fb7f5584e79 72152 graphics extra fbtv_3.95-4_powerpc.deb
 b9cd5b46ce19e41258cf2bc203e60a71 54110 graphics extra ttv_3.95-4_powerpc.deb
 b0a9058fd24b7834d57344a3a0795e3d 59756 graphics extra scantv_3.95-4_powerpc.deb
 9dac6c97a4ef4d438eff36f99fcc2f00 55320 graphics extra 
streamer_3.95-4_powerpc.deb
 91d960be65d9828b5832127fc3934334 18126 sound extra radio_3.95-4_powerpc.deb
 f567fcfae7c4d4adeba7bd72dd7c1cd5 26560 graphics extra 
v4l-conf_3.95-4_powerpc.deb
 06375e1702b0fcdd1af6be4291dc5099 35374 graphics extra 
xawtv-tools_3.95-4_powerpc.deb
 faf31fa2952c721db6338ae1927b8d00 17798 graphics extra 
xawtv-plugin-qt_3.95-4_powerpc.deb
 7a86a69a24b06430f31d3d5adeea7f4e 106024 graphics extra 
xawtv-plugins_3.95-4_powerpc.deb
 904d3859cd358b85a655b7cc640d66b8 37906 net extra webcam_3.95-4_powerpc.deb
 07c66e190abad07e7db19d605d65b177 33038 net extra alevtd_3.95-4_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFE8a8iw3ao2vG823MRApoNAJ4h2vUlU0N7lgMuyhdOQkVfkfT+0ACfdmM1
MjuyeyHhLPsG8lZrNGEl7sw=
=khgb
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to