pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print/xetex



Module Name:    pkgsrc
Committed By:   markd
Date:           Tue Jun 18 09:39:40 UTC 2024

Modified Files:
        pkgsrc/print/xetex: Makefile distinfo
Added Files:
        pkgsrc/print/xetex/patches:
            patch-texk_web2c_synctexdir_synctex__parser__utils.c

Log Message:
xetex: fix build on ArchLinux with gcc14

include <time.h> for time_t
drop the FORCE_C_STD=c99. Don't think whatever historic reason led to it
being set still applies and setting it leads to function declarations being
hidden and therefore implicit function declarations errors.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 pkgsrc/print/xetex/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/print/xetex/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/print/xetex/patches/patch-texk_web2c_synctexdir_synctex__parser__utils.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/xetex/Makefile
diff -u pkgsrc/print/xetex/Makefile:1.126 pkgsrc/print/xetex/Makefile:1.127
--- pkgsrc/print/xetex/Makefile:1.126   Sat Jun  1 16:10:54 2024
+++ pkgsrc/print/xetex/Makefile Tue Jun 18 09:39:40 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.126 2024/06/01 16:10:54 prlw1 Exp $
+# $NetBSD: Makefile,v 1.127 2024/06/18 09:39:40 markd Exp $
 
 PKGREVISION= 1
 .include "../../print/texlive/Makefile.common"
@@ -18,7 +18,7 @@ EXTRACT_ELEMENTS+=    ${DISTNAME}/libs/xpdf
 EXTRACT_ELEMENTS+=     ${DISTNAME}/texk/web2c
 
 USE_LANGUAGES=         c c++
-FORCE_C_STD=           c99
+#FORCE_C_STD=          c99
 FORCE_CXX_STD=         c++17
 USE_TOOLS+=            gmake lex perl yacc
 GNU_CONFIGURE_STRICT=  no # libs

Index: pkgsrc/print/xetex/distinfo
diff -u pkgsrc/print/xetex/distinfo:1.30 pkgsrc/print/xetex/distinfo:1.31
--- pkgsrc/print/xetex/distinfo:1.30    Thu Mar 21 08:45:18 2024
+++ pkgsrc/print/xetex/distinfo Tue Jun 18 09:39:40 2024
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.30 2024/03/21 08:45:18 markd Exp $
+$NetBSD: distinfo,v 1.31 2024/06/18 09:39:40 markd Exp $
 
 BLAKE2s (texlive-20240312-source.tar.xz) = 72bccd07a7c210c1c5e3d86d72f3e86bfaf7c2922345f2e048c6336b2a1bd11b
 SHA512 (texlive-20240312-source.tar.xz) = e7ed4eb419da789f82d4295819ba72d10766398fd20c8675742fcec985851917b2005d259e4c9bb952790472855115644297d92257878882a66315cc940b9210
 Size (texlive-20240312-source.tar.xz) = 70140588 bytes
+SHA1 (patch-texk_web2c_synctexdir_synctex__parser__utils.c) = acb119b146335fa6393f3be20a43861bfe9679e5
 SHA1 (patch-texk_web2c_xetexdir_XeTeX__ext.c) = a83e842b567db6acb35cfab5303a7e96845fa953

Added files:

Index: pkgsrc/print/xetex/patches/patch-texk_web2c_synctexdir_synctex__parser__utils.c
diff -u /dev/null pkgsrc/print/xetex/patches/patch-texk_web2c_synctexdir_synctex__parser__utils.c:1.1
--- /dev/null   Tue Jun 18 09:39:40 2024
+++ pkgsrc/print/xetex/patches/patch-texk_web2c_synctexdir_synctex__parser__utils.c     Tue Jun 18 09:39:40 2024
@@ -0,0 +1,14 @@
+$NetBSD: patch-texk_web2c_synctexdir_synctex__parser__utils.c,v 1.1 2024/06/18 09:39:40 markd Exp $
+
+include <time.h> for time_t
+
+--- texk/web2c/synctexdir/synctex_parser_utils.c.orig  2023-02-23 14:01:33.000000000 +0000
++++ texk/web2c/synctexdir/synctex_parser_utils.c
+@@ -48,6 +48,7 @@
+ 
+ #include <limits.h>
+ #include <ctype.h>
++#include <time.h>
+ 
+ #include <sys/stat.h>
+ 



Home | Main Index | Thread Index | Old Index