diff options
author | PhilZ <phytowardt@gmail.com> | 2022-03-24 16:18:07 +0100 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2024-10-07 21:16:20 +0200 |
commit | f3050fcad38de7820c9ec5d54b86da9bda689131 (patch) | |
tree | 0fafaa63b2d589117b2849c6cc62148f7369adca /japanese/prn-ps/files/patch-euc.c | |
parent | x11/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-euc.c')
-rw-r--r-- | japanese/prn-ps/files/patch-euc.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/japanese/prn-ps/files/patch-euc.c b/japanese/prn-ps/files/patch-euc.c new file mode 100644 index 000000000000..30c260b91294 --- /dev/null +++ b/japanese/prn-ps/files/patch-euc.c @@ -0,0 +1,12 @@ +--- euc.c.orig 1994-03-28 10:21:54 UTC ++++ euc.c +@@ -26,6 +26,9 @@ static char *sccsid = "@(#)euc.c 2.2 (Y. + #endif + + #include <stdio.h> ++#include <stdlib.h> ++#include <string.h> ++#include <ctype.h> + #include "euc.h" + + #if defined EUC |