diff options
author | Renato Botelho <garga@FreeBSD.org> | 2020-02-11 12:57:42 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2020-02-11 12:57:42 +0000 |
commit | 4ec2641eb1050e50a57f963ef8fabc2625693618 (patch) | |
tree | 6afbf1dcc06bbc6388972b4bdf4720b61f21e2c0 /www/sarg/files/patch-decomp.c | |
parent | Fix indentation of CARGO_CRATES (diff) |
www/sarg: Update to 2.4.0
Sponsored by: Rubicon Communications, LLC (Netgate)
Notes
Notes:
svn path=/head/; revision=525812
Diffstat (limited to 'www/sarg/files/patch-decomp.c')
-rw-r--r-- | www/sarg/files/patch-decomp.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/sarg/files/patch-decomp.c b/www/sarg/files/patch-decomp.c new file mode 100644 index 000000000000..75800731f088 --- /dev/null +++ b/www/sarg/files/patch-decomp.c @@ -0,0 +1,11 @@ +--- decomp.c.orig 2020-02-11 12:34:30 UTC ++++ decomp.c +@@ -486,7 +486,7 @@ FileObject *decomp(const char *arq) + ssize_t nread; + + // guess file type +- fd=open(arq,O_RDONLY | O_LARGEFILE); ++ fd=open(arq,O_RDONLY); + if (fd==-1) { + debuga(__FILE__,__LINE__,_("Cannot open file \"%s\": %s\n"),arq,strerror(errno)); + exit(EXIT_FAILURE); |