=> Bootstrap dependency digest>=20010302: found digest-20160304
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for xf86-video-savage-2.3.9
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in src
--- savage_accel.lo ---
--- savage_xaa.lo ---
--- savage_exa.lo ---
--- savage_cursor.lo ---
--- savage_accel.lo ---
  CC       savage_accel.lo
--- savage_xaa.lo ---
  CC       savage_xaa.lo
--- savage_exa.lo ---
  CC       savage_exa.lo
--- savage_cursor.lo ---
  CC       savage_cursor.lo
--- savage_exa.lo ---
savage_exa.c: In function 'SavageDownloadFromScreen':
savage_exa.c:570:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     unsigned char *src = (unsigned char *) exaGetPixmapFirstPixel(pSrc);
                          ^
--- savage_dga.lo ---
  CC       savage_dga.lo
--- savage_driver.lo ---
  CC       savage_driver.lo
--- savage_i2c.lo ---
  CC       savage_i2c.lo
--- savage_shadow.lo ---
  CC       savage_shadow.lo
--- savage_streams.lo ---
  CC       savage_streams.lo
--- savage_vbe.lo ---
  CC       savage_vbe.lo
--- savage_video.lo ---
  CC       savage_video.lo
--- savage_hwmc.lo ---
  CC       savage_hwmc.lo
--- savage_dri.lo ---
  CC       savage_dri.lo
--- savage_hwmc.lo ---
savage_hwmc.c: In function 'SAVAGEInitMC':
savage_hwmc.c:187:3: error: unknown type name 'DRIInfoPtr'
   DRIInfoPtr pDRIInfo = pSAVAGE->pDRIInfo;
   ^
savage_hwmc.c:187:32: error: 'struct _Savage' has no member named 'pDRIInfo'
   DRIInfoPtr pDRIInfo = pSAVAGE->pDRIInfo;
                                ^
savage_hwmc.c:188:55: error: invalid type argument of '->' (have 'int')
   SAVAGEDRIPtr pSAVAGEDriPriv = (SAVAGEDRIPtr)pDRIInfo->devPrivate;
                                                       ^
savage_hwmc.c:194:9: error: 'struct _Savage' has no member named 'surfaceAllocation'
  pSAVAGE->surfaceAllocation[i] = 0;
         ^
savage_hwmc.c:197:13: error: 'struct _Savage' has no member named 'hwmcSize'
   if(pSAVAGE->hwmcSize == 0)
             ^
savage_hwmc.c:204:19: error: 'struct _Savage' has no member named 'hwmcOffset'
   offset = pSAVAGE->hwmcOffset + pSAVAGE->FbRegion.base;
                   ^
