summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Shakaryan <omp@gentoo.org>2008-04-22 06:30:10 +0000
committerDavid Shakaryan <omp@gentoo.org>2008-04-22 06:30:10 +0000
commit14f0831273f2108a47043539114c6ae88030668c (patch)
tree257d7c5cb09798defc6646715353ad1437f04ad0 /app-text
parentold (diff)
downloadgentoo-2-14f0831273f2108a47043539114c6ae88030668c.tar.gz
gentoo-2-14f0831273f2108a47043539114c6ae88030668c.tar.bz2
gentoo-2-14f0831273f2108a47043539114c6ae88030668c.zip
Fix compilation issue with GCC 4.3; patch by ape. (bug #214070)
(Portage version: 2.1.5_rc3)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/epdfview/ChangeLog6
-rw-r--r--app-text/epdfview/epdfview-0.1.6-r1.ebuild3
-rw-r--r--app-text/epdfview/files/epdfview-0.1.6-gcc-4.3.patch11
3 files changed, 18 insertions, 2 deletions
diff --git a/app-text/epdfview/ChangeLog b/app-text/epdfview/ChangeLog
index 9364ae6c7e8e..d13dfa7c54a4 100644
--- a/app-text/epdfview/ChangeLog
+++ b/app-text/epdfview/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/epdfview
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/ChangeLog,v 1.26 2008/01/04 08:51:40 omp Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/ChangeLog,v 1.27 2008/04/22 06:30:09 omp Exp $
+
+ 22 Apr 2008; David Shakaryan <omp@gentoo.org>
+ +files/epdfview-0.1.6-gcc-4.3.patch, epdfview-0.1.6-r1.ebuild:
+ Fix compilation issue with GCC 4.3; patch by ape. (bug #214070)
04 Jan 2008; David Shakaryan <omp@gentoo.org> -epdfview-0.1.6.ebuild:
Remove older version.
diff --git a/app-text/epdfview/epdfview-0.1.6-r1.ebuild b/app-text/epdfview/epdfview-0.1.6-r1.ebuild
index 152e434d74e1..0fada1977abf 100644
--- a/app-text/epdfview/epdfview-0.1.6-r1.ebuild
+++ b/app-text/epdfview/epdfview-0.1.6-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/epdfview-0.1.6-r1.ebuild,v 1.6 2008/01/03 18:36:50 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/epdfview-0.1.6-r1.ebuild,v 1.7 2008/04/22 06:30:09 omp Exp $
inherit eutils
@@ -34,6 +34,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}/${P}-gcc-4.3.patch"
epatch "${FILESDIR}/${P}-print-segfault.patch"
}
diff --git a/app-text/epdfview/files/epdfview-0.1.6-gcc-4.3.patch b/app-text/epdfview/files/epdfview-0.1.6-gcc-4.3.patch
new file mode 100644
index 000000000000..a8835a953776
--- /dev/null
+++ b/app-text/epdfview/files/epdfview-0.1.6-gcc-4.3.patch
@@ -0,0 +1,11 @@
+--- IDocumentLink.h 2008-03-20 19:16:03.000000000 +0100
++++ epdfview-1.6-r1/src/IDocumentLink.h 2008-03-20 19:16:43.000000000 +0100
+@@ -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;