View | Details | Raw Unified | Return to bug 266599 | Differences between
and this patch

Collapse All | Expand All

(-)b/graphics/png/Makefile (-16 / +12 lines)
Lines 1-11 Link Here
1
PORTNAME=	png
1
PORTNAME=	png
2
PORTVERSION=	1.6.37
2
DISTVERSION=	1.6.38
3
PORTREVISION=	1
4
CATEGORIES=	graphics
3
CATEGORIES=	graphics
5
MASTER_SITES=	SF/lib${PORTNAME}/lib${PORTNAME}16/${PORTVERSION} \
4
MASTER_SITES=	SF/lib${PORTNAME}/lib${PORTNAME}16/${DISTVERSION}/
6
		ftp://ftp.simplesystems.org/pub/lib${PORTNAME}/${PORTNAME}/src/lib${PORTNAME}16/
5
PATCH_SITES=	SF/lib${PORTNAME}-apng/lib${PORTNAME}16/${DISTVERSION}/
7
PATCH_SITES=	SF/apng/lib${PORTNAME}/lib${PORTNAME}16/
6
DISTNAME=	lib${PORTNAME}-${DISTVERSION}
8
DISTNAME=	lib${PORTNAME}-${PORTVERSION}
9
7
10
MAINTAINER=	desktop@FreeBSD.org
8
MAINTAINER=	desktop@FreeBSD.org
11
COMMENT=	Library for manipulating PNG images
9
COMMENT=	Library for manipulating PNG images
Lines 17-39 LICENSE_NAME= libpng License Link Here
17
LICENSE_FILE=	${WRKSRC}/LICENSE
15
LICENSE_FILE=	${WRKSRC}/LICENSE
18
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
16
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
19
17
20
USE_CSTD=	gnu89
18
USES=		cmake cpe pathfix tar:xz
21
USES=		cpe libtool tar:xz
22
CPE_PRODUCT=	libpng
19
CPE_PRODUCT=	libpng
23
GNU_CONFIGURE=	yes
24
CONFIGURE_ARGS=	--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
25
INSTALL_TARGET=	install-strip
26
TEST_TARGET=	check-TESTS
27
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
28
21
29
OPTIONS_DEFINE=	APNG SIMD
22
TEST_TARGET=	test
23
24
OPTIONS_DEFINE=	APNG SIMD TEST
30
OPTIONS_DEFAULT=APNG
25
OPTIONS_DEFAULT=APNG
31
OPTIONS_DEFAULT_aarch64=	SIMD
26
OPTIONS_DEFAULT_aarch64=	SIMD
32
OPTIONS_DEFAULT_amd64=	SIMD
27
OPTIONS_DEFAULT_amd64=	SIMD
33
OPTIONS_DEFAULT_powerpc64le=	SIMD
28
OPTIONS_DEFAULT_powerpc64le=	SIMD
29
34
APNG_DESC=Enable Animated PNG support
30
APNG_DESC=Enable Animated PNG support
35
SIMD_CONFIGURE_OFF=	--enable-hardware-optimizations=no
31
SIMD_CMAKE_BOOL=	PNG_HARDWARE_OPTIMIZATIONS
36
SIMD_CONFIGURE_ON=	--enable-hardware-optimizations=yes
32
TEST_CMAKE_BOOL=	PNG_TESTS
37
33
38
.include <bsd.port.options.mk>
34
.include <bsd.port.options.mk>
39
35
Lines 43-49 CFLAGS+= -maltivec -mvsx Link Here
43
.endif
39
.endif
44
40
45
.if ${PORT_OPTIONS:MAPNG} || make(makesum)
41
.if ${PORT_OPTIONS:MAPNG} || make(makesum)
46
PATCHFILES=	${DISTNAME}-apng.patch.gz
42
PATCHFILES=	${DISTNAME}-apng.patch.gz:-p1
47
.endif
43
.endif
48
44
49
.include <bsd.port.mk>
45
.include <bsd.port.mk>
(-)b/graphics/png/distinfo (-5 / +5 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1556098534
1
TIMESTAMP = 1664110848
2
SHA256 (libpng-1.6.37.tar.xz) = 505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca
2
SHA256 (libpng-1.6.38.tar.xz) = b3683e8b8111ebf6f1ac004ebb6b0c975cd310ec469d98364388e9cedbfa68be
3
SIZE (libpng-1.6.37.tar.xz) = 1012272
3
SIZE (libpng-1.6.38.tar.xz) = 1023168
4
SHA256 (libpng-1.6.37-apng.patch.gz) = 10d9e0cb60e2b387a79b355eb7527c0bee2ed8cbd12cf04417cabc4d6976683c
4
SHA256 (libpng-1.6.38-apng.patch.gz) = 8c0363977c44ee1c7d5d42cc02d82b83eeb2d49ec4f7c2f4d475a80c8311989f
5
SIZE (libpng-1.6.37-apng.patch.gz) = 10334
5
SIZE (libpng-1.6.38-apng.patch.gz) = 10766
(-)a/graphics/png/files/patch-configure (-11 lines)
Removed Link Here
1
--- configure.orig	2021-01-21 14:33:24 UTC
2
+++ configure
3
@@ -13533,7 +13533,7 @@ $as_echo "#define PNG_ARM_NEON_OPT 0" >>confdefs.h
4
 $as_echo "#define PNG_MIPS_MSA_OPT 0" >>confdefs.h
5
 
6
               ;;
7
-            i?86|x86_64)
8
+            i?86|x86_64|amd64)
9
               enable_intel_sse=yes
10
 
11
 $as_echo "#define PNG_INTEL_SSE_OPT 1" >>confdefs.h
(-)b/graphics/png/pkg-plist (-4 / +6 lines)
Lines 10-21 include/pngconf.h Link Here
10
include/pnglibconf.h
10
include/pnglibconf.h
11
lib/libpng.a
11
lib/libpng.a
12
lib/libpng.so
12
lib/libpng.so
13
lib/libpng/libpng16-%%CMAKE_BUILD_TYPE%%.cmake
14
lib/libpng/libpng16.cmake
13
lib/libpng16.a
15
lib/libpng16.a
14
lib/libpng16.so
16
lib/libpng16.so
15
lib/libpng16.so.16
17
lib/libpng16.so.16
16
lib/libpng16.so.16.37.0
18
lib/libpng16.so.16.38.0
17
libdata/pkgconfig/libpng.pc
19
libdata/pkgconfig/libpng.pc
18
libdata/pkgconfig/libpng16.pc
20
libdata/pkgconfig/libpng16.pc
19
man/man3/libpng.3.gz
21
share/man/man3/libpng.3.gz
20
man/man3/libpngpf.3.gz
22
share/man/man3/libpngpf.3.gz
21
man/man5/png.5.gz
23
share/man/man5/png.5.gz

Return to bug 266599