2024-01-28 17:11:19 +00:00
|
|
|
diff -Paur --no-dereference -- nasm.upstream/doc/Makefile nasm/doc/Makefile
|
|
|
|
--- nasm.upstream/doc/Makefile
|
|
|
|
+++ nasm/doc/Makefile
|
|
|
|
@@ -7,8 +7,8 @@
|
|
|
|
top_srcdir = ..
|
|
|
|
srcdir = .
|
2022-06-13 20:29:53 +00:00
|
|
|
|
2024-01-28 17:11:19 +00:00
|
|
|
-prefix = /usr/local
|
|
|
|
-exec_prefix = ${prefix}
|
|
|
|
+prefix =
|
|
|
|
+exec_prefix =
|
|
|
|
bindir = ${exec_prefix}/bin
|
|
|
|
mandir = ${datarootdir}/man
|
|
|
|
docdir = ${datarootdir}/doc/${PACKAGE}
|
|
|
|
@@ -16,7 +16,7 @@
|
|
|
|
infodir = ${datarootdir}/info
|
|
|
|
datarootdir = ${prefix}/share
|
2022-06-13 20:29:53 +00:00
|
|
|
|
2024-01-28 17:11:19 +00:00
|
|
|
-INSTALL = /bin/install -c
|
|
|
|
+INSTALL = /usr/bin/install -c
|
|
|
|
INSTALL_PROGRAM = ${INSTALL}
|
|
|
|
INSTALL_DATA = ${INSTALL} -m 644
|
2022-06-13 20:29:53 +00:00
|
|
|
|
2024-01-28 17:11:19 +00:00
|
|
|
@@ -24,7 +24,7 @@
|
|
|
|
|
|
|
|
PDFOPT =
|
|
|
|
|
|
|
|
-MKDIR_P = /bin/mkdir -p
|
|
|
|
+MKDIR_P = /usr/bin/mkdir -p
|
|
|
|
RM_F = rm -f
|
|
|
|
RM_RF = rm -rf
|
|
|
|
CP_F = cp -f
|
|
|
|
diff -Paur --no-dereference -- nasm.upstream/include/compiler.h nasm/include/compiler.h
|
|
|
|
--- nasm.upstream/include/compiler.h
|
|
|
|
+++ nasm/include/compiler.h
|
|
|
|
@@ -412,4 +412,9 @@
|
|
|
|
# define default case BOGUS_CASE: default
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+/* PATCH: Sortix doesn't have FILENAME_MAX at this time. */
|
|
|
|
+#if !defined(FILENAME_MAX) && defined(__sortix__)
|
|
|
|
+#define FILENAME_MAX 256
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#endif /* NASM_COMPILER_H */
|