pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/xf86-video-wsfb



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Tue Sep 28 13:58:13 UTC 2021

Modified Files:
        pkgsrc/x11/xf86-video-wsfb: Makefile distinfo
        pkgsrc/x11/xf86-video-wsfb/patches: patch-src_wsfb__driver.c

Log Message:
xf86-video-wsfb: Remove use of xf86DisableRandR() to fix "Undefined PLT symbol"

* xf86DisableRandR is already removed from xorg.
* Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/x11/xf86-video-wsfb/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/x11/xf86-video-wsfb/distinfo
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/x11/xf86-video-wsfb/patches/patch-src_wsfb__driver.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/xf86-video-wsfb/Makefile
diff -u pkgsrc/x11/xf86-video-wsfb/Makefile:1.20 pkgsrc/x11/xf86-video-wsfb/Makefile:1.21
--- pkgsrc/x11/xf86-video-wsfb/Makefile:1.20    Sat Jan 18 23:36:08 2020
+++ pkgsrc/x11/xf86-video-wsfb/Makefile Tue Sep 28 13:58:13 2021
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2020/01/18 23:36:08 rillig Exp $
+# $NetBSD: Makefile,v 1.21 2021/09/28 13:58:13 ryoon Exp $
 
 DISTNAME=      xf86-video-wsfb-0.4.0
-PKGREVISION=   8
+PKGREVISION=   9
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_XORG:=driver/}
 EXTRACT_SUFX=  .tar.bz2

Index: pkgsrc/x11/xf86-video-wsfb/distinfo
diff -u pkgsrc/x11/xf86-video-wsfb/distinfo:1.8 pkgsrc/x11/xf86-video-wsfb/distinfo:1.9
--- pkgsrc/x11/xf86-video-wsfb/distinfo:1.8     Sun May 13 03:45:07 2018
+++ pkgsrc/x11/xf86-video-wsfb/distinfo Tue Sep 28 13:58:13 2021
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.8 2018/05/13 03:45:07 ryoon Exp $
+$NetBSD: distinfo,v 1.9 2021/09/28 13:58:13 ryoon Exp $
 
 SHA1 (xf86-video-wsfb-0.4.0.tar.bz2) = fc04a2127fc5de3f5d13c56c3be781df34c26a90
 RMD160 (xf86-video-wsfb-0.4.0.tar.bz2) = d35555d20ed5ae303846a1e72fa5e55049428edd
 SHA512 (xf86-video-wsfb-0.4.0.tar.bz2) = 7a42ab3c29408ed934b21d3e6620c11d0a2765dc7aed0d7f9eebb6068665b32afcec934a413c30ccb655411ca59871c8f503b21377eb4c18f269493d205c5a8d
 Size (xf86-video-wsfb-0.4.0.tar.bz2) = 264372 bytes
 SHA1 (patch-src_compat-api.h) = 114cfc96361770c145f74c38abd9696943319253
-SHA1 (patch-src_wsfb__driver.c) = 3f2c9b1fddf67c68657e10dc8144cb7ccc640f6e
+SHA1 (patch-src_wsfb__driver.c) = 06d7a86a5476e38c602f927a563efee8ac8c1046

Index: pkgsrc/x11/xf86-video-wsfb/patches/patch-src_wsfb__driver.c
diff -u pkgsrc/x11/xf86-video-wsfb/patches/patch-src_wsfb__driver.c:1.3 pkgsrc/x11/xf86-video-wsfb/patches/patch-src_wsfb__driver.c:1.4
--- pkgsrc/x11/xf86-video-wsfb/patches/patch-src_wsfb__driver.c:1.3     Sun May 13 03:45:07 2018
+++ pkgsrc/x11/xf86-video-wsfb/patches/patch-src_wsfb__driver.c Tue Sep 28 13:58:13 2021
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_wsfb__driver.c,v 1.3 2018/05/13 03:45:07 ryoon Exp $
+$NetBSD: patch-src_wsfb__driver.c,v 1.4 2021/09/28 13:58:13 ryoon Exp $
 
 Add revision 1.15 from xsrc version:
 date: 2013-01-31 12:18:01 +0100; author: macallan; state: Exp; lines: +145 -72;
