pkgsrc/x11/xf86-video-fbdev/patches/patch-src_fbdev.c
rodent 0eda36556a Import xf86-video-fbdev-0.4.3 as x11/xf86-video-fbdev.
Video driver for framebuffer device.
2013-06-03 00:48:23 +00:00

15 lines
573 B
C

$NetBSD: patch-src_fbdev.c,v 1.1 2013/06/03 00:48:23 rodent Exp $
Send expected type.
--- src/fbdev.c.orig 2012-07-02 11:46:46.000000000 +0000
+++ src/fbdev.c
@@ -425,7 +425,7 @@ FBDevPreInit(ScrnInfoPtr pScrn, int flag
}
#endif
/* open device */
- if (!fbdevHWInit(pScrn,NULL,xf86FindOptionValue(fPtr->pEnt->device->options,"fbdev")))
+ if (!fbdevHWInit(pScrn,NULL,(char *)xf86FindOptionValue(fPtr->pEnt->device->options,"fbdev")))
return FALSE;
default_depth = fbdevHWGetDepth(pScrn,&fbbpp);
if (!xf86SetDepthBpp(pScrn, default_depth, default_depth, fbbpp,