Module Name: xsrc Committed By: rin Date: Thu Jul 7 11:48:17 UTC 2022
Modified Files: xsrc/external/mit/xf86-video-wsfb/dist/src: wsfb_driver.c Log Message: For WSDISPLAY_TYPE_AMIGACC, no need to check ifdef __NetBSD__. Note that similar block for WSDISPLAY_TYPE_LUNA should be guarded by ``#if defined(__NetBSD__) && defined(WSDISPLAY_TYPE_LUNA)'' on the other hand; this is intended to distinguish NetBSD and OpenBSD. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 \ xsrc/external/mit/xf86-video-wsfb/dist/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: xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c diff -u xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c:1.39 xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c:1.40 --- xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c:1.39 Thu Jul 7 11:42:27 2022 +++ xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c Thu Jul 7 11:48:16 2022 @@ -577,7 +577,7 @@ WsfbPreInit(ScrnInfoPtr pScrn, int flags bitsperpixel = 1; } #endif -#if defined(__NetBSD__) && defined(WSDISPLAY_TYPE_AMIGACC) +#ifdef WSDISPLAY_TYPE_AMIGACC if (wstype == WSDISPLAY_TYPE_AMIGACC) { /* * Video memory is organized in bitplanes.