=> 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-mga-1.6.5
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in src
--- mga_bios.lo ---
--- mga_dac3026.lo ---
--- mga_dacG.lo ---
--- mga_dga.lo ---
--- mga_bios.lo ---
  CC       mga_bios.lo
--- mga_dac3026.lo ---
  CC       mga_dac3026.lo
--- mga_dacG.lo ---
  CC       mga_dacG.lo
--- mga_dga.lo ---
  CC       mga_dga.lo
--- mga_dacG.lo ---
mga_dacG.c: In function 'mgag_create_i2c_bus':
mga_dacG.c:2127:18: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
  I2CPtr->BusName = name;
                  ^
mga_dacG.c:2132:28: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
  I2CPtr->DriverPrivate.ptr = & i2c_priv[bus_index];
                            ^
--- mga_dh.lo ---
  CC       mga_dh.lo
--- mga_driver.lo ---
  CC       mga_driver.lo
mga_driver.c: In function 'MGAPreInit':
mga_driver.c:1936:12: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
  char *s = xf86GetOptValString(pMga->Options, OPTION_ACCELMETHOD);
            ^
mga_driver.c: In function 'MGAMapMem':
mga_driver.c:2647:12: warning: passing argument 5 of 'pci_device_map_range' from incompatible pointer type [enabled by default]
            &pMga->IOBase);
            ^
In file included from /data/scratch/x11/xf86-video-mga/work/.buildlink/include/xorg/xf86.h:105:0,
                 from mga_driver.c:52:
/data/scratch/x11/xf86-video-mga/work/.buildlink/include/pciaccess.h:91:5: note: expected 'void **' but argument is of type 'unsigned char **'
 int pci_device_map_range(struct pci_device *dev, pciaddr_t base,
     ^
mga_driver.c: In function 'MGACountRam':
mga_driver.c:1123:15: warning: ignoring return value of 'MGAMapMem', declared with attribute warn_unused_result [-Wunused-result]
      MGAMapMem(pScrn);
               ^
mga_driver.c:1163:26: warning: ignoring return value of 'MGAMapMem', declared with attribute warn_unused_result [-Wunused-result]
                 MGAMapMem(pScrn);
                          ^
--- mga_g450pll.lo ---
  CC       mga_g450pll.lo
--- mga_driver.lo ---
mga_driver.c: In function 'MGASoftReset':
mga_driver.c:1002:11: warning: ignoring return value of 'MGAMapMem', declared with attribute warn_unused_result [-Wunused-result]
  MGAMapMem(pScrn);
           ^
--- mga_halmod.lo ---
  CC       mga_halmod.lo
--- mga_hwcurs.lo ---
  CC       mga_hwcurs.lo
--- mga_merge.lo ---
  CC       mga_merge.lo
mga_merge.c: In function 'GenerateModeList':
mga_merge.c:200:25: warning: passing argument 1 of 'GetModeFromName' discards 'const' qualifier from pointer target type [enabled by default]
                         mode2 = GetModeFromName(mode1->name,j);
                         ^
mga_merge.c:120:1: note: expected 'char *' but argument is of type 'const char *'
 GetModeFromName(char* str, DisplayModePtr i)
 ^
mga_merge.c: In function 'MGAPreInitMergedFB':
mga_merge.c:275:16: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
         if ((s = xf86GetOptValString(pMga1->Options, OPTION_HSYNC2))) { 
                ^
mga_merge.c:278:16: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
         if ((s = xf86GetOptValString(pMga1->Options, OPTION_VREFRESH2))) { 
                ^
mga_merge.c:599:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
     if ((s = xf86GetOptValString(pMga1->Options, OPTION_MONITOR2POS))) {
            ^
mga_merge.c:630:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
     if ((s = xf86GetOptValString(pMga1->Options, OPTION_METAMODES))) {
            ^
--- mga_shadow.lo ---
  CC       mga_shadow.lo
--- mga_vga.lo ---
  CC       mga_vga.lo
--- mga_video.lo ---
  CC       mga_video.lo
--- mga_storm.lo ---
  CC       mga_storm.lo
--- mga_dri.lo ---
  CC       mga_dri.lo
--- mga_exa.lo ---
  CC       mga_exa.lo
--- mga_dri.lo ---
mga_dri.c:52:19: fatal error: sarea.h: No such file or directory
 #include "sarea.h"
                   ^
compilation terminated.
*** [mga_dri.lo] Error code 1

make[2]: stopped in /data/scratch/x11/xf86-video-mga/work/xf86-video-mga-1.6.5/src
1 error

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

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

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

make: stopped in /data/scratch/x11/xf86-video-mga/work/xf86-video-mga-1.6.5
1 error

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

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

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