savage_hwmc.c:206:3: warning: implicit declaration of function 'drmAddMap' [-Wimplicit-function-declaration]
   if(drmAddMap(pSAVAGE->drmFD, offset, pSAVAGE->hwmcSize,
   ^
savage_hwmc.c:206:23: error: 'struct _Savage' has no member named 'drmFD'
   if(drmAddMap(pSAVAGE->drmFD, offset, pSAVAGE->hwmcSize,
                       ^
savage_hwmc.c:206:47: error: 'struct _Savage' has no member named 'hwmcSize'
   if(drmAddMap(pSAVAGE->drmFD, offset, pSAVAGE->hwmcSize,
                                               ^
savage_hwmc.c:207:16: error: 'DRM_FRAME_BUFFER' undeclared (first use in this function)
                DRM_FRAME_BUFFER, 0, &pSAVAGEDriPriv->xvmcSurfHandle) < 0)
                ^
savage_hwmc.c:207:16: note: each undeclared identifier is reported only once for each function it appears in
savage_hwmc.c: In function 'SAVAGEXvMCCreateContext':
savage_hwmc.c:236:3: error: unknown type name 'DRIInfoPtr'
   DRIInfoPtr pDRIInfo = pSAVAGE->pDRIInfo;
   ^
savage_hwmc.c:236:32: error: 'struct _Savage' has no member named 'pDRIInfo'
   DRIInfoPtr pDRIInfo = pSAVAGE->pDRIInfo;
                                ^
savage_hwmc.c:237:55: error: invalid type argument of '->' (have 'int')
   SAVAGEDRIPtr pSAVAGEDriPriv = (SAVAGEDRIPtr)pDRIInfo->devPrivate;
                                                       ^
savage_hwmc.c:238:3: error: unknown type name 'SAVAGEDRIServerPrivatePtr'
   SAVAGEDRIServerPrivatePtr pSAVAGEDRIServer = pSAVAGE->DRIServerInfo;
   ^
savage_hwmc.c:238:55: error: 'struct _Savage' has no member named 'DRIServerInfo'
   SAVAGEDRIServerPrivatePtr pSAVAGEDRIServer = pSAVAGE->DRIServerInfo;
                                                       ^
savage_hwmc.c:243:14: error: 'struct _Savage' has no member named 'directRenderingEnabled'
   if(!pSAVAGE->directRenderingEnabled) {
              ^
savage_hwmc.c:250:13: error: 'struct _Savage' has no member named 'xvmcContext'
   if(pSAVAGE->xvmcContext) {
             ^
savage_hwmc.c:266:3: warning: implicit declaration of function 'drmCreateContext' [-Wimplicit-function-declaration]
   if(drmCreateContext(pSAVAGE->drmFD, &(contextRec->drmcontext) ) < 0) {
   ^
savage_hwmc.c:266:30: error: 'struct _Savage' has no member named 'drmFD'
   if(drmCreateContext(pSAVAGE->drmFD, &(contextRec->drmcontext) ) < 0) {
                              ^
savage_hwmc.c:273:3: warning: implicit declaration of function 'drmAuthMagic' [-Wimplicit-function-declaration]
   drmAuthMagic(pSAVAGE->drmFD, pContext->flags);
   ^
savage_hwmc.c:273:23: error: 'struct _Savage' has no member named 'drmFD'
   drmAuthMagic(pSAVAGE->drmFD, pContext->flags);
                       ^
savage_hwmc.c:275:10: error: 'struct _Savage' has no member named 'xvmcContext'
   pSAVAGE->xvmcContext = contextRec->drmcontext;
          ^
savage_hwmc.c:278:44: error: invalid type argument of '->' (have 'int')
   contextRec->MMIOHandle = pSAVAGEDRIServer->registers.handle;
                                            ^
savage_hwmc.c:279:42: error: invalid type argument of '->' (have 'int')
   contextRec->MMIOSize = pSAVAGEDRIServer->registers.size;
                                          ^
savage_hwmc.c:281:48: error: invalid type argument of '->' (have 'int')
   contextRec->DCTBlockHandle = pSAVAGEDRIServer->agpTextures.handle;
                                                ^
savage_hwmc.c:282:48: error: invalid type argument of '->' (have 'int')
   contextRec->DCTBlockOffset = pSAVAGEDRIServer->agpTextures.offset;
                                                ^
savage_hwmc.c:283:46: error: invalid type argument of '->' (have 'int')
   contextRec->DCTBlockSize = pSAVAGEDRIServer->agpTextures.size;
                                              ^
savage_hwmc.c:286:38: error: 'struct _Savage' has no member named 'hwmcOffset'
   contextRec->SurfaceOffset = pSAVAGE->hwmcOffset;
                                      ^
savage_hwmc.c:287:36: error: 'struct _Savage' has no member named 'hwmcSize'
   contextRec->SurfaceSize = pSAVAGE->hwmcSize;
                                    ^
savage_hwmc.c:299:45: error: invalid type argument of '->' (have 'int')
   strncpy (contextRec->busIdString, pDRIInfo->busIdString, 9);
                                             ^
savage_hwmc.c: In function 'SAVAGEXvMCCreateSurface':
savage_hwmc.c:325:18: error: 'struct _Savage' has no member named 'surfaceAllocation'
       if(!pSAVAGE->surfaceAllocation[i]) {
                  ^
savage_hwmc.c:326:17: error: 'struct _Savage' has no member named 'surfaceAllocation'
          pSAVAGE->surfaceAllocation[i] = pSurf->surface_id;
                 ^
savage_hwmc.c: In function 'SAVAGEXvMCCreateSubpicture':
savage_hwmc.c:355:18: error: 'struct _Savage' has no member named 'surfaceAllocation'
       if(!pSAVAGE->surfaceAllocation[i]) {
                  ^
savage_hwmc.c:356:18: error: 'struct _Savage' has no member named 'surfaceAllocation'
           pSAVAGE->surfaceAllocation[i] = pSubp->subpicture_id;
                  ^
savage_hwmc.c: In function 'SAVAGEXvMCDestroyContext':
savage_hwmc.c:370:3: warning: implicit declaration of function 'drmDestroyContext' [-Wimplicit-function-declaration]
   drmDestroyContext(pSAVAGE->drmFD,pSAVAGE->xvmcContext);
   ^
savage_hwmc.c:370:28: error: 'struct _Savage' has no member named 'drmFD'
   drmDestroyContext(pSAVAGE->drmFD,pSAVAGE->xvmcContext);
                            ^
savage_hwmc.c:370:43: error: 'struct _Savage' has no member named 'xvmcContext'
   drmDestroyContext(pSAVAGE->drmFD,pSAVAGE->xvmcContext);
                                           ^
savage_hwmc.c:371:10: error: 'struct _Savage' has no member named 'xvmcContext'
   pSAVAGE->xvmcContext = 0;
          ^
savage_hwmc.c: In function 'SAVAGEXvMCDestroySurface':
savage_hwmc.c:380:15: error: 'struct _Savage' has no member named 'surfaceAllocation'
     if(pSAVAGE->surfaceAllocation[i] == pSurf->surface_id) {
               ^
savage_hwmc.c:381:14: error: 'struct _Savage' has no member named 'surfaceAllocation'
       pSAVAGE->surfaceAllocation[i] = 0;
              ^
savage_hwmc.c: In function 'SAVAGEXvMCDestroySubpicture':
savage_hwmc.c:394:15: error: 'struct _Savage' has no member named 'surfaceAllocation'
     if(pSAVAGE->surfaceAllocation[i] == pSubp->subpicture_id) {
               ^
savage_hwmc.c:395:14: error: 'struct _Savage' has no member named 'surfaceAllocation'
       pSAVAGE->surfaceAllocation[i] = 0;
              ^
*** [savage_hwmc.lo] Error code 1

make[2]: stopped in /data/scratch/x11/xf86-video-savage/work/xf86-video-savage-2.3.9/src
--- savage_dri.lo ---
In file included from savage_dri.c:50:0:
savage_common.h:83:2: error: unknown type name 'drm_clip_rect_t'
  drm_clip_rect_t *box_addr;
  ^
savage_dri.c:54:19: fatal error: sarea.h: No such file or directory
 #include "sarea.h"
                   ^
compilation terminated.
*** [savage_dri.lo] Error code 1

make[2]: stopped in /data/scratch/x11/xf86-video-savage/work/xf86-video-savage-2.3.9/src
2 errors

make[2]: stopped in /data/scratch/x11/xf86-video-savage/work/xf86-video-savage-2.3.9/src
*** [all-recursive] Error code 1

make[1]: stopped in /data/scratch/x11/xf86-video-savage/work/xf86-video-savage-2.3.9
1 error

make[1]: stopped in /data/scratch/x11/xf86-video-savage/work/xf86-video-savage-2.3.9
*** [all] Error code 2

make: stopped in /data/scratch/x11/xf86-video-savage/work/xf86-video-savage-2.3.9
1 error

make: stopped in /data/scratch/x11/xf86-video-savage/work/xf86-video-savage-2.3.9
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc-current/x11/xf86-video-savage
*** Error code 1

Stop.
make: stopped in /data/pkgsrc-current/x11/xf86-video-savage