mtpaint: update to 3.50, fix the build with -fno-common
Changelog: http://mtpaint.sourceforge.net/news.html Upstream brought back `-fcommon', but only for clang11 and gcc10, meanwhile force `-fcommon' for any compiler. OK naddy@
This commit is contained in:
parent
5573731bb6
commit
e30d35d716
@ -1,10 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2019/07/12 20:47:04 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2021/02/02 22:41:40 cwen Exp $
|
||||
|
||||
COMMENT = simple GTK+2 raster painting program
|
||||
|
||||
DISTNAME = mtpaint-3.40
|
||||
DISTNAME = mtpaint-3.50
|
||||
EXTRACT_SUFX = .tar.bz2
|
||||
REVISION = 2
|
||||
|
||||
CATEGORIES = graphics
|
||||
|
||||
@ -16,8 +15,9 @@ PERMIT_PACKAGE = Yes
|
||||
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
|
||||
WANTLIB += Xrandr Xrender atk-1.0 c cairo fontconfig freetype
|
||||
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
|
||||
WANTLIB += gthread-2.0 gtk-x11-2.0 intl jasper jpeg lcms2 m pango-1.0
|
||||
WANTLIB += pangocairo-1.0 pangoft2-1.0 png pthread tiff z
|
||||
WANTLIB += gthread-2.0 gtk-x11-2.0 harfbuzz intl jasper jpeg lcms2
|
||||
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 png pthread
|
||||
WANTLIB += tiff z
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=mtpaint/}
|
||||
|
||||
@ -30,11 +30,15 @@ LIB_DEPENDS = devel/gettext,-runtime \
|
||||
RUN_DEPENDS = devel/desktop-file-utils
|
||||
|
||||
USE_GMAKE = Yes
|
||||
CONFIGURE_STYLE = simple
|
||||
CONFIGURE_ARGS = nogif jpeg jasper staticft tiff lcms \
|
||||
lcms2 intl man thread cflags \
|
||||
--mandir=${TRUEPREFIX}/man
|
||||
CONFIGURE_STYLE = simple
|
||||
CONFIGURE_ARGS = nogif jpeg jasper staticft tiff lcms \
|
||||
lcms2 intl man thread cflags \
|
||||
--mandir=${TRUEPREFIX}/man
|
||||
|
||||
NO_TEST= Yes
|
||||
NO_TEST = Yes
|
||||
|
||||
# Remove after clang update to LLVM11. Meanwhile it avoids false positives with
|
||||
# a patched clang-10 (mtpaint uses that flag only with clang-11 and gcc-10)
|
||||
CFLAGS += -fcommon
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (mtpaint-3.40.tar.bz2) = 7zIdK0BIOce5Cb31KD6yKjf73TW0zJ44DdxABXPXyJA=
|
||||
SIZE (mtpaint-3.40.tar.bz2) = 600857
|
||||
SHA256 (mtpaint-3.50.tar.bz2) = aVzqEMQoqPEi7Vm+7l/6Sdzcuo2IpHkOrzxk/Xxz1qw=
|
||||
SIZE (mtpaint-3.50.tar.bz2) = 800134
|
||||
|
Loading…
x
Reference in New Issue
Block a user