FreeBSD Bugzilla – Attachment 178309 Details for
Bug 215064
net-im/telegram: update to upstream version 1.4.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-telegram-1.4.1
patch-telegram-1.4.1.diff (text/plain), 6.60 KB, created by
Carlos J. Puga Medina
on 2016-12-27 02:41:29 UTC
(
hide
)
Description:
patch-telegram-1.4.1
Filename:
MIME Type:
Creator:
Carlos J. Puga Medina
Created:
2016-12-27 02:41:29 UTC
Size:
6.60 KB
patch
obsolete
>Index: net-im/telegram/Makefile >=================================================================== >--- net-im/telegram/Makefile (revision 429572) >+++ net-im/telegram/Makefile (working copy) >@@ -2,8 +2,7 @@ > # $FreeBSD$ > > PORTNAME= telegram >-PORTVERSION= 1.3.1 >-PORTREVISION= 1 >+PORTVERSION= 1.4.1 > CATEGORIES= net-im > > MAINTAINER= cpm@FreeBSD.org >@@ -26,7 +25,7 @@ > USE_GITHUB= yes > GH_ACCOUNT= vysheng > GH_PROJECT= tg tgl:tgl tl-parser:tlparser >-GH_TAGNAME= 2.0.1:tgl 1659d87:tlparser >+GH_TAGNAME= 6547c0b ffb04ca:tgl 36bf190:tlparser > GH_SUBDIR= tgl:tgl tgl/tl-parser:tlparser > > PLIST_FILES= bin/telegram-cli \ >Index: net-im/telegram/distinfo >=================================================================== >--- net-im/telegram/distinfo (revision 429572) >+++ net-im/telegram/distinfo (working copy) >@@ -1,6 +1,7 @@ >-SHA256 (vysheng-tg-1.3.1_GH0.tar.gz) = b70b1d8b97b44086b64e467f81c6aceb8263092c26a8cf1a7d717eb1b5360415 >-SIZE (vysheng-tg-1.3.1_GH0.tar.gz) = 278051 >-SHA256 (vysheng-tgl-2.0.1_GH0.tar.gz) = 549bbfc46715bae31b50a54cc21eefd61109cd28dcdddbe4e53726aec3d924f1 >-SIZE (vysheng-tgl-2.0.1_GH0.tar.gz) = 250488 >-SHA256 (vysheng-tl-parser-1659d87_GH0.tar.gz) = 6b9538b0c3be3bb25e4f4750ecbea42ce7be58b005a3eeb372b9d15fbaa92e0b >-SIZE (vysheng-tl-parser-1659d87_GH0.tar.gz) = 78615 >+TIMESTAMP = 1482804239 >+SHA256 (vysheng-tg-1.4.1-6547c0b_GH0.tar.gz) = 1e70d800d46e92ab71360db4fee8b63512d682986aa4d8d90adf49219ec17928 >+SIZE (vysheng-tg-1.4.1-6547c0b_GH0.tar.gz) = 307276 >+SHA256 (vysheng-tgl-ffb04ca_GH0.tar.gz) = 2a2aafe6366e3a4c7df2af916c015fa0c0200094e785e69396ca6ff0ef612cd4 >+SIZE (vysheng-tgl-ffb04ca_GH0.tar.gz) = 240798 >+SHA256 (vysheng-tl-parser-36bf190_GH0.tar.gz) = 9c4222cfc39f1f58061678c2a22dac5d2391e2594d4ec00e5ab9a7c12e606789 >+SIZE (vysheng-tl-parser-36bf190_GH0.tar.gz) = 66898 >Index: net-im/telegram/files/patch-Makefile.in >=================================================================== >--- net-im/telegram/files/patch-Makefile.in (nonexistent) >+++ net-im/telegram/files/patch-Makefile.in (working copy) >@@ -0,0 +1,11 @@ >+--- Makefile.in.orig 2016-03-23 11:42:53 UTC >++++ Makefile.in >+@@ -6,7 +6,7 @@ CPPFLAGS=@CPPFLAGS@ @OPENSSL_INCLUDES@ >+ DEFS=@DEFS@ >+ COMPILE_FLAGS=${CFLAGS} ${CPFLAGS} ${CPPFLAGS} ${DEFS} -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC >+ EXTRA_LIBS=@LIBS@ @EXTRA_LIBS@ @OPENSSL_LIBS@ >+-LOCAL_LDFLAGS=-rdynamic -ggdb -levent ${EXTRA_LIBS} -ldl -lpthread -lutil >++LOCAL_LDFLAGS=-rdynamic -ggdb -levent ${EXTRA_LIBS} -lpthread -lutil >+ LINK_FLAGS=${LDFLAGS} ${LOCAL_LDFLAGS} >+ >+ DEP=dep > >Property changes on: net-im/telegram/files/patch-Makefile.in >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net-im/telegram/files/patch-lua-tg.c >=================================================================== >--- net-im/telegram/files/patch-lua-tg.c (nonexistent) >+++ net-im/telegram/files/patch-lua-tg.c (working copy) >@@ -0,0 +1,15 @@ >+--- lua-tg.c.orig 2016-12-27 02:26:05 UTC >++++ lua-tg.c >+@@ -661,9 +661,9 @@ struct lua_arg { >+ struct lua_arg lua_ptr[MAX_LUA_COMMANDS]; >+ static int pos; >+ >+-static inline tgl_peer_t *get_peer (const char *s) { >+- return tgl_peer_get_by_name (TLS, s); >+-} >++// static inline tgl_peer_t *get_peer (const char *s) { >++// return tgl_peer_get_by_name (TLS, s); >++// } >+ >+ enum lua_query_type { >+ lq_contact_list, > >Property changes on: net-im/telegram/files/patch-lua-tg.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net-im/telegram/files/patch-tgl_mtproto-utils.c >=================================================================== >--- net-im/telegram/files/patch-tgl_mtproto-utils.c (nonexistent) >+++ net-im/telegram/files/patch-tgl_mtproto-utils.c (working copy) >@@ -0,0 +1,22 @@ >+--- tgl/mtproto-utils.c.orig 2016-03-23 11:42:06 UTC >++++ tgl/mtproto-utils.c >+@@ -98,9 +98,7 @@ static unsigned long long BN2ull (TGLC_b >+ if (sizeof (unsigned long) == 8) { >+ return TGLC_bn_get_word (b); >+ } else if (sizeof (unsigned long long) == 8) { >+- assert (0); // As long as nobody ever uses this code, assume it is broken. >+ unsigned long long tmp; >+- /* Here be dragons, but it should be okay due to be64toh */ >+ TGLC_bn_bn2bin (b, (unsigned char *) &tmp); >+ return be64toh (tmp); >+ } else { >+@@ -112,9 +110,7 @@ static void ull2BN (TGLC_bn *b, unsigned >+ if (sizeof (unsigned long) == 8 || val < (1ll << 32)) { >+ TGLC_bn_set_word (b, val); >+ } else if (sizeof (unsigned long long) == 8) { >+- assert (0); // As long as nobody ever uses this code, assume it is broken. >+ htobe64(val); >+- /* Here be dragons, but it should be okay due to htobe64 */ >+ TGLC_bn_bin2bn ((unsigned char *) &val, 8, b); >+ } else { >+ assert (0); > >Property changes on: net-im/telegram/files/patch-tgl_mtproto-utils.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net-im/telegram/files/patch-tgl_tl-parser_portable__endian.h >=================================================================== >--- net-im/telegram/files/patch-tgl_tl-parser_portable__endian.h (nonexistent) >+++ net-im/telegram/files/patch-tgl_tl-parser_portable__endian.h (working copy) >@@ -0,0 +1,18 @@ >+--- tgl/tl-parser/portable_endian.h.orig 2015-10-17 13:33:25 UTC >++++ tgl/tl-parser/portable_endian.h >+@@ -53,6 +53,7 @@ >+ >+ # include <sys/endian.h> >+ >++#if !defined(__FreeBSD__) >+ # define be16toh(x) betoh16(x) >+ # define le16toh(x) letoh16(x) >+ >+@@ -61,6 +62,7 @@ >+ >+ # define be64toh(x) betoh64(x) >+ # define le64toh(x) letoh64(x) >++#endif /* !defined(__FreeBSD__) */ >+ >+ #elif defined(__WINDOWS__) >+ > >Property changes on: net-im/telegram/files/patch-tgl_tl-parser_portable__endian.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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
Flags:
cpm
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 215064
:
178309
|
178325