/dns/libidn/

tioning of this expression relies on how integer overflow actually behaves, which is actually undefined in the C++ standard. PR: 209077 Submitted by: dim
During the exp-run in bug 208158, it was found that net/opal gives
errors with libc++ 3.8.0 [1]:

../common/mpi.cxx:135:18: error: call to 'abs' is ambiguous
    distance = ( abs(MPIs[i].width  - desiredWidth ) *
                 ^~~

This is because abs() is being called with unsigned arguments.  Fix
this by casting the arguments to the appropriate signed type.  This
mimics what happens with older libraries where the only version of
abs() was the one in <stdlib.h>, which is prototyped:
	int abs(int)
Correct functioning of this expression relies on how integer overflow
actually behaves, which is actually undefined in the C++ standard.

PR:		209077
Submitted by:	dim
net/opal: Fix build with ffmpeg 3.0.x 2016-05-10T17:50:20+00:00 woodsb02 woodsb02@FreeBSD.org 2016-05-10T17:50:20+00:00 a51b5914d4e25b7e37f8ff76cfbfa414593e0a4e - Add patch to allow opal to build successfully once multimedia/ffmpeg is updated to 3.0.x. Note that multimedia/ffmpeg is currently still on the 2.8.x branch, however this patch is backwards compatible with ffmpeg 2.8.x. PR: 209346 Reported by: antoine (PR207547) Reviewed by: kwm (with gnome hat) Approved by: adamw (mentor) Obtained from: ArchLinux [1] Differential Revision: https://reviews.freebsd.org/D6308 [1] https://git.archlinux.org/svntogit/packages.git/tree/trunk/opal-ffmpeg3.patch?h=packages/opal
- Add patch to allow opal to build successfully once multimedia/ffmpeg
  is updated to 3.0.x. Note that multimedia/ffmpeg is currently still
  on the 2.8.x branch, however this patch is backwards compatible with
  ffmpeg 2.8.x.

PR:		209346
Reported by:	antoine (PR207547)
Reviewed by:	kwm (with gnome hat)
Approved by:	adamw (mentor)
Obtained from:	ArchLinux [1]
Differential Revision:	https://reviews.freebsd.org/D6308

  [1] https://git.archlinux.org/svntogit/packages.git/tree/trunk/opal-ffmpeg3.patch?h=packages/opal