pstoedit update
Stuart Henderson <[email protected]> Tue, 28 Jul 2026 12:53:34 +0100
| Newsgroups | gmane.os.openbsd.ports |
|---|---|
| Message-ID | <[email protected]> |
pstoedit build fails on sparc64 (using ports-gcc) since the update to GCC 16. I think this is probably because of this: 'GCC-16 defaults to C++20+, where u8"..." string literals changed from const char* to const char8_t*. This caused autoconf 2.72's C++11 detection test to fail, so it explicitly set -std=gnu++11 in CXX. And that is too old for the code here.' https://github.com/woglu/pstoedit/commit/7a8765ed3cbb851c1a21bbc49b20b443b6122ab1 but I didn't discover that until I'd already done the update, so I thought I'd send it out anyway. Upstream moved to github and don't upload release assets, so unfortunately it gains a BDEP on texlive for pdflatex so that it can build the manual. Such is life. autoconf-archive BDEP probably not actually needed yet, but it looks like it will be needed in the next version, so I think we might as well add it now. ok? does anyone want to test building on sparc64? (if it works, updating to autoconf 2.73 might help fix some other broken things). Index: Makefile =================================================================== RCS file: /cvs/ports/graphics/pstoedit/Makefile,v diff -u -p -r1.44 Makefile --- Makefile 9 Mar 2026 19:56:35 -0000 1.44 +++ Makefile 28 Jul 2026 11:52:30 -0000 @@ -1,35 +1,36 @@ COMMENT= translate PostScript/PDF graphics to other vector formats -DISTNAME= pstoedit-4.02 -REVISION= 0 -SHARED_LIBS= pstoedit 4.0 +GH_ACCOUNT= woglu +GH_PROJECT= pstoedit +GH_TAGNAME= v4.3 +SHARED_LIBS= pstoedit 4.1 CATEGORIES= graphics -HOMEPAGE= http://www.pstoedit.net/ +HOMEPAGE= https://www.pstoedit.com/ MAINTAINER= Steven Mestdagh <[email protected]> # GPLv2+ PERMIT_PACKAGE= Yes -WANTLIB += Lerc expat fontconfig freetype gd iconv jpeg lzma png +WANTLIB += Lerc expat fontconfig freetype iconv jpeg lzma png WANTLIB += sharpyuv tiff webp z zstd -SITES= ${SITE_SOURCEFORGE:=pstoedit/} - RUN_DEPENDS= print/ghostscript/gnu -BUILD_DEPENDS= ${RUN_DEPENDS} -LIB_DEPENDS= graphics/gd +BUILD_DEPENDS= ${RUN_DEPENDS} \ + devel/autoconf-archive \ + print/texlive/base,-main USE_GMAKE= Yes -CONFIGURE_STYLE=gnu +CONFIGURE_STYLE=autoreconf +AUTOCONF_VERSION=2.73 +AUTOMAKE_VERSION=1.18 CONFIGURE_ARGS= --without-libplot \ --without-emf \ --without-swf \ --without-magick \ --without-pptx \ - --without-gui \ - --disable-docs + --without-gui WANTLIB= c ${COMPILER_LIBCXX} m Index: distinfo =================================================================== RCS file: /cvs/ports/graphics/pstoedit/distinfo,v diff -u -p -r1.17 distinfo --- distinfo 3 May 2025 21:10:45 -0000 1.17 +++ distinfo 28 Jul 2026 11:52:30 -0000 @@ -1,2 +1,2 @@ -SHA256 (pstoedit-4.02.tar.gz) = VYi0MtLGsq2YKLRJFepYE/+aOjMSpB+g3kw43ayd9y8= -SIZE (pstoedit-4.02.tar.gz) = 1369790 +SHA256 (pstoedit-4.3.tar.gz) = Nt/cecdQkw3VfixKTe4qarGh/mXNj8TcBH2/tvLPoVs= +SIZE (pstoedit-4.3.tar.gz) = 608385 Index: patches/patch-src_Makefile_in =================================================================== RCS file: patches/patch-src_Makefile_in diff -N patches/patch-src_Makefile_in --- patches/patch-src_Makefile_in 3 May 2025 21:10:45 -0000 1.14 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -Index: src/Makefile.in ---- src/Makefile.in.orig -+++ src/Makefile.in -@@ -609,7 +609,7 @@ libpstoedit_la_SOURCES = \ - psfront.h \ - genericints.h - --libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} -ldl -lm -+libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} -lm - libpstoedit_la_LDFLAGS = -no-undefined - pstoedit_SOURCES = cmdmain.cpp - pstoedit_LDADD = libpstoedit.la ${LIBLD_LDFLAGS} Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/graphics/pstoedit/pkg/PLIST,v diff -u -p -r1.11 PLIST --- pkg/PLIST 11 Mar 2022 19:23:14 -0000 1.11 +++ pkg/PLIST 28 Jul 2026 11:52:30 -0000 @@ -23,13 +23,10 @@ lib/pstoedit/ @comment lib/pstoedit/libp2edrvstd.la @so lib/pstoedit/libp2edrvstd.so @man man/man1/pstoedit.1 -share/aclocal/ -share/aclocal/pstoedit.m4 share/doc/pstoedit/ share/doc/pstoedit/changelog.htm share/doc/pstoedit/pstoedit.htm share/doc/pstoedit/pstoedit.pdf -share/doc/pstoedit/readme.txt share/pstoedit/ share/pstoedit/drvhpgl.pencolors share/pstoedit/examplefigmap.fmp @@ -37,8 +34,6 @@ share/pstoedit/latex2e.fmp share/pstoedit/mpost.fmp share/pstoedit/safer.ps share/pstoedit/svg.fmp -share/pstoedit/swffonts/ -share/pstoedit/swffonts/default.fdb share/pstoedit/unix.fmp share/pstoedit/wemf.fmp share/pstoedit/windows.fmp