[packages/libnsgif] - updated to 0.2.1 - removed obsolete fall_through patch

qboosh qboosh at pld-linux.org
Fri Dec 28 18:57:59 CET 2018


commit f0fca8bb94c39baef483ba938b92a661b08e3d2a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Dec 28 19:02:42 2018 +0100

    - updated to 0.2.1
    - removed obsolete fall_through patch

 fall_through.patch | 12 ------------
 libnsgif.spec      |  8 +++-----
 2 files changed, 3 insertions(+), 17 deletions(-)
---
diff --git a/libnsgif.spec b/libnsgif.spec
index 414e129..30131fd 100644
--- a/libnsgif.spec
+++ b/libnsgif.spec
@@ -5,15 +5,14 @@
 Summary:	Decoding library for the GIF format
 Summary(pl.UTF-8):	Biblioteka dekodująca pliki w formacie GIF
 Name:		libnsgif
-Version:	0.2.0
+Version:	0.2.1
 Release:	1
 License:	MIT
 Group:		Libraries
 Source0:	http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz
-# Source0-md5:	108d6103d198baf270a8993d5ebfb9e2
-Patch0:		fall_through.patch
+# Source0-md5:	2d32be055a3521c276ecdb2dcebd4ce9
 URL:		http://www.netsurf-browser.org/projects/libnsgif/
-BuildRequires:	netsurf-buildsystem >= 1.6
+BuildRequires:	netsurf-buildsystem >= 1.7
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -54,7 +53,6 @@ Statyczna biblioteka libnsgif.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 export AR="%{__ar}"
diff --git a/fall_through.patch b/fall_through.patch
deleted file mode 100644
index 295aff0..0000000
--- a/fall_through.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- libnsgif-0.2.0/src/lzw.c.orig	2017-10-13 10:55:06.000000000 +0200
-+++ libnsgif-0.2.0/src/lzw.c	2017-10-30 11:35:43.430506835 +0100
-@@ -168,7 +168,9 @@ static inline lzw_result lzw__next_code(
- 		const uint8_t *data = ctx->sb_data + (ctx->sb_bit >> 3);
- 		switch (byte_advance) {
- 			case 2: code |= data[2] << 16;
-+				/* Fall through */
- 			case 1: code |= data[1] <<  8;
-+				/* Fall through */
- 			case 0: code |= data[0] <<  0;
- 		}
- 		ctx->sb_bit += code_size;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libnsgif.git/commitdiff/f0fca8bb94c39baef483ba938b92a661b08e3d2a



More information about the pld-cvs-commit mailing list