Hello community, here is the log from the commit of package telegram-purple for openSUSE:Factory checked in at 2017-06-12 15:35:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/telegram-purple (Old) and /work/SRC/openSUSE:Factory/.telegram-purple.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "telegram-purple" Mon Jun 12 15:35:56 2017 rev:5 rq:503015 version:1.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/telegram-purple/telegram-purple.changes 2017-05-10 20:53:14.791741871 +0200 +++ /work/SRC/openSUSE:Factory/.telegram-purple.new/telegram-purple.changes 2017-06-12 15:36:00.302121843 +0200 @@ -1,0 +2,6 @@ +Mon Jun 12 07:42:42 UTC 2017 - [email protected] + +- Add telegram-purple-tl-parser-format-overflow.patch: Fix format + overflow in tl-parser. + +------------------------------------------------------------------- New: ---- telegram-purple-tl-parser-format-overflow.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ telegram-purple.spec ++++++ --- /var/tmp/diff_new_pack.VwOdVV/_old 2017-06-12 15:36:01.641932871 +0200 +++ /var/tmp/diff_new_pack.VwOdVV/_new 2017-06-12 15:36:01.645932307 +0200 @@ -24,6 +24,8 @@ Group: Productivity/Networking/Instant Messenger Url: https://github.com/majn/telegram-purple Source: https://github.com/majn/telegram-purple/releases/download/v%{version}/%{name}_%{version}.orig.tar.gz +# PATCH-FIX-UPSTREAM telegram-purple-tl-parser-format-overflow.patch [email protected] -- Fix format overflow in tl-parser. +Patch0: telegram-purple-tl-parser-format-overflow.patch BuildRequires: intltool BuildRequires: libgcrypt-devel >= 1.6 BuildRequires: pkgconfig @@ -63,6 +65,7 @@ %prep %setup -q -n %{name} +%patch0 -p1 %build %configure ++++++ telegram-purple-tl-parser-format-overflow.patch ++++++ --- a/tgl/tl-parser/tl-parser.c +++ b/tgl/tl-parser/tl-parser.c @@ -1904,7 +1904,7 @@ struct tl_combinator_tree *tl_parse_args char *name = S->data; if (!name) { static char s[20]; - sprintf (s, "%lld", lrand48 () * (1ll << 32) + lrand48 ()); + sprintf (s, "%llu", lrand48 () * (1ll << 32) + lrand48 ()); name = s; } struct tl_var *v = tl_add_var (name, S, tt);
