mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
bescreencapture: fix build.
This commit is contained in:
@@ -8,10 +8,11 @@ HOMEPAGE="https://github.com/jackburton79/bescreencapture/releases"
|
||||
COPYRIGHT="2014-2018 Stefano Ceccherini"
|
||||
LICENSE="BSD (3-clause)
|
||||
MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/jackburton79/bescreencapture/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7b4f7bcc5cb09cbe2e5fe0c631eb67a2159d0a3098f9141f9300de96930e57ba"
|
||||
SOURCE_FILENAME="bescreencapture-$portVersion.tar.gz"
|
||||
PATCHES="bescreencapture-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
From 5ac8d968c0f016d61d64fe0884f6ad6b69707b21 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Sat, 24 Nov 2018 15:55:31 +0100
|
||||
Subject: include algorithm for std::max.
|
||||
|
||||
|
||||
diff --git a/OutputView.cpp b/OutputView.cpp
|
||||
index 109d7ab..218b096 100644
|
||||
--- a/OutputView.cpp
|
||||
+++ b/OutputView.cpp
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <TextControl.h>
|
||||
#include <Window.h>
|
||||
|
||||
+#include <algorithm>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
--
|
||||
2.19.1
|
||||
|
||||
Reference in New Issue
Block a user