diff --git a/haiku-apps/documentviewer/documentviewer-0.3_git.recipe b/haiku-apps/documentviewer/documentviewer-0.3_git.recipe index f860a33cd..69ae64708 100644 --- a/haiku-apps/documentviewer/documentviewer-0.3_git.recipe +++ b/haiku-apps/documentviewer/documentviewer-0.3_git.recipe @@ -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" diff --git a/haiku-apps/documentviewer/patches/documentviewer-0.3_git.patchset b/haiku-apps/documentviewer/patches/documentviewer-0.3_git.patchset deleted file mode 100644 index 6a44b2603..000000000 --- a/haiku-apps/documentviewer/patches/documentviewer-0.3_git.patchset +++ /dev/null @@ -1,21 +0,0 @@ -From 41ca688e6df4c23f387a22d3c3e0418028e74f09 Mon Sep 17 00:00:00 2001 -From: Jerome Duval -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 -+#include - #include - - #include --- -2.10.2 -