MesaLib needs glproto>=1.4.11 per
http://nyftp.netbsd.org/pub/pkgsrc/packages/reports/2013Q2/NetBSD-5.1-x86_64/20130704.0747/MesaLib-7.11.2nb2/configure.log
Backout previous.
Onno van der Linden reports it is not needed any longer with
x264-devel-20130703.
Fix build with libtasn1-3.1.

Add comments to patches I modified.
Install allegro.m4 file so packages using autoconf can find it.
Bump PKGREVISION.
Use allegro version that provides allegro.m4, so autostuff works correctly.
Updated devel/allegro to 4.4.2nb2
Fix for lua-5.2. Bump PKGREVISION.
Fix for lua-5.2. Bump PKGREVISION for PLIST change.
Update to 294. Add desktopdb.mk.
Changes:
Experimental support for sixel graphics, a fix for a regression in
selection, and minor improvements to performance and configurability.
Updated x11/xterm to 294
Update to 2.5:

User defined parametric curves can now be saved in ICC profiles.
RGB profiles using same tone curves for several channels are storing now only one copy of the curve (saves space)
Fixed a multithead bug on optimization (StageDEF)
Fixed some 64 bit warnings on size_t to uint32 conversions
update black point detection algorithm to reflect ICC changes
Added new cmsPlugInTHR() and fixed some race conditions (thanks to Artifex)
Added error descriptions on cmsSmoothToneCurve
Fixed a bug on  big endian platforms not supporting uint64 or long long.
Fixed some bugs on floating point curves.
Several improvements in cgats parser.
Several minor issues found by cppcheck
Fixed devicelink generation for 8 bits
Added a reference for Mac MLU tag
Added a way to read the profile creator from header
Added identity curves support for write V2 LUT
More changes from Artifex
Added TIFF Lab16 handling on tifficc
Added some fixes from XhmikosR
Fixed a bug in parametric curves
Remove spurious tabs added by git merge of pull request
Added support for VS2012
Added a simple project for cppcheck
Rendering intent used when creating the transform is now propagated to profile header in cmsTransform2Devicelink. This is because 7.2.15 in spec 4.3
Transform2Devicelink now keeps white point when guessing deviceclass is enabled
Added some checks for non-happy path, mostly failing mallocs
Updated graphics/lcms2 to 2.5
Update to 6.8.6-3:

2013-07-01  6.8.6-3 Cristy  <quetzlzacatenango@image...>
  * New version 6.8.6-3, SVN revision 12579.

2013-06-26  6.8.6-3 Cristy  <quetzlzacatenango@image...>
  * Improve HCL to RGB roundtrip (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=22384).
  * Prefer external log configuration file to built-in (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23640).
  * Do not log in the IsLinkedListEmpty() method to prevent overflow (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23640).
  * Fix bug loading TGA image with 32-bit palette (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=17889).
  * Color profiles are no longer corrupted for the JPEG format (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23651).
  * Repair problem with -emboss / -equalize problem (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23643).

2013-06-24  6.8.6-2 Cristy  <quetzlzacatenango@image...>
  * New version 6.8.6-2, SVN revision 12561.

2013-06-21  6.8.6-2 Cristy  <quetzlzacatenango@image...>
  * Fix memory corruption in the MorphologyApply() method.

2013-06-20  6.8.6.2 Glenn Randers-Pehrson <glennrp@image...>
  * Quiet two warnings about uninitialized variables in coders/png.c

2013-06-20  6.8.6-1 Cristy  <quetzlzacatenango@image...>
  * New version 6.8.6-1, SVN revision 12509.

2013-06-16  6.8.6-1 Cristy  <quetzlzacatenango@image...>
  * Don't decompand RGB for the -modulate option.
  * Improve LCHab and LCHuv roundtrip to / from sRGB (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=23596).

2013-06-16  6.8.6-0 Cristy  <quetzlzacatenango@image...>
  * New version 6.8.6-0, SVN revision 12475.

2013-06-10  6.8.6-0 Cristy  <quetzlzacatenango@image...>
  * Clone image->intensity in CloneImageProperties() (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23569).
  * Split test suite into smaller tests (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23577).
  * Undercolor rectangle was off by one pixel (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23574).
  * Don't msync() for a read-only memory-mapped mode (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23531).
  * BlurChannelImage() no longer faults for certain CMYK images (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23581).
  * Reduce memory requirements for large BMP images.

2013-06-05  6.8.5-10 Cristy  <quetzlzacatenango@image...>
  * New version 6.8.5-10, SVN revision 12419.

2013-06-02  6.8.5-10 Cristy  <quetzlzacatenango@image...>
  * Improve caption formatting (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23522).

2013-06-01  6.8.5-9 Cristy  <quetzlzacatenango@image...>
  * New version 6.8.5-9, SVN revision 12401.

2013-05-30  6.8.5-9 Cristy  <quetzlzacatenango@image...>
  * Caption no longer clips long words (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23504).
  * The lightness intensity is (min(R',G',B')+max(R',G',B'))/2.0 (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23517).
Updated graphics/ImageMagick to 6.8.6.3
Reset PKGREVISION after base package update.
Updated graphics/p5-PerlMagick to 6.8.6.3
Update to 2.0008

Upstream changes:
2.0008 2013-07-06 00:09:43-0700
    [BUG FIXES]
    - Fix a chache issue that UTF8 flags were not turned on
      as expected (#82)
    - Fix Metakolon doc (#83)

2.0007 2013-06-21 13:16:16-0700
    [DOCUMENTS]
    - Add doc about chomping newlines (<:- ... -:>)

    [NEW FEATURES]
    - Add pre_process_handler to pre-process template content (bluescreen)

2.0006 2013-06-02 22:58:27
    [BUG FIXES]
    - Fix an issue that the state of VM broke on exception
      reported by nihen

2.0005 2013-06-02 12:23:15
    [BUG FIXES]
    - Fix a Multiplexed WRAPPER issue reportedy by @kawamuray (#79)
      Those who use WRAPPER, template cascading, or anonymous functions
      (lambdas) are strongly recommended to upgrade Xslate.

2.0004 2013-05-29 20:27:07
    [TEST FIXES]
    - Template string must be bytes (#78)

2.0003 2013-05-10 12:59:11
    [BUG FIXES]
    - Fix a crash on compiling templates (#77)

2.0002 2013-04-26 12:51:47
    [BUG FIXES]
    - Support perl-blead (5.17.11)
Updated textproc/p5-Text-Xslate to 2.0008
Update to 1.81

Upstream changes:
1.81            Fri  5 Jul 10:13:36 IDT 2013
    - Fix a typo reported by dsteinbrunner:
    - https://rt.cpan.org/Ticket/Display.html?id=86689

1.80            Wed 23 Jan 07:53:57 IST 2013
    - Bump the minimum version of libxslt2 to 1.1.28.
    - due to failures such as http://www.cpantesters.org/cpan/report/6f5029ee-639a-11e2-8465-2a97270fb964

1.79            Mon 26 Nov 12:15:35 IST 2012
    - Die when libxslt is 1.1.27.
    - Due to this bug - https://bugzilla.gnome.org/show_bug.cgi?id=684564
Updated textproc/p5-XML-LibXSLT to 1.81