claws-mail: fix build

This commit is contained in:
Gerasim Troeglazov
2022-11-19 11:01:19 +10:00
parent 06ae163edd
commit dfda197aaa
2 changed files with 24 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ if the required libraries are present."
HOMEPAGE="https://www.claws-mail.org/"
COPYRIGHT="1999-2022 the Claws Mail team and Hiroyuki Yamamoto"
LICENSE="GNU GPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="https://www.claws-mail.org/download.php?file=releases/claws-mail-$portVersion.tar.xz"
CHECKSUM_SHA256="b189e700c1896f5e0deb0b76d4bfa820eb7ac1935ee10aa9afbada3cf53a0344"
SOURCE_DIR="claws-mail-$portVersion"

View File

@@ -157,3 +157,26 @@ index 5908f9d..7bd9c2e 100644
--
2.37.3
From 1cb3cfe3b96ab289c6523309841e29a92ba61575 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Sat, 19 Nov 2022 10:56:28 +1000
Subject: Fix build poppler plugin
diff --git a/src/plugins/pdf_viewer/poppler_viewer.h b/src/plugins/pdf_viewer/poppler_viewer.h
index c536fcf..d8672ff 100644
--- a/src/plugins/pdf_viewer/poppler_viewer.h
+++ b/src/plugins/pdf_viewer/poppler_viewer.h
@@ -22,7 +22,7 @@
//#include <unistd.h>
#include <stdio.h>
#include <gtk/gtk.h>
-#ifndef G_OS_WIN32
+#if !defined(G_OS_WIN32) && !defined(__HAIKU__)
#include <gdk/gdkx.h>
#endif
#include <gdk/gdkkeysyms.h>
--
2.37.3