forked from Lainports/freebsd-ports
Unfortunately, this was missed with the ilmbase update, and
causes yet another PORTREVISION bump on all dependent ports.
repeating ilmbase's commit log here:
"Patch release with various bug/sanitizer/security fixes, primarily related to
reading corrupted input files."
<https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.4>
Cherry-pick upstream commit for GCC 11 compatibility:
<a40a6151c4>
Since this changes the patchlevel of the solibs, bump PORTREVISION of dependent
ports just to be sure.
(graphics/py-openshadinglanguage is unaltered and .includes the revision bump
from .../openshadinglanguage.)
MFH: 2021Q1 (this requires discussion by ports-secteam@!)
Reported by: VVD (IRC, #bsdports)
30 lines
681 B
Makefile
30 lines
681 B
Makefile
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= exrtools
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 23
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://scanline.ca/exrtools/ \
|
|
LOCAL/ehaupt
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Utilities for manipulating with HDR images in OpenEXR format
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libImath.so:graphics/ilmbase \
|
|
libpng.so:graphics/png \
|
|
libIlmImf.so:graphics/openexr
|
|
|
|
USES= compiler:c++11-lang gmake jpeg localbase:ldflags pkgconfig
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|<values\.h>|<float.h>|' \
|
|
${WRKSRC}/src/exrnormalize.c \
|
|
${WRKSRC}/src/exrpptm.c \
|
|
${WRKSRC}/src/exrstats.c
|
|
|
|
.include <bsd.port.mk>
|