diff options
author | J0WI <J0WI@users.noreply.github.com> | 2019-04-10 09:45:43 +0200 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-04-11 13:13:16 +0000 |
commit | 6759502eb830da958c990d6f74189d91562ac2d2 (patch) | |
tree | f3121d0627dfe23519bb0124923a6e98f1ad0665 /community/openjdk7/icedtea-jdk-fix-freetype-detection.patch | |
parent | 0ca99d6dde3be52b616a291d41a444ee559a8bd3 (diff) | |
download | aports-6759502eb830da958c990d6f74189d91562ac2d2.tar.bz2 aports-6759502eb830da958c990d6f74189d91562ac2d2.tar.xz |
community/openjdk7: security upgrade to 7.211.2.6.17
Diffstat (limited to 'community/openjdk7/icedtea-jdk-fix-freetype-detection.patch')
-rw-r--r-- | community/openjdk7/icedtea-jdk-fix-freetype-detection.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/community/openjdk7/icedtea-jdk-fix-freetype-detection.patch b/community/openjdk7/icedtea-jdk-fix-freetype-detection.patch new file mode 100644 index 0000000000..2870b28db0 --- /dev/null +++ b/community/openjdk7/icedtea-jdk-fix-freetype-detection.patch @@ -0,0 +1,20 @@ +--- openjdk/jdk/make/tools/freetypecheck/freetypecheck.c.orig ++++ openjdk/jdk/make/tools/freetypecheck/freetypecheck.c +@@ -84,7 +84,7 @@ + QUOTEMACRO(REQUIRED_FREETYPE_VERSION)); + + printf("Detected freetype headers: %s\n", v); +- if (strcmp(v, QUOTEMACRO(REQUIRED_FREETYPE_VERSION)) < 0) { ++ if (strverscmp(v, QUOTEMACRO(REQUIRED_FREETYPE_VERSION)) < 0) { + printf("Failed: headers are too old.\n"); + } + +@@ -93,7 +93,7 @@ + sprintf(v, "%d.%d.%d", major, minor, patch); + + printf("Detected freetype library: %s\n", v); +- if (strcmp(v, QUOTEMACRO(REQUIRED_FREETYPE_VERSION)) < 0) { ++ if (strverscmp(v, QUOTEMACRO(REQUIRED_FREETYPE_VERSION)) < 0) { + printf("Failed: too old library.\n"); + } + |