DjVuViewer: bump version

This commit is contained in:
Gerasim Troeglazov
2018-07-10 00:14:06 +10:00
parent 7b02219735
commit afa120b829
2 changed files with 7 additions and 36 deletions

View File

@@ -18,18 +18,15 @@ Translators
* PgUp/PgDown navigation
* Smooth scaling based on Haiku's ShowImage filter
* Ability to go to specific page number"
HOMEPAGE="http://haikuware.ru/software/djvuviewer"
COPYRIGHT="2005-2015 3dEyes**"
HOMEPAGE="https://github.com/threedeyes/DjVuViewer"
COPYRIGHT="2005-2018 3dEyes**"
LICENSE="GNU GPL v2"
REVISION="2"
commit="524f235914ce359acc11906a130a647ab9249c6c"
SOURCE_URI="https://github.com/threedeyes/DjVuViewer/archive/$commit.tar.gz"
SOURCE_FILENAME="$portName-$commit.tar.gz"
SOURCE_DIR="DjVuViewer-$commit"
CHECKSUM_SHA256="16698d790fceb8c956e5cae4b460f511600443af4ac6821920e736ac6a3e6b66"
PATCHES="djvuviewer-$portVersion.patchset"
REVISION="1"
SOURCE_URI="https://github.com/threedeyes/DjVuViewer/archive/$portVersion.tar.gz"
SOURCE_DIR="DjVuViewer-$portVersion"
CHECKSUM_SHA256="a444c25bf889407ccdbb5a1250f37cf2122990e99894057f768dcb180088f5d9"
ARCHITECTURES="x86_gcc2 x86"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
djvuviewer = $portVersion

View File

@@ -1,26 +0,0 @@
From 31291746859d2d9fd9c5b75ee61783eae8e5e547 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@gmail.com>
Date: Sun, 7 Aug 2016 14:06:56 +0200
Subject: remove duplicate isdigit implementation.
diff --git a/Includes/MainWindow.h b/Includes/MainWindow.h
index d6e83e0..c455b14 100644
--- a/Includes/MainWindow.h
+++ b/Includes/MainWindow.h
@@ -19,12 +19,6 @@
const uint32 MSG_OUTPUT_TYPE = 'BTMN';
const uint32 MSG_SAVE_PANEL = 'mFSP';
-inline int isdigit(char c)
-{
- if(c<='9' && c>='0')return 0;
- return -1;
-}
-
class DjVuWindow : public BWindow
{
--
2.7.0