Hi,

following patches are required for building on openSUSE and should be 
upstreamed.

To keep actual authors dates I do not send them via 'git send-email', but you 
can import them also via 'git am'.


Johannes
>From ec0edfb6e5fc9b31fd4a1d89b0eaed7eed6def75 Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <[email protected]>
Date: Thu, 30 Jul 2009 11:28:28 +0200
Subject: [PATCH] Fix RPMLINT warning "64bit-portability-issue".

Signed-off-by: Johannes Obermayr <[email protected]>
---
 src/tdfx_dri.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tdfx_dri.c b/src/tdfx_dri.c
index 31a1b43..8198595 100644
--- a/src/tdfx_dri.c
+++ b/src/tdfx_dri.c
@@ -359,7 +359,7 @@ Bool TDFXDRIScreenInit(ScreenPtr pScreen)
   pDRIInfo->ddxDriverMajorVersion = TDFX_MAJOR_VERSION;
   pDRIInfo->ddxDriverMinorVersion = TDFX_MINOR_VERSION;
   pDRIInfo->ddxDriverPatchVersion = TDFX_PATCHLEVEL;
-  pDRIInfo->frameBufferPhysicalAddress = pTDFX->LinearAddr[0];
+  pDRIInfo->frameBufferPhysicalAddress = (pointer) pTDFX->LinearAddr[0];
   pDRIInfo->frameBufferSize = pTDFX->FbMapSize;
   pDRIInfo->frameBufferStride = pTDFX->stride;
   pDRIInfo->ddxDrawableTableEntry = TDFX_MAX_DRAWABLES;
-- 
1.7.7

>From 812546bcc888c214acffac25362c98492bab6230 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=BCdiger=20Oertel?= <[email protected]>
Date: Thu, 25 Feb 2010 01:11:59 +0100
Subject: [PATCH] Fix warning: control reaches end of non-void function.

Signed-off-by: Johannes Obermayr <[email protected]>
---
 src/blade_accel_exa.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/blade_accel_exa.c b/src/blade_accel_exa.c
index 3129623..4a75be1 100644
--- a/src/blade_accel_exa.c
+++ b/src/blade_accel_exa.c
@@ -224,6 +224,7 @@ static void Composite(PixmapPtr pDst, int srcX, int srcY, int maskX,
 
 static void DoneComposite(PixmapPtr pDst)
 {
+    return 0;
 }
 
 static int MarkSync(ScreenPtr pScreen)
-- 
1.7.7

>From 529714780887499a1fafe60b7ad45ea4324869d5 Mon Sep 17 00:00:00 2001
From: Johannes Obermayr <[email protected]>
Date: Thu, 3 Nov 2011 23:22:34 +0100
Subject: [PATCH] Fix warning: control reaches end of non-void function.

---
 src/vb_i2c.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/vb_i2c.c b/src/vb_i2c.c
index 96e26e3..6fc95c9 100755
--- a/src/vb_i2c.c
+++ b/src/vb_i2c.c
@@ -1632,6 +1632,7 @@ BOOLEAN bReadClockLine(PXGI_HW_DEVICE_INFO pHWDE)
 		return(bReadClockLineFCNT(pHWDE));
 	else
 		ErrorF("Error(XGI) : Unkonwn output device! \n");
+		return FALSE;
 }
 
 BOOLEAN bReadDataLine(PXGI_HW_DEVICE_INFO pHWDE)
@@ -1644,6 +1645,7 @@ BOOLEAN bReadDataLine(PXGI_HW_DEVICE_INFO pHWDE)
 		return(bReadDataLineFCNT(pHWDE));
 	else
 		ErrorF("Error(XGI) : Unkonwn output device! \n");
+		return FALSE;
 }
 
 BOOLEAN bEDIDCheckSum(PUCHAR  pjEDIDBuf,ULONG   ulBufSize)
@@ -1890,4 +1892,4 @@ BOOLEAN bGetEDID(
 
    PDEBUGI2C(ErrorF("bGetEDID()-return(%d)\n", status == NO_ERROR ? 1:0));
     return (status == NO_ERROR);
-}
\ No newline at end of file
+}
-- 
1.7.7

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to