[Git][xorg-team/driver/xserver-xorg-video-ivtvdev][debian-unstable] 4 commits: Point Homepage to web archive to express that original homepage

"Andreas Tille (@tille)" <[email protected]>
Newsgroups gmane.linux.debian.devel.x
Message-ID <[email protected]>

Andreas Tille pushed to branch debian-unstable at X Strike Force / driver / xserver-xorg-video-ivtvdev


Commits:
105ba7ae by Andreas Tille at 2026-03-19T15:24:28+01:00
Point Homepage to web archive to express that original homepage
  vanished from web

- - - - -
a68e44c5 by Andreas Tille at 2026-03-19T15:25:36+01:00
Point Vcs fields to Salsa

- - - - -
60e00376 by Andreas Tille at 2026-03-19T15:29:55+01:00
debian/source/format: 3.0 (quilt)

- - - - -
52324cca by Andreas Tille at 2026-03-19T15:40:15+01:00
Fix build problems with newer Xorg and compiler. Closes: #1078229

- - - - -


8 changed files:

- Makefile.in
- config.guess
- config.sub
- debian/changelog
- debian/control
- + debian/patches/0003-gcc14.patch
- debian/patches/series
- + debian/source/format


Changes:

=====================================
Makefile.in
=====================================
@@ -52,7 +52,7 @@ POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
 subdir = .
-DIST_COMMON = README ChangeLog $(am__configure_deps) $(srcdir)/Makefile.am \
+DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
 	$(srcdir)/Makefile.in $(srcdir)/config.h.in \
 	$(top_srcdir)/configure ChangeLog config.guess config.sub \
 	depcomp install-sh ltmain.sh missing


=====================================
config.guess
=====================================
@@ -1,9 +1,4 @@
 #! /bin/sh
-
-if [ -x /usr/share/misc/config.guess ]; then
-    exec /usr/share/misc/config.guess "$@"
-fi
-
 # Attempt to guess a canonical system name.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.


=====================================
config.sub
=====================================
@@ -1,9 +1,4 @@
 #! /bin/sh
-
-if [ -x /usr/share/misc/config.sub ]; then
-    exec /usr/share/misc/config.sub "$@"
-fi
-
 # Configuration validation subroutine script.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.


=====================================
debian/changelog
=====================================
@@ -1,3 +1,19 @@
+xserver-xorg-video-ivtvdev (1.1.2-3) UNRELEASED; urgency=medium
+
+  * Team upload.
+
+  [ Andreas Tille ]
+  * Point Homepage to web archive to express that original homepage
+    vanished from web
+  * Point Vcs fields to Salsa
+  * debian/source/format: 3.0 (quilt)
+
+  [ Petter Reinholdtsen ]
+  * Fix build problems with newer Xorg and compiler.
+    Closes: #1078229
+
+ -- Andreas Tille <[email protected]>  Thu, 19 Mar 2026 15:23:57 +0100
+
 xserver-xorg-video-ivtvdev (1.1.2-2) unstable; urgency=low
 
   * Build against xserver 1.14.


=====================================
debian/control
=====================================
@@ -17,8 +17,9 @@ Build-Depends:
  x11proto-render-dev,
  x11proto-xext-dev,
 Standards-Version: 3.9.1
-Vcs-Git: git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-video-ivtvdev
-Vcs-Browser: http://git.debian.org/?p=pkg-xorg/driver/xserver-xorg-video-ivtvdev.git
+Vcs-Browser: https://salsa.debian.org/xorg-team/driver/xserver-xorg-video-ivtvdev
+Vcs-Git: https://salsa.debian.org/xorg-team/driver/xserver-xorg-video-ivtvdev.git
+Homepage: https://web.archive.org/web/20150307091531/http://dl.ivtvdriver.org/xf86-video-ivtv/
 
 Package: xserver-xorg-video-ivtv
 Architecture: alpha amd64 arm hppa hurd-i386 i386 ia64 kfreebsd-i386 m68k mips  mipsel netbsd-i386 powerpc


