openbsd-ports/www/chromium/patches/patch-third_party_iccjpeg_iccjpeg_h
robert 1d1f0ea496 update to 15.0.874.102.
switch from using the hacked macosx transport dib to the linux one
which uses sysv shms.
make sure you also have a current kernel before using this version
2011-10-27 07:59:08 +00:00

17 lines
395 B
Plaintext

$OpenBSD: patch-third_party_iccjpeg_iccjpeg_h,v 1.2 2011/10/27 07:59:09 robert Exp $
--- third_party/iccjpeg/iccjpeg.h.orig Fri Oct 21 10:29:58 2011
+++ third_party/iccjpeg/iccjpeg.h Wed Oct 26 13:43:17 2011
@@ -17,7 +17,12 @@
*/
#include <stdio.h> /* needed to define "FILE", "NULL" */
+
+#if defined(USE_SYSTEM_LIBJPEG)
+#include <jpeglib.h>
+#else
#include "jpeglib.h"
+#endif
/*