Files
haikuports/haiku-apps/bepdf/patches/bepdf-2.0.0.patchset
miqlas e781c854be BePDF: reordered recipes, enabled x64 for 2.x, patch (#981)
* BePDF: reordered recipes, enabled x64 for 2.0, patch

* x64 support for the latest BePDF version

* BePDF : forgot to add the actual patch

* Forgot the arch.

* Reversing patch logic

* Increment revision
2017-01-01 12:06:23 -05:00

40 lines
1.2 KiB
Plaintext

From 524ac50c7e64b0a5a3ce223f9d3d0764fbf55d6b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Sun, 1 Jan 2017 16:43:52 +0100
Subject: [PATCH] Haiku x86_64 patches
---
bepdf/Makefile | 2 +-
bepdf/beos/BepdfApplication.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bepdf/Makefile b/bepdf/Makefile
index d3871be..8392b8d 100644
--- a/bepdf/Makefile
+++ b/bepdf/Makefile
@@ -150,7 +150,7 @@ SYMBOLS :=
DEBUGGER :=
# Specify any additional compiler flags to be used.
-COMPILER_FLAGS = -Wno-write-strings
+COMPILER_FLAGS = -Wno-write-strings -fpermissive
# Specify any additional linker flags to be used.
LINKER_FLAGS = $(shell freetype-config --libs)
diff --git a/bepdf/beos/BepdfApplication.cpp b/bepdf/beos/BepdfApplication.cpp
index b45a84b..e60eb25 100644
--- a/bepdf/beos/BepdfApplication.cpp
+++ b/bepdf/beos/BepdfApplication.cpp
@@ -29,7 +29,7 @@
#include <be/app/Roster.h>
#include <be/interface/Screen.h>
#include <be/StorageKit.h>
-#include <be/be_apps/Deskbar/Deskbar.h>
+#include <be/interface/Deskbar.h>
#include <be/interface/Alert.h>
#include <gtypes.h>
--
2.11.0