Package: xserver-xorg-video-geode / 2.11.13-3

Metadata

Package Version Patches format
xserver-xorg-video-geode 2.11.13-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001_z4l_remove_types_h.patch | (download)

src/z4l.c | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

 z4l.c: drop unnecessary #include linux/types.h
    
  On hybrid platforms, such as Debian GNU/KFreeBSD, that support V4L2
  and yet without providing the full complement of Linux headers, ZTV
  fails to compile because of this missing header.
  
  Given how removing this header does not adversely affect compiling,
  plus it might improve portability, we went ahead and removed it.
  
  Nonetheless, as observed by Gaetan Nadon, z4l.c includes code that
  explicitly disables the module on any OS other than Linux:
  
      LoaderGetOS(&osname, NULL, NULL, NULL);
  
      if (osname == NULL || strcmp(osname, "linux") != 0) {
      if (errmaj)
          *errmaj = LDR_BADOS;
      if (errmin)
          *errmin = 0;
  
      return NULL;
      }
  
  Still, in the interest of OS neutrality, we decided to leave recent
  autoconf magic in place and to let OS vendors figure out how to get
  the module loaded on non-Linux OS themselves. Patches are welcome.
  
  Signed-off-by: Martin-√Čric Racine <martin-eric.racine@iki.fi>
0002_fix compile on x86 64.patch | (download)

src/geode_ddc.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix compile on x86-64 in tinderbox

  geode_ddc.c: In function 'GeodeI2CInit':