Skip to content

Commit

Permalink
graphics/rawstudio: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 5, 2023
1 parent abe6905 commit e9d1560
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions graphics/rawstudio/Makefile
Expand Up @@ -42,6 +42,12 @@ OPTIONS_SUB= yes

NLS_USES= gettext

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

post-patch:
@${REINPLACE_CMD} -e '/^pkg_modules=/s,libssl,gthread-2.0,' \
${WRKSRC}/configure
Expand Down

0 comments on commit e9d1560

Please sign in to comment.