@@ -12,6 +12,8 @@ fa9aabe95a65c4dd12008e16ad66d5c773a7993a
 Replace LoaderGetOS with ifdef (fix build with modular-xorg-server-1.20.0)
 8069c6970c731c38e105f5dddd5ce83ba88b0773
 
+* Remove xf86DisableRandR. This was removed from xorg.
+
 --- src/wsfb_driver.c.orig     2012-01-01 15:25:08.000000000 +0000
 +++ src/wsfb_driver.c
 @@ -53,7 +53,6 @@
@@ -430,7 +432,7 @@ Replace LoaderGetOS with ifdef (fix buil
                    "shadow framebuffer initialization failed\n");
                return FALSE;
        }
-@@ -877,20 +947,19 @@ WsfbScreenInit(int scrnIndex, ScreenPtr 
+@@ -877,20 +947,16 @@ WsfbScreenInit(int scrnIndex, ScreenPtr 
        if (!fPtr->rotate)
                WsfbDGAInit(pScrn, pScreen);
        else
@@ -440,9 +442,8 @@ Replace LoaderGetOS with ifdef (fix buil
  #endif
        if (fPtr->rotate) {
 -              xf86DrvMsg(scrnIndex, X_INFO, "Enabling Driver Rotation, "
-+              xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Enabling Driver Rotation, "
-                   "disabling RandR\n");
-               xf86DisableRandR();
+-                  "disabling RandR\n");
+-              xf86DisableRandR();
                if (pScrn->bitsPerPixel == 24)
 -                      xf86DrvMsg(scrnIndex, X_WARNING,
 +                      xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
@@ -454,7 +455,7 @@ Replace LoaderGetOS with ifdef (fix buil
        xf86SetBackingStore(pScreen);
  
        /* Software cursor. */
-@@ -907,10 +976,16 @@ WsfbScreenInit(int scrnIndex, ScreenPtr 
+@@ -907,10 +973,16 @@ WsfbScreenInit(int scrnIndex, ScreenPtr 
        if (!miCreateDefColormap(pScreen))
                return FALSE;
        flags = CMAP_RELOAD_ON_MODE_SWITCH;
@@ -472,7 +473,7 @@ Replace LoaderGetOS with ifdef (fix buil
        if(!xf86HandleColormaps(pScreen, ncolors, 8, WsfbLoadPalette,
                                NULL, flags))
                return FALSE;
-@@ -937,9 +1012,9 @@ WsfbScreenInit(int scrnIndex, ScreenPtr 
+@@ -937,9 +1009,9 @@ WsfbScreenInit(int scrnIndex, ScreenPtr 
  }
  
  static Bool
@@ -484,7 +485,7 @@ Replace LoaderGetOS with ifdef (fix buil
        PixmapPtr pPixmap;
        WsfbPtr fPtr = WSFBPTR(pScrn);
  
-@@ -971,30 +1046,34 @@ WsfbCloseScreen(int scrnIndex, ScreenPtr
+@@ -971,30 +1043,34 @@ WsfbCloseScreen(int scrnIndex, ScreenPtr
        /* Unwrap CloseScreen. */
        pScreen->CloseScreen = fPtr->CloseScreen;
        TRACE_EXIT("WsfbCloseScreen");
@@ -527,7 +528,7 @@ Replace LoaderGetOS with ifdef (fix buil
      WsfbPtr fPtr = WSFBPTR(pScrn);
      int newX, newY;
  
-@@ -1026,13 +1105,13 @@ WsfbPointerMoved(int index, int x, int y
+@@ -1026,13 +1102,13 @@ WsfbPointerMoved(int index, int x, int y
      }
  
      /* Pass adjusted pointer coordinates to wrapped PointerMoved function. */
@@ -544,7 +545,7 @@ Replace LoaderGetOS with ifdef (fix buil
  
        TRACE_ENTER("EnterVT");
        pScrn->vtSema = TRUE;
-@@ -1041,20 +1120,20 @@ WsfbEnterVT(int scrnIndex, int flags)
+@@ -1041,20 +1117,20 @@ WsfbEnterVT(int scrnIndex, int flags)
  }
  
  static void
@@ -569,7 +570,7 @@ Replace LoaderGetOS with ifdef (fix buil
  #endif
  
        TRACE_ENTER("SwitchMode");
-@@ -1063,10 +1142,10 @@ WsfbSwitchMode(int scrnIndex, DisplayMod
+@@ -1063,10 +1139,10 @@ WsfbSwitchMode(int scrnIndex, DisplayMod
  }
  
  static int
@@ -582,7 +583,7 @@ Replace LoaderGetOS with ifdef (fix buil
  #endif
  
        TRACE_ENTER("ValidMode");
-@@ -1132,7 +1211,7 @@ WsfbLoadPalette(ScrnInfoPtr pScrn, int n
+@@ -1132,7 +1208,7 @@ WsfbLoadPalette(ScrnInfoPtr pScrn, int n
  static Bool
  WsfbSaveScreen(ScreenPtr pScreen, int mode)
  {
@@ -591,7 +592,7 @@ Replace LoaderGetOS with ifdef (fix buil
        WsfbPtr fPtr = WSFBPTR(pScrn);
        int state;
  
-@@ -1159,11 +1238,12 @@ WsfbSave(ScrnInfoPtr pScrn)
+@@ -1159,11 +1235,12 @@ WsfbSave(ScrnInfoPtr pScrn)
  
        TRACE_ENTER("WsfbSave");
  
@@ -606,7 +607,7 @@ Replace LoaderGetOS with ifdef (fix buil
        if (ioctl(fPtr->fd, WSDISPLAYIO_GETCMAP,
                  &(fPtr->saved_cmap)) == -1) {
                xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
-@@ -1181,7 +1261,7 @@ WsfbRestore(ScrnInfoPtr pScrn)
+@@ -1181,7 +1258,7 @@ WsfbRestore(ScrnInfoPtr pScrn)
  
        TRACE_ENTER("WsfbRestore");
  
@@ -615,7 +616,7 @@ Replace LoaderGetOS with ifdef (fix buil
                /* reset colormap for text mode */
                if (ioctl(fPtr->fd, WSDISPLAYIO_PUTCMAP,
                          &(fPtr->saved_cmap)) == -1) {
-@@ -1240,9 +1320,9 @@ WsfbDGASetMode(ScrnInfoPtr pScrn, DGAMod
+@@ -1240,9 +1317,9 @@ WsfbDGASetMode(ScrnInfoPtr pScrn, DGAMod
                frameY0 = pScrn->frameY0;
        }
  
@@ -627,7 +628,7 @@ Replace LoaderGetOS with ifdef (fix buil
  
        return TRUE;
  }
-@@ -1250,7 +1330,7 @@ WsfbDGASetMode(ScrnInfoPtr pScrn, DGAMod
+@@ -1250,7 +1327,7 @@ WsfbDGASetMode(ScrnInfoPtr pScrn, DGAMod
  static void
  WsfbDGASetViewport(ScrnInfoPtr pScrn, int x, int y, int flags)
  {
@@ -636,7 +637,7 @@ Replace LoaderGetOS with ifdef (fix buil
  }
  
  static int
-@@ -1305,12 +1385,12 @@ WsfbDGAAddModes(ScrnInfoPtr pScrn)
+@@ -1305,12 +1382,12 @@ WsfbDGAAddModes(ScrnInfoPtr pScrn)
                pDGAMode->viewportWidth = pMode->HDisplay;
                pDGAMode->viewportHeight = pMode->VDisplay;
  



Home | Main Index | Thread Index | Old Index