wok-next rev 20522

libcss: add missing patches.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 23 15:09:22 2018 +0200 (2018-03-23)
parents 0f638701810b
children 07cac2b92343
files libcss/stuff/patches/gcc7.patch libcss/stuff/patches/series
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libcss/stuff/patches/gcc7.patch	Fri Mar 23 15:09:22 2018 +0200
     1.3 @@ -0,0 +1,34 @@
     1.4 +--- a/0.7.0/src/parse/parse.c
     1.5 ++++ b/0.7.0/src/parse/parse.c
     1.6 +@@ -2098,8 +2098,8 @@
     1.7 + 			;
     1.8 + 
     1.9 + 		state->substate = Go;
    1.10 +-		/* Fall through */
    1.11 + 	}
    1.12 ++		/* FALLTHROUGH */
    1.13 + 	case Go:
    1.14 + 		while (1) {
    1.15 + 			char want;
    1.16 +@@ -2296,8 +2296,8 @@
    1.17 + 			;
    1.18 + 
    1.19 + 		state->substate = Go;
    1.20 +-		/* Fall through */
    1.21 + 	}
    1.22 ++		/* FALLTHROUGH */
    1.23 + 	case Go:
    1.24 + 		while (1) {
    1.25 + 			char want;
    1.26 +--- a/0.7.0/src/select/arena_hash.h
    1.27 ++++ b/0.7.0/src/select/arena_hash.h
    1.28 +@@ -50,7 +50,9 @@
    1.29 + 	/* Hash any left over bytes */
    1.30 + 	switch (len) {
    1.31 + 	case 3: h ^= data[2] << 16;
    1.32 ++		/* FALLTHROUGH */
    1.33 + 	case 2: h ^= data[1] << 8;
    1.34 ++		/* FALLTHROUGH */
    1.35 + 	case 1: h ^= data[0];
    1.36 + 		h *= m;
    1.37 + 	}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libcss/stuff/patches/series	Fri Mar 23 15:09:22 2018 +0200
     2.3 @@ -0,0 +1,1 @@
     2.4 +gcc7.patch