Page MenuHomeFreeBSD

D38669.id117567.diff
No OneTemporary

D38669.id117567.diff

Index: x11-wm/fvwm3/Makefile
===================================================================
--- x11-wm/fvwm3/Makefile
+++ x11-wm/fvwm3/Makefile
@@ -73,6 +73,15 @@
XPM_USE= xorg=xpm
XPM_CONFIGURE_OFF= --with-xpm-library=no
+.include <bsd.port.options.mk>
+
+# Clang 15 promoted some warnings to errors. The upstream configure script
+# expects one of them to be only a warning. Work around this by explicitly
+# disabling the error here. FIXME: Check whether still needed on upgrades.
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CONFIGURE_ARGS+= CFLAGS="${CFLAGS} -Wno-error=int-conversion"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,/etc/,${LOCALBASE}/etc/,g' \
${WRKSRC}/bin/fvwm-menu-desktop.in

File Metadata

Mime Type
text/plain
Expires
Fri, Aug 21, 1:57 AM (7 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37017781
Default Alt Text
D38669.id117567.diff (724 B)

Event Timeline