ports/www/chromium/files/patch-ui_gfx_codec_png__codec.cc
Rene Ladan a23dfd214a www/chromium: update to 98.0.4758.102
- The port now uses the combined patch set for OpenBSD and FreeBSD
  maintained by Robert Nagy.
- Fix build on i386 again.
Obtained from:	Robert Nagy <robert@openbsd.org>
Security:	https://vuxml.freebsd.org/freebsd/e12432af-8e73-11ec-8bc4-3065ec8fd3ec.html
Security:	https://vuxml.freebsd.org/freebsd/e852f43c-846e-11ec-b043-3065ec8fd3ec.html
2022-02-20 12:42:02 +01:00

11 lines
434 B
C++

--- ui/gfx/codec/png_codec.cc.orig 2022-02-07 13:39:41 UTC
+++ ui/gfx/codec/png_codec.cc
@@ -10,7 +10,7 @@
#include "base/memory/raw_ptr.h"
#include "base/notreached.h"
#include "base/strings/string_util.h"
-#include "third_party/libpng/png.h"
+#include <png.h>
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkColorPriv.h"
#include "third_party/skia/include/core/SkUnPreMultiply.h"