summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2013-05-16 06:34:55 +0000
committerrichard <richard@pkgsrc.org>2013-05-16 06:34:55 +0000
commit67ff8fec631034a1366bec108ab8472cfdccae41 (patch)
treeda53b182192e2eb6b55ed8115c5d800ce41d6c29
parent38b42cc953e856d5859dfc5dba309e9151d5a2de (diff)
downloadpkgsrc-67ff8fec631034a1366bec108ab8472cfdccae41.tar.gz
update to xf86-video-wsfb-0.4.0 for modular-xorg-server-1.12.4
-rw-r--r--x11/xf86-video-wsfb/Makefile5
-rw-r--r--x11/xf86-video-wsfb/distinfo9
-rw-r--r--x11/xf86-video-wsfb/patches/patch-aa147
3 files changed, 6 insertions, 155 deletions
diff --git a/x11/xf86-video-wsfb/Makefile b/x11/xf86-video-wsfb/Makefile
index 200ea991504..9c57ef854b6 100644
--- a/x11/xf86-video-wsfb/Makefile
+++ b/x11/xf86-video-wsfb/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2012/10/29 05:07:07 asau Exp $
+# $NetBSD: Makefile,v 1.10 2013/05/16 06:34:55 richard Exp $
-DISTNAME= xf86-video-wsfb-0.2.1
-PKGREVISION= 3
+DISTNAME= xf86-video-wsfb-0.4.0
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XORG:=driver/}
EXTRACT_SUFX= .tar.bz2
diff --git a/x11/xf86-video-wsfb/distinfo b/x11/xf86-video-wsfb/distinfo
index 97b9061e352..a500c5806c2 100644
--- a/x11/xf86-video-wsfb/distinfo
+++ b/x11/xf86-video-wsfb/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.3 2009/06/09 06:32:31 obache Exp $
+$NetBSD: distinfo,v 1.4 2013/05/16 06:34:55 richard Exp $
-SHA1 (xf86-video-wsfb-0.2.1.tar.bz2) = 5f7fff95bf0f9409dc392e2f5c192156bf168b33
-RMD160 (xf86-video-wsfb-0.2.1.tar.bz2) = a3ef24a1921593cae51e87a4532b86a5dd2e1e1e
-Size (xf86-video-wsfb-0.2.1.tar.bz2) = 216172 bytes
-SHA1 (patch-aa) = a79da4d939ae7a1048ad18dd71195a5f8870e5f6
+SHA1 (xf86-video-wsfb-0.4.0.tar.bz2) = fc04a2127fc5de3f5d13c56c3be781df34c26a90
+RMD160 (xf86-video-wsfb-0.4.0.tar.bz2) = d35555d20ed5ae303846a1e72fa5e55049428edd
+Size (xf86-video-wsfb-0.4.0.tar.bz2) = 264372 bytes
diff --git a/x11/xf86-video-wsfb/patches/patch-aa b/x11/xf86-video-wsfb/patches/patch-aa
deleted file mode 100644
index 158b5aae3ca..00000000000
--- a/x11/xf86-video-wsfb/patches/patch-aa
+++ /dev/null
@@ -1,147 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2009/06/09 06:32:31 obache Exp $
-
-Adapt to xorg-server>=1.6
-
---- src/wsfb_driver.c.orig 2007-01-02 14:38:33.000000000 +0000
-+++ src/wsfb_driver.c
-@@ -40,15 +40,16 @@
- #include "config.h"
- #endif
-
-+#include <errno.h>
- #include <fcntl.h>
- #include <sys/types.h>
-+#include <sys/mman.h>
- #include <sys/time.h>
- #include <dev/wscons/wsconsio.h>
-
- /* all driver need this */
- #include "xf86.h"
- #include "xf86_OSproc.h"
--#include "xf86_ansic.h"
-
- #include "mipointer.h"
- #include "mibstore.h"
-@@ -59,8 +60,12 @@
- #include "dgaproc.h"
-
- /* for visuals */
--#include "xf1bpp.h"
--#include "xf4bpp.h"
-+#ifdef HAVE_XF1BPP
-+# include "xf1bpp.h"
-+#endif
-+#ifdef HAVE_XF4BPP
-+# include "xf4bpp.h"
-+#endif
- #include "fb.h"
-
- #include "xf86Resources.h"
-@@ -70,13 +75,7 @@
- #include "xf86xv.h"
- #endif
-
--/* #include "wsconsio.h" */
--
--#ifndef XFree86LOADER
--#include <sys/mman.h>
--#endif
--
--#ifdef USE_PRIVSEP
-+#ifdef X_PRIVSEP
- extern int priv_open_device(const char *);
- #else
- #define priv_open_device(n) open(n,O_RDWR|O_NONBLOCK|O_EXCL)
-@@ -184,22 +183,6 @@ static const OptionInfoRec WsfbOptions[]
- { -1, NULL, OPTV_NONE, {0}, FALSE}
- };
-
--/* Symbols needed from other modules */
--static const char *fbSymbols[] = {
-- "fbPictureInit",
-- "fbScreenInit",
-- NULL
--};
--static const char *shadowSymbols[] = {
-- "shadowAdd",
-- "shadowSetup",
-- "shadowUpdatePacked",
-- "shadowUpdatePackedWeak",
-- "shadowUpdateRotatePacked",
-- "shadowUpdateRotatePackedWeak",
-- NULL
--};
--
- #ifdef XFree86LOADER
- static XF86ModuleVersionInfo WsfbVersRec = {
- "wsfb",
-@@ -237,7 +220,6 @@ WsfbSetup(pointer module, pointer opts,
- if (!setupDone) {
- setupDone = TRUE;
- xf86AddDriver(&WSFB, module, HaveDriverFuncs);
-- LoaderRefSymLists(fbSymbols, shadowSymbols, NULL);
- return (pointer)1;
- } else {
- if (errmaj != NULL)
-@@ -642,14 +624,18 @@ WsfbPreInit(ScrnInfoPtr pScrn, int flags
-
- /* Load bpp-specific modules */
- switch(pScrn->bitsPerPixel) {
-+#ifdef HAVE_XF1BPP
- case 1:
- mod = "xf1bpp";
- reqSym = "xf1bppScreenInit";
- break;
-+#endif
-+#ifdef HAVE_XF4BPP
- case 4:
- mod = "xf4bpp";
- reqSym = "xf4bppScreenInit";
- break;
-+#endif
- default:
- mod = "fb";
- break;
-@@ -664,19 +650,11 @@ WsfbPreInit(ScrnInfoPtr pScrn, int flags
- WsfbFreeRec(pScrn);
- return FALSE;
- }
-- xf86LoaderReqSymLists(shadowSymbols, NULL);
- }
- if (mod && xf86LoadSubModule(pScrn, mod) == NULL) {
- WsfbFreeRec(pScrn);
- return FALSE;
- }
-- if (mod) {
-- if (reqSym) {
-- xf86LoaderReqSymbols(reqSym, NULL);
-- } else {
-- xf86LoaderReqSymLists(fbSymbols, NULL);
-- }
-- }
- TRACE_EXIT("PreInit");
- return TRUE;
- }
-@@ -821,6 +799,7 @@ WsfbScreenInit(int scrnIndex, ScreenPtr
- fPtr->fbstart = fPtr->fbmem;
-
- switch (pScrn->bitsPerPixel) {
-+#ifdef HAVE_XF1BPP
- case 1:
- ret = xf1bppScreenInit(pScreen, fPtr->fbstart,
- pScrn->virtualX, pScrn->virtualY,
-@@ -828,11 +807,14 @@ WsfbScreenInit(int scrnIndex, ScreenPtr
- pScrn->displayWidth);
- break;
- case 4:
-+#endif
-+#ifdef HAVE_XF4BPP
- ret = xf4bppScreenInit(pScreen, fPtr->fbstart,
- pScrn->virtualX, pScrn->virtualY,
- pScrn->xDpi, pScrn->yDpi,
- pScrn->displayWidth);
- break;
-+#endif
- case 8:
- case 16:
- case 24: