summaryrefslogtreecommitdiff
path: root/japanese/prn-ps/files/patch-defs.c
diff options
context:
space:
mode:
authorPhilZ <phytowardt@gmail.com>2022-03-24 16:18:07 +0100
committerMateusz Piotrowski <0mp@FreeBSD.org>2024-10-07 21:16:20 +0200
commitf3050fcad38de7820c9ec5d54b86da9bda689131 (patch)
tree0fafaa63b2d589117b2849c6cc62148f7369adca /japanese/prn-ps/files/patch-defs.c
parentx11/p5-X11-XCB: update 0.22 -> 0.23 (diff)
japanese/prn: Fix git clone and working on repo under Windows
Windows can support long file names, but these file names are not allowed: CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9 Source: https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file Pull Request: https://github.com/freebsd/freebsd-ports/pull/122
Diffstat (limited to 'japanese/prn-ps/files/patch-defs.c')
-rw-r--r--japanese/prn-ps/files/patch-defs.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/japanese/prn-ps/files/patch-defs.c b/japanese/prn-ps/files/patch-defs.c
new file mode 100644
index 000000000000..2bbf6da1643d
--- /dev/null
+++ b/japanese/prn-ps/files/patch-defs.c
@@ -0,0 +1,10 @@
+--- defs.c.orig 1994-04-25 07:26:57 UTC
++++ defs.c
+@@ -26,6 +26,7 @@ static char sccsid[] = "@(#)defs.c 2.2 (
+ #endif
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <ctype.h>
+ #include "euc.h"
+ #include "cmt.h"