~ruther/guix-local

fc1172f787db0469f87be8bdb70e56a8b8c1fe08 — Andy Wingo 10 years ago bfc0d83
gnu: xf86-video-siliconmotion: Update to 1.7.8.

* gnu/packages/patches/xf86-video-siliconmotion-remove-mibstore.patch:
  Delete file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/xorg.scm (xf86-video-siliconmotion): Update to 1.7.8.
  [source]: Remove patch.
3 files changed, 2 insertions(+), 22 deletions(-)

M gnu-system.am
D gnu/packages/patches/xf86-video-siliconmotion-remove-mibstore.patch
M gnu/packages/xorg.scm
M gnu-system.am => gnu-system.am +0 -1
@@ 773,7 773,6 @@ dist_patch_DATA =						\
  gnu/packages/patches/xf86-video-mach64-glibc-2.20.patch	\
  gnu/packages/patches/xf86-video-nv-remove-mibstore.patch	\
  gnu/packages/patches/xf86-video-openchrome-glibc-2.20.patch	\
  gnu/packages/patches/xf86-video-siliconmotion-remove-mibstore.patch \
  gnu/packages/patches/xf86-video-sis-fix-exa-crash.patch	\
  gnu/packages/patches/xf86-video-sis-update-api.patch		\
  gnu/packages/patches/xf86-video-tdfx-remove-mibstore.patch	\

D gnu/packages/patches/xf86-video-siliconmotion-remove-mibstore.patch => gnu/packages/patches/xf86-video-siliconmotion-remove-mibstore.patch +0 -16
@@ 1,16 0,0 @@
Removes references to mibstore.h and miInitializeBackingStore, which
have been removed from xorg-server.  Zack Rusin <zackr@vmware.com>
wrote: "It was a noop for at least 5 years and it has been removed."
See: http://patches.openembedded.org/patch/46133/

--- xf86-video-siliconmotion-1.7.7/src/smi_driver.c.~1~	2012-07-17 00:53:21.000000000 -0400
+++ xf86-video-siliconmotion-1.7.7/src/smi_driver.c	2014-12-19 01:30:16.708884086 -0500
@@ -1750,8 +1750,6 @@
 		   "Done writing mode.  Register dump:\n");
     SMI_PrintRegs(pScrn);
 
-    miInitializeBackingStore(pScreen);
-
 #ifdef HAVE_XMODES
     xf86DiDGAInit(pScreen, (unsigned long)(pSmi->FBBase + pScrn->fbOffset));
 #endif

M gnu/packages/xorg.scm => gnu/packages/xorg.scm +2 -5
@@ 3132,7 3132,7 @@ This driver is intended for ATI Rage 128 based cards.")
(define-public xf86-video-siliconmotion
  (package
    (name "xf86-video-siliconmotion")
    (version "1.7.7")
    (version "1.7.8")
    (source
      (origin
        (method url-fetch)


@@ 3142,10 3142,7 @@ This driver is intended for ATI Rage 128 based cards.")
               ".tar.bz2"))
        (sha256
          (base32
           "1an321kqvsxq0z35acwl99lc8hpdkayw0q180744ypcl8ffvbf47"))
        (patches
         (list
          (search-patch "xf86-video-siliconmotion-remove-mibstore.patch")))))
           "1sqv0y31mi4zmh9yaxqpzg7p8y2z01j6qys433hb8n4yznllkm79"))))
    (build-system gnu-build-system)
    (inputs `(("xorg-server" ,xorg-server)))
    (native-inputs `(("pkg-config" ,pkg-config)))