FreeBSD Bugzilla – Attachment 239445 Details for
Bug 268932
graphics/pngquant: enable OpenMP support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1 (apply via "git am")
bug268932.diff (text/plain), 1.56 KB, created by
Jan Beich
on 2023-01-13 15:15:14 UTC
(
hide
)
Description:
v1 (apply via "git am")
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2023-01-13 15:15:14 UTC
Size:
1.56 KB
patch
obsolete
>From db6109e39438aeac0e7b2a106f440de91e68bf10 Mon Sep 17 00:00:00 2001 >From: Jan Beich <jbeich@FreeBSD.org> >Date: Fri, 13 Jan 2023 15:09:14 +0000 >Subject: [PATCH] graphics/pngquant: enable OpenMP support > >PR: 268932 >Inspired by: Alpine, Arch, Fedora, Void >Approved by: ak (maintainer) >--- > graphics/pngquant/Makefile | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > >diff --git a/graphics/pngquant/Makefile b/graphics/pngquant/Makefile >index 6c4a7241b85a..7dec983e7f3e 100644 >--- a/graphics/pngquant/Makefile >+++ b/graphics/pngquant/Makefile >@@ -1,7 +1,7 @@ > PORTNAME= pngquant > PORTVERSION= 2.17.0 > DISTVERSIONSUFFIX= -src >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= graphics > MASTER_SITES= https://pngquant.org/ > >@@ -25,11 +25,12 @@ PORTDOCS= CHANGELOG README.md > PLIST_FILES= bin/pngquant \ > man/man1/pngquant.1.gz > >-OPTIONS_DEFINE= OPTIMIZED_FLAGS LCMS2 DEBUG DOCS >+OPTIONS_DEFINE= OPTIMIZED_FLAGS OPENMP LCMS2 DEBUG DOCS > OPTIONS_DEFINE_i386= SSE > OPTIONS_DEFINE_amd64= SSE > LCMS2_DESC= Support for ICC profiles via LCMS library > OPTIMIZED_FLAGS_DESC= ${OPTIMIZED_CFLAGS_DESC} >+OPTIONS_DEFAULT= OPENMP > OPTIONS_DEFAULT_amd64= SSE > > DEBUG_CONFIGURE_ON= --enable-debug >@@ -37,6 +38,11 @@ DEBUG_CONFIGURE_ON= --enable-debug > LCMS2_CONFIGURE_WITH= lcms2 > LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 > >+OPENMP_CONFIGURE_WITH= openmp >+.if !exists(/usr/include/omp.h) >+OPENMP_USES= compiler:gcc-c++11-lib >+.endif >+ > OPTIMIZED_FLAGS_CFLAGS= -O3 -fstrict-aliasing \ > -ffast-math -funroll-loops -fomit-frame-pointer \ > -fexpensive-optimizations -ffinite-math-only \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 268932
: 239445