diff --git a/graphics/libpano13/Makefile b/graphics/libpano13/Makefile index e994421d3cf7..b26b160132fe 100644 --- a/graphics/libpano13/Makefile +++ b/graphics/libpano13/Makefile @@ -1,36 +1,36 @@ PORTNAME= libpano13 DISTVERSION= 2.9.22 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= graphics java MASTER_SITES= SF/panotools/${PORTNAME}/${PORTNAME}-${DISTVERSION} MAINTAINER= fuz@FreeBSD.org COMMENT= Cross-platform library behind Panorama Tools and other photo stitchers WWW= https://panotools.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake:testing cpe jpeg pathfix perl5 pkgconfig CPE_VENDOR= ${PORTNAME}_project USE_LDCONFIG= yes USE_PERL5= build # for pod2man WRKSRC= ${WRKDIR}/libpano13-${DISTVERSION} OPTIONS_DEFINE= DOCS JAVA SUITESPARSE OPTIONS_DEFAULT= SUITESPARSE SUITESPARSE_DESC= Use math/suitesparse for faster operation OPTIONS_SUB= yes JAVA_USES= java JAVA_CMAKE_BOOL= SUPPORT_JAVA_PROGRAMS JAVA_VARS= JAVA_OS=native SUITESPARSE_LIB_DEPENDS= \ libcholmod.so:math/suitesparse-cholmod \ libspqr.so:math/suitesparse-spqr SUITESPARSE_CMAKE_BOOL= USE_SPARSE_LEVMAR .include diff --git a/graphics/libpano13/files/patch-filter.h b/graphics/libpano13/files/patch-filter.h new file mode 100644 index 000000000000..c06e64103687 --- /dev/null +++ b/graphics/libpano13/files/patch-filter.h @@ -0,0 +1,24 @@ +--- filter.h.orig 2025-10-04 23:10:13 UTC ++++ filter.h +@@ -511,8 +511,8 @@ typedef void (*intFunc)( unsigned char *dst, unsigne + // Interpolating functions for resampler + + typedef void (*intFunc)( unsigned char *dst, unsigned char **rgb, +- register double Dx, +- register double Dy, ++ double Dx, ++ double Dy, + int color, int SamplesPerPixel); + + // Filter function type for anti aliasing Filter +@@ -747,8 +747,8 @@ PANO13_IMPEX int getVRPanoOptions ( VRPanoOptions *v, + PANO13_IMPEX int readAdjust ( aPrefs *p, fullPath* sfile, int insert, sPrefs *sP ); + PANO13_IMPEX void readControlPoints (char* script, controlPoint *c ); + PANO13_IMPEX int getVRPanoOptions ( VRPanoOptions *v, char *line ); +-PANO13_IMPEX void nextWord ( register char* word, char** ch ); +-PANO13_IMPEX void nextLine ( register char* line, char** ch ); ++PANO13_IMPEX void nextWord ( char* word, char** ch ); ++PANO13_IMPEX void nextLine ( char* line, char** ch ); + PANO13_IMPEX int numLines ( char* script, char first ); + + PANO13_IMPEX char *panoParserFindOLine(char *script, int index);