=====================================
debian/patches/0003-gcc14.patch
=====================================
@@ -0,0 +1,133 @@
+Description: Fix build problems with newer Xorg and compiler.
+ Ensure correct method and variable declaration to avoid fatal
+ compiler warnings.
+Author: Petter Reinholdtsen <[email protected]>
+Bug-Debian: https://bugs.debian.org/1078229
+Forwarded: no
+Last-Update: 2025-03-01
+---
+Index: xserver-xorg-video-ivtvdev-salsa/src/ivtv.c
+===================================================================
+--- xserver-xorg-video-ivtvdev-salsa.orig/src/ivtv.c	2025-03-01 08:38:08.000000000 +0000
++++ xserver-xorg-video-ivtvdev-salsa/src/ivtv.c	2025-03-01 08:39:21.550211876 +0000
+@@ -314,7 +314,7 @@
+     int i;
+     GDevPtr *devSections;
+     int numDevSections;
+-    char *dev;
++    const char *dev;
+     Bool foundScreen = FALSE;
+     int *usedChips;
+     int numUsed;
+Index: xserver-xorg-video-ivtvdev-salsa/src/ivtv_hw.c
+===================================================================
+--- xserver-xorg-video-ivtvdev-salsa.orig/src/ivtv_hw.c	2025-03-01 08:38:08.000000000 +0000
++++ xserver-xorg-video-ivtvdev-salsa/src/ivtv_hw.c	2025-03-01 08:39:14.554137292 +0000
+@@ -168,12 +168,12 @@
+ /* open correct framebuffer device                                      */
+ 
+ static int
+-ivtv_open(int scrnIndex, char *dev, char **namep, IVTVDevPtr devPtr)
++ivtv_open(int scrnIndex, const char *dev, char **namep, IVTVDevPtr devPtr)
+ {
+     struct fb_fix_screeninfo fix;
+     int fbufId = 255;
+     int yuvId;
+-    char *devid;
++    const char *devid;
+     int fd;
+ 
+     /* try argument (from XF86Config) first */
+@@ -211,7 +211,7 @@
+     if (fd == -1 || devPtr == NULL)
+ 	return fd;
+ 
+-    devid = dev + 7;
++    devid = &dev[7];
+ 
+     if (*devid == '/')
+ 	devid++;
+@@ -340,9 +340,9 @@
+ 
+ Bool
+ #if XSERVER_LIBPCIACCESS
+-ivtvHWProbe(struct pci_device *PciInfo, char *device, char **namep)
++ivtvHWProbe(struct pci_device *PciInfo, const char *device, char **namep)
+ #else
+-ivtvHWProbe(pciVideoPtr pPci, char *device, char **namep)
++ivtvHWProbe(pciVideoPtr pPci, const char *device, char **namep)
+ #endif
+ {
+     int fd;
+@@ -372,9 +372,9 @@
+ 
+ Bool
+ #if XSERVER_LIBPCIACCESS
+-ivtvHWInit(ScrnInfoPtr pScrn, struct pci_device *PciInfo, char *device)
++ivtvHWInit(ScrnInfoPtr pScrn, struct pci_device *PciInfo, const char *device)
+ #else
+-ivtvHWInit(ScrnInfoPtr pScrn, pciVideoPtr pPci, char *device)
++ivtvHWInit(ScrnInfoPtr pScrn, pciVideoPtr pPci, const char *device)
+ #endif
+ {
+     TRACE_ENTER("Init");
+@@ -464,7 +464,7 @@
+     int virtX = pScrn->display->virtualX;
+     int virtY = pScrn->display->virtualY;
+     struct fb_var_screeninfo var;
+-    char **modename;
++    const char **modename;
+     DisplayModePtr mode, this, last = NULL;
+ 
+     TRACE_ENTER("VerifyModes");
+@@ -688,10 +688,9 @@
+ /* -------------------------------------------------------------------- */
+ /* these can be hooked directly into ScrnInfoRec                        */
+ 
+-int
+-ivtvHWValidMode(int scrnIndex, DisplayModePtr mode, Bool verbose, int flags)
++ModeStatus
++ivtvHWValidMode(ScrnInfoPtr pScrn, DisplayModePtr mode, Bool verbose, int flags)
+ {
+-    ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
+     IVTVDevPtr devPtr = IVTVDEVPTR(pScrn);
+     struct fb_var_screeninfo var;
+ 
+@@ -701,7 +700,7 @@
+     xfree2ivtv_fblayout(pScrn, &devPtr->var);
+     var.activate = FB_ACTIVATE_TEST;
+     if (0 != ioctl(devPtr->fd, FBIOPUT_VSCREENINFO, (void *)(&devPtr->var))) {
+-	xf86DrvMsg(scrnIndex, X_ERROR,
++	xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
+ 	    "ValidMode: FBIOPUT_VSCREENINFO failed (%s)\n", strerror(errno));
+ 	return MODE_BAD;
+     }
+Index: xserver-xorg-video-ivtvdev-salsa/src/ivtv_hw.h
+===================================================================
+--- xserver-xorg-video-ivtvdev-salsa.orig/src/ivtv_hw.h	2025-03-01 08:38:08.000000000 +0000
++++ xserver-xorg-video-ivtvdev-salsa/src/ivtv_hw.h	2025-03-01 08:39:53.102548048 +0000
+@@ -61,11 +61,11 @@
+ #endif
+ 
+ #if XSERVER_LIBPCIACCESS
+-Bool ivtvHWProbe(struct pci_device *PciInfo, char *device, char **namep);
+-Bool ivtvHWInit(ScrnInfoPtr pScrn, struct pci_device *PciInfo, char *device);
++Bool ivtvHWProbe(struct pci_device *PciInfo, const char *device, char **namep);
++Bool ivtvHWInit(ScrnInfoPtr pScrn, struct pci_device *PciInfo, const char *device);
+ #else
+ Bool ivtvHWProbe(pciVideoPtr pPci, char *device, char **namep);
+-Bool ivtvHWInit(ScrnInfoPtr pScrn, pciVideoPtr pPci, char *device);
++Bool ivtvHWInit(ScrnInfoPtr pScrn, pciVideoPtr pPci, const char *device);
+ #endif
+ char *ivtvHWGetName(ScrnInfoPtr pScrn);
+ int ivtvHWGetDepth(ScrnInfoPtr pScrn, int *fbbpp);
+@@ -86,7 +86,7 @@
+ void ivtvHWRestore(ScrnInfoPtr pScrn);
+ void ivtvHWLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices,
+     LOCO * colors, VisualPtr pVisual);
+-int ivtvHWValidMode(int scrnIndex, DisplayModePtr mode, Bool verbose, int flags);
++ModeStatus ivtvHWValidMode(ScrnInfoPtr pScrn, DisplayModePtr mode, Bool verbose, int flags);
+ Bool ivtvHWSwitchMode(SWITCH_MODE_ARGS_DECL);
+ void ivtvHWAdjustFrame(ADJUST_FRAME_ARGS_DECL);
+ Bool ivtvHWEnterVT(VT_FUNC_ARGS_DECL);
+


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 0001-Remove-mibstore.h.patch
 0002-Port-to-new-xserver-API.patch
+0003-gcc14.patch


=====================================
debian/source/format
=====================================
@@ -0,0 +1 @@
+3.0 (quilt)



View it on GitLab: https://salsa.debian.org/xorg-team/driver/xserver-xorg-video-ivtvdev/-/compare/47353250d9157769f88548065d7852bf19d9d094...52324cca705d8abc340cd4ead21bcf5da8ccca69

-- 
View it on GitLab: https://salsa.debian.org/xorg-team/driver/xserver-xorg-video-ivtvdev/-/compare/47353250d9157769f88548065d7852bf19d9d094...52324cca705d8abc340cd4ead21bcf5da8ccca69
You're receiving this email because of your account on salsa.debian.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.