mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
Merge all changes from trunk
This commit is contained in:
26
media-libs/djvulibre/djvulibre-3.5.25.bep
Normal file
26
media-libs/djvulibre/djvulibre-3.5.25.bep
Normal file
@@ -0,0 +1,26 @@
|
||||
DESCRIPTION="DjVu is a web-centric format and software platform for distributing documents and images"
|
||||
HOMEPAGE="http://djvulibre.sourceforge.net/"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/djvu/DjVuLibre/3.5.25/djvulibre-3.5.25.2.tar.gz"
|
||||
CHECKSUM_MD5="994e2ff1d4ae6a763764dfe20509826e"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
|
||||
BUILD {
|
||||
cd djvulibre-3.5.25
|
||||
COMMON_DIR=`finddir B_COMMON_DIRECTORY`
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
|
||||
--datadir=`finddir B_COMMON_DATA_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd djvulibre-3.5.25
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2002 Leon Bottou and Yann Le Cun.
|
||||
2001 AT&T
|
||||
1999-2001 LizardTech, Inc."
|
||||
12
media-libs/djvulibre/patches/djvulibre-3.5.25.patch
Normal file
12
media-libs/djvulibre/patches/djvulibre-3.5.25.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -Naur djvulibre-3.5.25/libdjvu/miniexp.cpp djvulibre-3.5.25-haiku/libdjvu/miniexp.cpp
|
||||
--- djvulibre-3.5.25/libdjvu/miniexp.cpp 2012-03-17 23:49:02.048758784 +0100
|
||||
+++ djvulibre-3.5.25-haiku/libdjvu/miniexp.cpp 2012-03-25 14:42:11.949223424 +0200
|
||||
@@ -1010,7 +1010,7 @@
|
||||
if (io == &miniexp_io && !CompatCounter::count)
|
||||
return (*minilisp_getc)(); /* compatibility hack */
|
||||
FILE *f = (io->data[0]) ? (FILE*)(io->data[0]) : stdin;
|
||||
- return ::getc(f);
|
||||
+ return getc(f);
|
||||
}
|
||||
|
||||
static int
|
||||
Reference in New Issue
Block a user