Hi,

   Here is a patch for math/pspp :
    i) Update to 1.6.2
    ii) Update DEPENDS

   It build well on amd64-current system, 4 tests failed in all 1500 tests.


Cheers !
wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/math/pspp/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile    31 Mar 2022 17:16:30 -0000      1.11
+++ Makefile    16 Aug 2022 23:44:16 -0000
@@ -1,6 +1,5 @@
 COMMENT =      program for statistical analysis of sampled data
-DISTNAME =     pspp-1.4.1
-REVISION =     1
+DISTNAME =     pspp-1.6.2
 CATEGORIES =   math x11
 
 HOMEPAGE =     https://www.gnu.org/software/pspp/
@@ -33,7 +32,7 @@ BUILD_DEPENDS =       devel/gettext,-tools \
 LIB_DEPENDS =  databases/postgresql \
                devel/gsl \
                devel/harfbuzz \
-               math/spread-sheet-widget \
+               math/spread-sheet-widget>=0.7 \
                x11/gtksourceview3
 
 RUN_DEPENDS =  devel/desktop-file-utils \
Index: distinfo
===================================================================
RCS file: /cvs/ports/math/pspp/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    14 Feb 2021 16:57:14 -0000      1.2
+++ distinfo    16 Aug 2022 23:44:16 -0000
@@ -1,2 +1,2 @@
-SHA256 (pspp-1.4.1.tar.gz) = VrVRGE+G8mZKGujhVYeIxAswzU/odtr6T2CdY6BWGVM=
-SIZE (pspp-1.4.1.tar.gz) = 7848393
+SHA256 (pspp-1.6.2.tar.gz) = cylMovWy9/xBu/i3jFiIyAdfQ8YJf9SCq7BPhasIR7Y=
+SIZE (pspp-1.6.2.tar.gz) = 9249366
Index: patches/patch-gl_vasnprintf_c
===================================================================
RCS file: patches/patch-gl_vasnprintf_c
diff -N patches/patch-gl_vasnprintf_c
--- patches/patch-gl_vasnprintf_c       11 Mar 2022 19:36:28 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,19 +0,0 @@
-Don't use printf %n.
-https://git.savannah.gnu.org/cgit/gnulib.git/commit/lib/vasnprintf.c?id=b954346c6101860c7b462d1b286641d1307afd6c
-
-Index: gl/vasnprintf.c
---- gl/vasnprintf.c.orig
-+++ gl/vasnprintf.c
-@@ -5117,11 +5117,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
- #endif
-                   *fbp = dp->conversion;
- #if USE_SNPRINTF
--# if ! (((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3))        \
--         && !defined __UCLIBC__)                                            \
--        || (defined __APPLE__ && defined __MACH__)                          \
--        || defined __ANDROID__                                              \
--        || (defined _WIN32 && ! defined __CYGWIN__))
-+# if 0
-                 fbp[1] = '%';
-                 fbp[2] = 'n';
-                 fbp[3] = '\0';
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/math/pspp/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   11 Mar 2022 19:36:28 -0000      1.3
+++ pkg/PLIST   16 Aug 2022 23:44:16 -0000
@@ -4,10 +4,60 @@
 @bin bin/pspp-output
 @bin bin/psppire
 @info info/pspp-dev.info
+info/pspp-figures/
+info/pspp-figures/aggregate.png
+info/pspp-figures/autorecode.png
+info/pspp-figures/chisquare.png
+info/pspp-figures/compute.png
+info/pspp-figures/count.png
+info/pspp-figures/crosstabs.png
+info/pspp-figures/descriptives.png
+info/pspp-figures/flip.png
+info/pspp-figures/frequencies.png
+info/pspp-figures/independent-samples-t.png
+info/pspp-figures/matrix-print.png
+info/pspp-figures/means.png
+info/pspp-figures/one-sample-t.png
+info/pspp-figures/reliability.png
+info/pspp-figures/select-if.png
+info/pspp-figures/show-system.png
+info/pspp-figures/sort-cases.png
+info/pspp-figures/split.png
+info/pspp-figures/temporary.png
+info/pspp-figures/tutorial1.png
+info/pspp-figures/tutorial2.png
+info/pspp-figures/tutorial2a.png
+info/pspp-figures/tutorial2b.png
+info/pspp-figures/tutorial3.png
+info/pspp-figures/tutorial4.png
+info/pspp-figures/tutorial5.png
+info/pspp-figures/tutorial5a.png
+info/pspp-figures/tutorial5b.png
+info/pspp-figures/tutorial6.png
+info/pspp-figures/tutorial7.png
+info/pspp-figures/tutorial7a.png
+info/pspp-figures/tutorial7b.png
+info/pspp-figures/weight.png
 @info info/pspp.info
