pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/mupdf



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Dec 17 13:59:17 UTC 2025

Modified Files:
        pkgsrc/print/mupdf: Makefile

Log Message:
mupdf: SunOS build fix.


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 pkgsrc/print/mupdf/Makefile

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

Modified files:

Index: pkgsrc/print/mupdf/Makefile
diff -u pkgsrc/print/mupdf/Makefile:1.135 pkgsrc/print/mupdf/Makefile:1.136
--- pkgsrc/print/mupdf/Makefile:1.135   Thu Oct 23 20:39:01 2025
+++ pkgsrc/print/mupdf/Makefile Wed Dec 17 13:59:16 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.135 2025/10/23 20:39:01 wiz Exp $
+# $NetBSD: Makefile,v 1.136 2025/12/17 13:59:16 nia Exp $
 
 DISTNAME=      mupdf-1.26.8-source
 PKGNAME=       ${DISTNAME:S/-source//}
@@ -48,6 +48,14 @@ REPLACE.shell.old=   .*/bin/bash
 REPLACE.shell.new=     ${SH}
 REPLACE_FILES.shell+=  scripts/hexdump.sh
 
+# Type names ending in _t are reserved for the system headers.
+# Indeed, SunOS defines index_t.
+SUBST_CLASSES+=                indext
+SUBST_STAGE.indext=    pre-configure
+SUBST_FILES.indext=    source/fitz/*.c
+SUBST_FILES.indext+=   source/fitz/*.h
+SUBST_SED.indext=      -e 's,index_t,mu_index_t,g'
+
 # Remove thirdparty directory in order to use the libraries provided by pkgsrc
 # thirdparty/lcms2 is not removed intentionally because ICC support requires
 # the internal lcms2 library. ICC support is essential to display some PDF



Home | Main Index | Thread Index | Old Index