pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/chat/telegram-purple
Module Name: pkgsrc
Committed By: tnn
Date: Thu Sep 27 19:53:07 UTC 2018
Modified Files:
pkgsrc/chat/telegram-purple: distinfo
Added Files:
pkgsrc/chat/telegram-purple/patches: patch-tgl_tl-parser_tl-parser.c
Log Message:
telegram-purple: build fix
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/chat/telegram-purple/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/chat/telegram-purple/patches/patch-tgl_tl-parser_tl-parser.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/chat/telegram-purple/distinfo
diff -u pkgsrc/chat/telegram-purple/distinfo:1.3 pkgsrc/chat/telegram-purple/distinfo:1.4
--- pkgsrc/chat/telegram-purple/distinfo:1.3 Fri May 12 22:35:52 2017
+++ pkgsrc/chat/telegram-purple/distinfo Thu Sep 27 19:53:07 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2017/05/12 22:35:52 khorben Exp $
+$NetBSD: distinfo,v 1.4 2018/09/27 19:53:07 tnn Exp $
SHA1 (telegram-purple_1.3.0.orig.tar.gz) = 764a41616c813f14bd0c823fadf7901041b44ae7
RMD160 (telegram-purple_1.3.0.orig.tar.gz) = a90a1b193bf8ff48e3ec120a8f41f5dcd71693eb
@@ -6,3 +6,4 @@ SHA512 (telegram-purple_1.3.0.orig.tar.g
Size (telegram-purple_1.3.0.orig.tar.gz) = 498493 bytes
SHA1 (patch-configure) = a517d347dcaad90e8f24ccd9f92c1216a9f05545
SHA1 (patch-tgl_tl-parser_portable__endian.h) = b4c4179fbb29bdbcc368a837d0dc6a6b84e0e23c
+SHA1 (patch-tgl_tl-parser_tl-parser.c) = bd6af1514d724f71ffffb51b824baa18084c289d
Added files:
Index: pkgsrc/chat/telegram-purple/patches/patch-tgl_tl-parser_tl-parser.c
diff -u /dev/null pkgsrc/chat/telegram-purple/patches/patch-tgl_tl-parser_tl-parser.c:1.1
--- /dev/null Thu Sep 27 19:53:07 2018
+++ pkgsrc/chat/telegram-purple/patches/patch-tgl_tl-parser_tl-parser.c Thu Sep 27 19:53:07 2018
@@ -0,0 +1,23 @@
+$NetBSD: patch-tgl_tl-parser_tl-parser.c,v 1.1 2018/09/27 19:53:07 tnn Exp $
+
+error: %m is only allowed in syslog(3) like functions
+
+--- tgl/tl-parser/tl-parser.c.orig 2015-10-17 13:33:25.000000000 +0000
++++ tgl/tl-parser/tl-parser.c
+@@ -32,6 +32,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <assert.h>
++#include <errno.h>
+ #include <string.h>
+ #include <time.h>
+ #include <zlib.h>
+@@ -333,7 +334,7 @@ int expect (char *s) {
+ struct parse *tl_init_parse_file (const char *fname) {
+ int fd = open (fname, O_RDONLY);
+ if (fd < 0) {
+- fprintf (stderr, "Error %m\n");
++ fprintf (stderr, "Error %s\n", strerror(errno));
+ assert (0);
+ return 0;
+ }
Home |
Main Index |
Thread Index |
Old Index