+info/screenshots/
+info/screenshots/autorecode-ad.png
+info/screenshots/chisquare-ad.png
+info/screenshots/compute-ad.png
+info/screenshots/count-ad.png
+info/screenshots/count-define-ad.png
+info/screenshots/crosstabs-ad.png
+info/screenshots/define-groups-t-ad.png
+info/screenshots/descriptives-ad.png
+info/screenshots/frequencies-ad.png
+info/screenshots/independent-samples-t-ad.png
+info/screenshots/one-sample-t-ad.png
+info/screenshots/reliability-ad.png
+info/screenshots/sort-ad.png
+info/screenshots/sort-simple-ad.png
+info/screenshots/split-status-bar-ad.png
 lib/pspp/
-@so lib/pspp/libpspp-1.4.1.so
-@so lib/pspp/libpspp-core-1.4.1.so
+@so lib/pspp/libpspp-1.6.2.so
+@so lib/pspp/libpspp-core-1.6.2.so
 @static-lib lib/pspp/libpspp-core.a
 lib/pspp/libpspp-core.la
 @so lib/pspp/libpspp-core.so
@@ -19,10 +69,10 @@ lib/pspp/libpspp.la
 @man man/man1/pspp-output.1
 @man man/man1/pspp.1
 @man man/man1/psppire.1
-share/applications/org.fsf.pspp.desktop
+share/applications/org.gnu.pspp.desktop
 share/doc/pspp/
 share/doc/pspp/pspp.xml
-share/icons/hicolor/16x16/apps/pspp.png
+share/icons/hicolor/16x16/apps/org.gnu.pspp.png
 share/icons/hicolor/16x16/mimetypes/application-x-spss-por.png
 share/icons/hicolor/16x16/mimetypes/application-x-spss-sav.png
 share/icons/hicolor/16x16/mimetypes/application-x-spss-sps.png
@@ -35,22 +85,22 @@ share/icons/hicolor/24x24/mimetypes/appl
 share/icons/hicolor/24x24/mimetypes/application-x-spss-sav.png
 share/icons/hicolor/24x24/mimetypes/application-x-spss-sps.png
 share/icons/hicolor/24x24/mimetypes/application-x-spss-zsav.png
-share/icons/hicolor/256x256/apps/pspp.png
+share/icons/hicolor/256x256/apps/org.gnu.pspp.png
 share/icons/hicolor/256x256/mimetypes/application-x-spss-por.png
 share/icons/hicolor/256x256/mimetypes/application-x-spss-sav.png
 share/icons/hicolor/256x256/mimetypes/application-x-spss-sps.png
 share/icons/hicolor/256x256/mimetypes/application-x-spss-zsav.png
-share/icons/hicolor/32x32/apps/pspp.png
+share/icons/hicolor/32x32/apps/org.gnu.pspp.png
 share/icons/hicolor/32x32/mimetypes/application-x-spss-por.png
 share/icons/hicolor/32x32/mimetypes/application-x-spss-sav.png
 share/icons/hicolor/32x32/mimetypes/application-x-spss-sps.png
 share/icons/hicolor/32x32/mimetypes/application-x-spss-zsav.png
-share/icons/hicolor/48x48/apps/pspp.png
+share/icons/hicolor/48x48/apps/org.gnu.pspp.png
 share/icons/hicolor/48x48/mimetypes/application-x-spss-por.png
 share/icons/hicolor/48x48/mimetypes/application-x-spss-sav.png
 share/icons/hicolor/48x48/mimetypes/application-x-spss-sps.png
 share/icons/hicolor/48x48/mimetypes/application-x-spss-zsav.png
-share/icons/hicolor/scalable/apps/pspp.svg
+share/icons/hicolor/scalable/apps/org.gnu.pspp.svg
 share/locale/ca/LC_MESSAGES/pspp.mo
 share/locale/cs/LC_MESSAGES/pspp.mo
 share/locale/de/LC_MESSAGES/pspp.mo
@@ -70,8 +120,8 @@ share/locale/tr/LC_MESSAGES/pspp.mo
 share/locale/uk/LC_MESSAGES/pspp.mo
 share/locale/zh_CN/LC_MESSAGES/pspp.mo
 share/metainfo/
-share/metainfo/org.fsf.pspp.metainfo.xml
-share/mime/packages/pspp.xml
+share/metainfo/org.gnu.pspp.metainfo.xml
+share/mime/packages/org.gnu.pspp.xml
 share/pspp/
 share/pspp/actions/
 share/pspp/aggregate.ui
@@ -92,7 +142,9 @@ share/pspp/examine.ui
 share/pspp/examples/
 share/pspp/examples/descript.sps
 share/pspp/examples/grid.sps
+share/pspp/examples/horticulture.sav
 share/pspp/examples/hotel.sav
+share/pspp/examples/personnel.sav
 share/pspp/examples/physiology.sav
 share/pspp/examples/regress.sps
 share/pspp/examples/regress_categorical.sps
@@ -127,6 +179,7 @@ share/pspp/select-cases.ui
 share/pspp/sort.ui
 share/pspp/splash.png
 share/pspp/split-file.ui
+share/pspp/spreadsheet-import.ui
 share/pspp/syntax-editor.ui
 share/pspp/t-test.ui
 share/pspp/text-data-import.ui

Reply via email to