pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xf86-video-wsfb xf86-video-wsfb: Remove use of xf8...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2766cfc00d87
branches:  trunk
changeset: 459019:2766cfc00d87
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Sep 28 13:58:13 2021 +0000

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

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

diffstat:

 x11/xf86-video-wsfb/Makefile                         |   4 +-
 x11/xf86-video-wsfb/distinfo                         |   4 +-
 x11/xf86-video-wsfb/patches/patch-src_wsfb__driver.c |  35 ++++++++++---------
 3 files changed, 22 insertions(+), 21 deletions(-)

diffs (174 lines):

diff -r cb702df1586e -r 2766cfc00d87 x11/xf86-video-wsfb/Makefile
--- a/x11/xf86-video-wsfb/Makefile      Tue Sep 28 13:50:15 2021 +0000
+++ b/x11/xf86-video-wsfb/Makefile      Tue Sep 28 13:58:13 2021 +0000
@@ -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
diff -r cb702df1586e -r 2766cfc00d87 x11/xf86-video-wsfb/distinfo
--- a/x11/xf86-video-wsfb/distinfo      Tue Sep 28 13:50:15 2021 +0000
+++ b/x11/xf86-video-wsfb/distinfo      Tue Sep 28 13:58:13 2021 +0000
@@ -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
diff -r cb702df1586e -r 2766cfc00d87 x11/xf86-video-wsfb/patches/patch-src_wsfb__driver.c
--- a/x11/xf86-video-wsfb/patches/patch-src_wsfb__driver.c      Tue Sep 28 13:50:15 2021 +0000
+++ b/x11/xf86-video-wsfb/patches/patch-src_wsfb__driver.c      Tue Sep 28 13:58:13 2021 +0000
@@ -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 @@
 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 @@
                    "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 @@
  #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 @@
        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 @@
        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 @@
        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 @@
      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 @@
  
        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 @@
  #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 @@
  #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 @@
        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 @@
        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 @@
                /* 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 @@
  
        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 @@
  }
  
  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