mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
documentviewer: patch is upstreamed. (#940)
This commit is contained in:
@@ -3,11 +3,11 @@ DESCRIPTION="DocumentViewer is a viewer that supports PDF and DJVU files."
|
||||
HOMEPAGE="http://github.com/HaikuArchives/DocumentViewer"
|
||||
COPYRIGHT="2010-2014 Haiku, Inc"
|
||||
LICENSE="MIT"
|
||||
REVISION="9"
|
||||
SOURCE_URI="https://github.com/HaikuArchives/DocumentViewer/archive/185b59ce4bd850b28c2c3cfcc20a4e2677d4bd44.tar.gz"
|
||||
CHECKSUM_SHA256="29123fbad4ebf83a829480f0e8136e1e55286ae351c6a030ab3e8617481719fc"
|
||||
SOURCE_DIR="DocumentViewer-185b59ce4bd850b28c2c3cfcc20a4e2677d4bd44"
|
||||
PATCHES="documentviewer-0.3_git.patchset"
|
||||
REVISION="10"
|
||||
srcGitRev="1a5dbd73801b76d348a688b21566d3f02e9d45ea"
|
||||
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="be62f6644894a9143795ef0b2b5b5963a2e8220362955bf8f860f3c3043a82d0"
|
||||
SOURCE_DIR="DocumentViewer-$srcGitRev"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
From 41ca688e6df4c23f387a22d3c3e0418028e74f09 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Wed, 7 Dec 2016 14:51:42 +0000
|
||||
Subject: missing cmath for std::sqrt().
|
||||
|
||||
|
||||
diff --git a/application/PrintingWindow.cpp b/application/PrintingWindow.cpp
|
||||
index 2c3fc44..5513008 100644
|
||||
--- a/application/PrintingWindow.cpp
|
||||
+++ b/application/PrintingWindow.cpp
|
||||
@@ -9,6 +9,7 @@
|
||||
#include "PrintingWindow.h"
|
||||
|
||||
#include <algorithm>
|
||||
+#include <cmath>
|
||||
#include <memory>
|
||||
|
||||
#include <Application.h>
|
||||
--
|
||||
2.10.2
|
||||
|
||||
Reference in New Issue
Block a user