Index | Thread | Search

From:
Brad Smith <brad@comstyle.com>
Subject:
UPDATE: libwebp
To:
ports@openbsd.org
Date:
Sun, 25 Jan 2026 20:10:42 -0500

Download raw body.

Thread
  • Brad Smith:

    UPDATE: libwebp

Remove unnecessary build hack.


Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/libwebp/Makefile,v
retrieving revision 1.39
diff -u -p -u -p -r1.39 Makefile
--- Makefile	22 Jan 2026 12:39:14 -0000	1.39
+++ Makefile	26 Jan 2026 01:03:10 -0000
@@ -3,7 +3,7 @@ COMMENT=	Google WebP image format conver
 GH_ACCOUNT=	webmproject
 GH_PROJECT=	libwebp
 GH_TAGNAME=	v1.6.0
-REVISION=	1
+REVISION=	2
 CATEGORIES=	graphics
 
 SHARED_LIBS +=  sharpyuv             0.1      # 0.0
Index: patches/patch-examples_cwebp_c
===================================================================
RCS file: patches/patch-examples_cwebp_c
diff -N patches/patch-examples_cwebp_c
--- patches/patch-examples_cwebp_c	16 Jul 2025 12:38:02 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,18 +0,0 @@
-cwebp.c:186:47: error: no member named 'cross_color_transform_bits' in 'struct WebPAuxStats'
-
-Index: examples/cwebp.c
---- examples/cwebp.c.orig
-+++ examples/cwebp.c
-@@ -184,9 +184,9 @@ static void PrintFullLosslessInfo(const WebPAuxStats* 
-   if (stats->lossless_features & 1) {
-     fprintf(stderr, " prediction=%d", stats->transform_bits);
-   }
--  if (stats->lossless_features & 2) {
--    fprintf(stderr, " cross-color=%d", stats->cross_color_transform_bits);
--  }
-+  //if (stats->lossless_features & 2) {
-+  //  fprintf(stderr, " cross-color=%d", stats->cross_color_transform_bits);
-+  //}
-   fprintf(stderr, " cache=%d\n", stats->cache_bits);
-   if (stats->palette_size > 0) {
-     fprintf(stderr, "  * Palette size:   %d\n", stats->palette_size);