Index | Thread | Search

From:
j@bitminer.ca
Subject:
patch graphics/libraw to disable OpenMP
To:
ports@openbsd.org
Date:
Tue, 24 Dec 2024 11:40:49 -0800

Download raw body.

Thread
  • j@bitminer.ca:

    patch graphics/libraw to disable OpenMP

This patch disables OpenMP, avoiding issues
with the new llvm-openmp.


Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/libraw/Makefile,v
diff -u -p -r1.54 Makefile
--- Makefile	25 Oct 2024 11:47:16 -0000	1.54
+++ Makefile	24 Dec 2024 19:09:47 -0000
@@ -3,7 +3,7 @@ COMMENT =		library for reading RAW files
 DISTNAME =		LibRaw-0.21.3
 PKGNAME =		${DISTNAME:L}
 CATEGORIES =		graphics
-REVISION =		1
+REVISION =		2
 
 SHARED_LIBS +=  raw                  5.0 # 23.0
 SHARED_LIBS +=  raw_r                5.0 # 23.0
@@ -31,6 +31,7 @@ AUTOCONF_VERSION =	2.69
 AUTOMAKE_VERSION =	1.15
 
 CONFIGURE_STYLE =	autoreconf
+CONFIGURE_ARGS =       --disable-openmp
 
 CONFIGURE_ENV =		CPPFLAGS="-I${LOCALBASE}/include" \
 			LDFLAGS="-L${LOCALBASE}/lib"