Hello community, here is the log from the commit of package zathura-plugin-cb for openSUSE:Factory checked in at 2016-02-24 14:26:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zathura-plugin-cb (Old) and /work/SRC/openSUSE:Factory/.zathura-plugin-cb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zathura-plugin-cb" Changes: -------- --- /work/SRC/openSUSE:Factory/zathura-plugin-cb/zathura-plugin-cb.changes 2014-11-26 10:33:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.zathura-plugin-cb.new/zathura-plugin-cb.changes 2016-02-24 14:26:39.000000000 +0100 @@ -1,0 +2,7 @@ +Wed Feb 24 08:36:10 UTC 2016 - [email protected] + +- update to 0.1.5 +* Fix issue where archive_read_data_block returns a NP buffer +* Advertise URL support + +------------------------------------------------------------------- Old: ---- zathura-cb-0.1.3.tar.gz New: ---- zathura-cb-0.1.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zathura-plugin-cb.spec ++++++ --- /var/tmp/diff_new_pack.7FWRZb/_old 2016-02-24 14:26:39.000000000 +0100 +++ /var/tmp/diff_new_pack.7FWRZb/_new 2016-02-24 14:26:39.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package zathura-plugin-cb # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define realname zathura-cb Name: zathura-plugin-cb -Version: 0.1.3 +Version: 0.1.5 Release: 0 Summary: Adds comic book support to zathura License: Zlib ++++++ zathura-cb-0.1.3.tar.gz -> zathura-cb-0.1.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zathura-cb-0.1.3/config.mk new/zathura-cb-0.1.5/config.mk --- old/zathura-cb-0.1.3/config.mk 2014-10-17 00:12:52.000000000 +0200 +++ new/zathura-cb-0.1.5/config.mk 2015-12-22 23:44:56.000000000 +0100 @@ -2,7 +2,7 @@ VERSION_MAJOR = 0 VERSION_MINOR = 1 -VERSION_REV = 3 +VERSION_REV = 5 VERSION = ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV} # minimum required zathura version @@ -43,7 +43,7 @@ endif # flags -CFLAGS += -std=c99 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS) +CFLAGS += -std=c11 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS) # debug DFLAGS ?= -g diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zathura-cb-0.1.3/document.c new/zathura-cb-0.1.5/document.c --- old/zathura-cb-0.1.3/document.c 2014-10-17 00:12:52.000000000 +0200 +++ new/zathura-cb-0.1.5/document.c 2015-12-22 23:44:56.000000000 +0100 @@ -166,9 +166,13 @@ size_t size = 0; const void* buf = NULL; - off_t offset = 0; + __LA_INT64_T offset = 0; while ((r = archive_read_data_block(a, &buf, &size, &offset)) != ARCHIVE_EOF) { - if (size <= 0) { + if (r < ARCHIVE_WARN) { + break; + } + + if (buf == NULL || size <= 0) { continue; } @@ -176,7 +180,7 @@ break; } - if (meta->width > 0 || meta->height > 0) { + if (meta->width > 0 && meta->height > 0) { break; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zathura-cb-0.1.3/render.c new/zathura-cb-0.1.5/render.c --- old/zathura-cb-0.1.3/render.c 2014-10-17 00:12:52.000000000 +0200 +++ new/zathura-cb-0.1.5/render.c 2015-12-22 23:44:56.000000000 +0100 @@ -85,7 +85,7 @@ size_t size = 0; const void* buf = NULL; - off_t offset = 0; + __LA_INT64_T offset = 0; while ((r = archive_read_data_block(a, &buf, &size, &offset)) != ARCHIVE_EOF) { if (r < ARCHIVE_WARN) { archive_read_close(a); @@ -94,7 +94,7 @@ return NULL; } - if (size == 0) { + if (size == 0 || buf == NULL) { continue; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zathura-cb-0.1.3/zathura-cb.desktop new/zathura-cb-0.1.5/zathura-cb.desktop --- old/zathura-cb-0.1.3/zathura-cb.desktop 2014-10-17 00:12:52.000000000 +0200 +++ new/zathura-cb-0.1.5/zathura-cb.desktop 2015-12-22 23:44:56.000000000 +0100 @@ -17,7 +17,7 @@ Comment[ru]=Минималистичный просмотрщик документов Comment[tr]=Minimalist bir belge görüntüleyicisi Comment[uk_UA]=Легкий переглядач документів -Exec=zathura %f +Exec=zathura %U Terminal=false NoDisplay=true Categories=Office;Viewer;
