epdfview: adopted and fixed the build with gcc 4.3.
This commit is contained in:
parent
fc10f08b76
commit
8b0fb156cb
@ -1 +1,2 @@
|
|||||||
cce9edb41b4a8308e0ef0eea24b5a1ab epdfview-0.1.6.tar.bz2
|
cce9edb41b4a8308e0ef0eea24b5a1ab epdfview-0.1.6.tar.bz2
|
||||||
|
a45d5136767dd57c7753e25ca1904cbc epdfview.diff
|
||||||
|
@ -1,15 +1,17 @@
|
|||||||
# Description: a GTK based pdf viewer
|
# Description: a GTK based pdf viewer
|
||||||
# URL: http://www.emma-soft.com/projects/epdfview
|
# URL: http://www.emma-soft.com/projects/epdfview
|
||||||
# Maintainer: Simone Rota, sip at crux dot nu
|
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
|
||||||
# Depends on: poppler
|
# Depends on: poppler
|
||||||
|
|
||||||
name=epdfview
|
name=epdfview
|
||||||
version=0.1.6
|
version=0.1.6
|
||||||
release=1
|
release=1
|
||||||
source=(http://www.emma-soft.com/projects/epdfview/chrome/site/releases/$name-$version.tar.bz2)
|
source=(http://www.emma-soft.com/projects/epdfview/chrome/site/releases/$name-$version.tar.bz2
|
||||||
|
$name.diff)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
patch -Np1 -i $SRC/$name.diff
|
||||||
./configure --prefix=/usr --disable-nls
|
./configure --prefix=/usr --disable-nls
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
12
epdfview/epdfview.diff
Normal file
12
epdfview/epdfview.diff
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -aur epdfview-0.1.6.orig/src/IDocumentLink.h epdfview-0.1.6/src/IDocumentLink.h
|
||||||
|
--- epdfview-0.1.6.orig/src/IDocumentLink.h 2006-10-17 16:23:19.000000000 +0200
|
||||||
|
+++ epdfview-0.1.6/src/IDocumentLink.h 2008-10-25 12:33:20.478624280 +0200
|
||||||
|
@@ -33,7 +33,7 @@
|
||||||
|
class IDocumentLink
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
- IDocumentLink (gdouble x1, gdouble y1, gdouble x2, gdouble y1);
|
||||||
|
+ IDocumentLink (gdouble x1, gdouble y1, gdouble x2, gdouble y2);
|
||||||
|
virtual ~IDocumentLink (void);
|
||||||
|
|
||||||
|
virtual void activate (IDocument *document) = 0;
|
Loading…
x
Reference in New Issue
Block a user