Index: head/misc/free42/Makefile =================================================================== --- head/misc/free42/Makefile (revision 567431) +++ head/misc/free42/Makefile (revision 567432) @@ -1,60 +1,60 @@ # $FreeBSD$ PORTNAME= free42 -DISTVERSION= 2.4.2 +DISTVERSION= 3.0.1 CATEGORIES= misc MASTER_SITES= http://thomasokken.com/free42/upstream/ DISTNAME= ${PORTNAME}-nologo-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Simulation of the HP-42S scientific calculator and HP-82240 printer LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_aarch64= fails to link: c++: error: no such file or directory: 'gcc111libbid.a' BROKEN_armv6= fails to link: c++: error: no such file or directory: 'gcc111libbid.a' BROKEN_mips64= fails to link: c++: error: no such file or directory: 'gcc111libbid.a' BROKEN_powerpc64= fails to link: c++: error: no such file or directory: 'gcc111libbid.a' BROKEN_riscv64= fails to link: c++: error: no such file or directory: 'gcc111libbid.a' LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= compiler dos2unix gmake gnome localbase pkgconfig tar:tgz xorg -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango +USE_GNOME= atk cairo gdkpixbuf2 gtk30 pango USE_XORG= x11 xmu DOS2UNIX_FILES= gtk/IntelRDFPMathLib20U1/LIBRARY/float128/op_system.h gtk/IntelRDFPMathLib20U1/LIBRARY/float128/architecture.h CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing -Wno-constant-conversion # to accommodate some code breaking with clang-50 BUILD_WRKSRC= ${WRKSRC}/gtk VARIANTS= bin dec .for v in ${VARIANTS} PLIST_FILES+= bin/${PORTNAME}${v} .endfor post-extract: @cd ${BUILD_WRKSRC} && tar xvfz ../inteldecimal/IntelRDFPMathLib20U1.tar.gz post-patch: @${REINPLACE_CMD} -e 's|(free42dirname)|("${DATADIR}/skins")|' \ ${BUILD_WRKSRC}/shell_skin.cc do-build: .for v in ${VARIANTS} @${CP} -r ${BUILD_WRKSRC} ${BUILD_WRKSRC}-${v} @cd ${BUILD_WRKSRC}-${v} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} cleaner && \ ${SETENV} ${MAKE_ENV} ${v:S/dec/BCD_MATH=1/:S/bin//} ${MAKE_CMD} .endfor do-install: .for v in ${VARIANTS} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}-${v}/free42${v} ${STAGEDIR}${PREFIX}/bin/ .endfor .include Index: head/misc/free42/distinfo =================================================================== --- head/misc/free42/distinfo (revision 567431) +++ head/misc/free42/distinfo (revision 567432) @@ -1,3 +1,3 @@ -TIMESTAMP = 1563338442 -SHA256 (free42-nologo-2.4.2.tgz) = 7d1bec2a67e817856de56675b6ec5758d212e5707f3e050e451b1d0d4215c434 -SIZE (free42-nologo-2.4.2.tgz) = 7403471 +TIMESTAMP = 1614985753 +SHA256 (free42-nologo-3.0.1.tgz) = 8211a76fbdbd0ffdacd96ec36129c998a07ef5859c148f29e620432da8c457bc +SIZE (free42-nologo-3.0.1.tgz) = 7438742 Index: head/misc/free42/files/patch-common_free42.h =================================================================== --- head/misc/free42/files/patch-common_free42.h (revision 567431) +++ head/misc/free42/files/patch-common_free42.h (nonexistent) @@ -1,11 +0,0 @@ ---- common/free42.h.orig 2017-11-20 23:46:32 UTC -+++ common/free42.h -@@ -70,7 +70,7 @@ - * provided by MathLib. - */ - extern "C" void sincos(double x, double *sinx, double *cosx); --//#define NO_SINCOS 1 -+#define NO_SINCOS 1 - - #endif - Property changes on: head/misc/free42/files/patch-common_free42.h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/misc/free42/files/patch-gtk_build-intel-lib.sh =================================================================== --- head/misc/free42/files/patch-gtk_build-intel-lib.sh (revision 567431) +++ head/misc/free42/files/patch-gtk_build-intel-lib.sh (nonexistent) @@ -1,15 +0,0 @@ ---- gtk/build-intel-lib.sh.orig 2017-11-20 03:58:50 UTC -+++ gtk/build-intel-lib.sh -@@ -1,10 +1,10 @@ - #!/bin/sh - if [ -f gcc111libbid.a ]; then exit 0; fi --tar xvfz ../inteldecimal/IntelRDFPMathLib20U1.tar.gz -+#tar xvfz ../inteldecimal/IntelRDFPMathLib20U1.tar.gz - cd IntelRDFPMathLib20U1 - patch -p0 <../intel-lib-linux.patch - cd LIBRARY --make CC=gcc CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0 -+gmake CC=cc CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0 - mv libbid.a ../../gcc111libbid.a - cd ../.. - ( echo '#ifdef FREE42_FPTEST'; echo 'const char *readtest_lines[] = {'; tr -d '\r' < IntelRDFPMathLib20U1/TESTS/readtest.in | sed 's/^\(.*\)$/"\1",/'; echo '0 };'; echo '#endif' ) > readtest_lines.cc Property changes on: head/misc/free42/files/patch-gtk_build-intel-lib.sh ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/misc/free42/files/patch-gtk_Makefile =================================================================== --- head/misc/free42/files/patch-gtk_Makefile (revision 567431) +++ head/misc/free42/files/patch-gtk_Makefile (revision 567432) @@ -1,53 +1,11 @@ ---- gtk/Makefile.orig 2017-11-20 03:58:50 UTC +--- gtk/Makefile.orig 2021-03-05 01:52:42 UTC +++ gtk/Makefile -@@ -15,12 +15,11 @@ - # along with this program; if not, see http://www.gnu.org/licenses/. - ############################################################################### - --CFLAGS = -MMD \ -+FLAGS_COMMON = \ -+ -MMD \ - -Wall \ - -Wno-parentheses \ - -Wno-write-strings \ -- -g \ -- -I/usr/X11R6/include \ - $(shell pkg-config --cflags gtk+-2.0) \ - -DVERSION="\"$(shell cat ../VERSION)\"" \ - -DDECIMAL_CALL_BY_REFERENCE=1 \ -@@ -29,13 +28,14 @@ CFLAGS = -MMD \ - -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=1 \ - -DDECIMAL_GLOBAL_EXCEPTION_FLAGS_ACCESS_FUNCTIONS=1 - --CXXFLAGS = $(CFLAGS) \ -+CFLAGS+= $(FLAGS_COMMON) -+ -+CXXFLAGS+= $(FLAGS_COMMON) \ - -fno-exceptions \ - -fno-rtti \ - -D_WCHAR_T_DEFINED - --LDFLAGS = -L/usr/X11R6/lib --LIBS = gcc111libbid.a -lXmu $(shell pkg-config --libs gtk+-2.0) -+LIBS = gcc111libbid.a -lXmu $(shell pkg-config --libs gtk+-2.0) -lX11 - - ifeq "$(shell uname -s)" "Linux" - LDFLAGS += -Wl,--hash-style=both -@@ -118,7 +118,7 @@ clean: FORCE - readtest_lines.cc \ - gcc111libbid.a \ - *.o *.d *.i *.ii *.s symlinks core.* -- rm -rf IntelRDFPMathLib20U1 -+ #rm -rf IntelRDFPMathLib20U1 - - cleaner: FORCE - rm -f `find . -type l` \ -@@ -128,7 +128,7 @@ cleaner: FORCE - readtest_lines.cc \ - gcc111libbid.a \ +@@ -136,7 +136,7 @@ cleaner: FORCE + readtest_lines.cc \ + gcc111libbid.a \ *.o *.d *.i *.ii *.s symlinks core.* - rm -rf IntelRDFPMathLib20U1 + #rm -rf IntelRDFPMathLib20U1 FORCE: