diff options
| author | Keri Harris <keri@gentoo.org> | 2020-07-19 11:45:59 +0200 |
|---|---|---|
| committer | Keri Harris <keri@gentoo.org> | 2020-07-19 11:46:27 +0200 |
| commit | bbe7289e65c8a40bbaf449083cf77087a3e72e63 (patch) | |
| tree | 6003111de4503c2bb489d5a12955455388239264 /dev-lang/cxprolog/files/cxprolog-0.98.2-test-io.patch | |
| parent | 866b1c92b435b1c6d03ed2e4dfb664a073ad089c (diff) | |
| download | gentoo-bbe7289e65c8a40bbaf449083cf77087a3e72e63.tar.gz gentoo-bbe7289e65c8a40bbaf449083cf77087a3e72e63.tar.bz2 gentoo-bbe7289e65c8a40bbaf449083cf77087a3e72e63.zip | |
dev-lang/cxprolog: initial ebuild
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Keri Harris <keri@gentoo.org>
Diffstat (limited to 'dev-lang/cxprolog/files/cxprolog-0.98.2-test-io.patch')
| -rw-r--r-- | dev-lang/cxprolog/files/cxprolog-0.98.2-test-io.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-lang/cxprolog/files/cxprolog-0.98.2-test-io.patch b/dev-lang/cxprolog/files/cxprolog-0.98.2-test-io.patch new file mode 100644 index 000000000000..d9f7be7b0cf5 --- /dev/null +++ b/dev-lang/cxprolog/files/cxprolog-0.98.2-test-io.patch @@ -0,0 +1,20 @@ +--- cxprolog-0.98.2.orig/pl/test_io.pl 2016-01-23 22:07:48.000000000 +0100 ++++ cxprolog-0.98.2/pl/test_io.pl 2020-07-18 21:26:20.911026745 +0200 +@@ -17,7 +17,7 @@ + concat([X,'.\n'],T). + + test_file_io(L,Encoding) :- +- FileName = 'test_file_io_1.txt', ++ FileName = '/tmp/test_file_io_1.txt', + open(FileName,write,S1,[encoding(Encoding),bom(true)]), + name(T,L), + write(S1,T), +@@ -25,7 +25,7 @@ + open(FileName,read,S2), % relies on bom + read(S2,X), + close(S2), +- %fs_delete(FileName), ++ fs_delete(FileName), + concat([X,'.\n'],T). + + :- current_prolog_flag(encoding,Curr), |
