FreeBSD Bugzilla – Attachment 218761 Details for
Bug 250368
textproc/google-translate-cli: Fix tests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for make test
google-translate-cli.patch (text/plain), 1.41 KB, created by
Mateusz Piotrowski
on 2020-10-15 14:03:43 UTC
(
hide
)
Description:
Patch for make test
Filename:
MIME Type:
Creator:
Mateusz Piotrowski
Created:
2020-10-15 14:03:43 UTC
Size:
1.41 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 552395) >+++ Makefile (working copy) >@@ -14,8 +14,11 @@ > > BUILD_DEPENDS= gawk:lang/gawk > RUN_DEPENDS= bash:shells/bash \ >- gawk:lang/gawk >-TEST_DEPENDS= gawk:lang/gawk >+ gawk:lang/gawk \ >+ gbase64:sysutils/coreutils >+TEST_DEPENDS= curl:ftp/curl \ >+ emacs:editors/emacs@nox \ >+ rlwrap:devel/rlwrap > > USE_GITHUB= yes > GH_ACCOUNT= soimort >@@ -23,6 +26,8 @@ > > ALL_TARGET= build > TEST_TARGET= test >+TEST_ENV= LC_ALL=C.UTF-8 >+ > PLIST_FILES= bin/trans \ > man/man1/trans.1.gz > >Index: files/patch-include_Utils.awk >=================================================================== >--- files/patch-include_Utils.awk (nonexistent) >+++ files/patch-include_Utils.awk (working copy) >@@ -0,0 +1,11 @@ >+--- include/Utils.awk.orig 2020-10-15 13:53:06 UTC >++++ include/Utils.awk >+@@ -233,6 +233,8 @@ function dumpX(text, group, command, temp) { >+ function base64(text, command, temp) { >+ if (detectProgram("uname", "-s", 1) == "Linux") # GNU base64 wraps lines by default >+ command = "echo -n " parameterize(text) PIPE "base64 -w0" >++ if (detectProgram("gbase64", "--version")) # GNU base64 is sometimes available as gbase64 >++ command = "echo -n " parameterize(text) PIPE "gbase64 -w0" >+ else >+ command = "echo -n " parameterize(text) PIPE "base64" >+ command = "bash -c " parameterize(command, "\"")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 250368
: 218761