update to xcowsay-1.6
This commit is contained in:
parent
a7f6745f95
commit
c6016453ab
|
@ -1,7 +1,5 @@
|
|||
# $OpenBSD: Makefile,v 1.17 2020/10/13 15:58:06 cwen Exp $
|
||||
|
||||
COMMENT = displays a cute cow and message on your desktop
|
||||
DISTNAME = xcowsay-1.5.1
|
||||
DISTNAME = xcowsay-1.6
|
||||
CATEGORIES = games
|
||||
|
||||
HOMEPAGE = https://www.doof.me.uk/xcowsay/
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (xcowsay-1.5.1.tar.gz) = wypsfAp634wbaAI+fxzmr3J5AmvQzChVi/wp/BPxiA0=
|
||||
SIZE (xcowsay-1.5.1.tar.gz) = 287843
|
||||
SHA256 (xcowsay-1.6.tar.gz) = RqzoZP8o0tIfS3BY8CleGNAEGhIMEHipUfpDxOD1yMU=
|
||||
SIZE (xcowsay-1.6.tar.gz) = 292845
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
$OpenBSD: patch-src_config_file_c,v 1.1 2020/10/13 15:58:06 cwen Exp $
|
||||
|
||||
Allow to properly read the configuration files on archs where char is unsigned
|
||||
(arm, ppc) as EOF is usually -1.
|
||||
See https://github.com/nickg/xcowsay/commit/666ad99
|
||||
|
||||
Index: src/config_file.c
|
||||
--- src/config_file.c.orig
|
||||
+++ src/config_file.c
|
||||
@@ -78,7 +78,7 @@ static token_t next_token(FILE *f, strbuf_t* sbuf, int
|
||||
bool skip_to_eol = false;
|
||||
bool in_quotes = false;
|
||||
for (;;) {
|
||||
- char next = fgetc(f);
|
||||
+ int next = fgetc(f);
|
||||
if (EOF == next)
|
||||
return (has_chars(sbuf) && !skip_to_eol) ? tTOKEN : tEOF;
|
||||
else if ('\n' == next) {
|
|
@ -1,4 +1,3 @@
|
|||
@comment $OpenBSD: PLIST,v 1.2 2014/09/16 12:39:22 sthen Exp $
|
||||
bin/xcowdream
|
||||
bin/xcowfortune
|
||||
@bin bin/xcowsay
|
||||
|
|
Loading…
Reference in New Issue