mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

64 lines
1.7 KiB

Submitted By: Joe Ciccone <joeciccone at crazyeyesoft dot com>
Date: 2005-08-23
Initial Package Version: 2.10.0
Upstream Status: unknown
Origin: Fedora Core CVS
Rediffed by Ken Moffat to fix it
Description: Adds a forward declaration that GCC4 wants
diff -Naur gpdf-2.10.0.orig/xpdf/TextOutputDev.h gpdf-2.10.0/xpdf/TextOutputDev.h
--- gpdf-2.10.0.orig/xpdf/TextOutputDev.h 2005-08-23 21:59:57.000000000 +0000
+++ gpdf-2.10.0/xpdf/TextOutputDev.h 2005-08-23 22:00:10.000000000 +0000
@@ -166,6 +166,8 @@
// TextLine
//------------------------------------------------------------------------
+class TextBlock;
+
class TextLine {
public:
@@ -223,6 +225,8 @@
// TextBlock
//------------------------------------------------------------------------
+class TextPage;
+
class TextBlock {
public:
@@ -342,6 +346,8 @@
// TextPage
//------------------------------------------------------------------------
+class TextLineFrag;
+
class TextPage {
public:
Submitted By: Ken Moffat <ken at linuxfromscratch.org>
Date: 2005-09-09
Initial Package Version: 2.10.0
Upstream Status: unknown
Origin: from gentoo
Description: Allows gpdf to compile on x86_64 with gcc4
(apply on top of the gcc4 patch)
--- gpdf-2.10.0/xpdf/gpdf-control.cc 2005-05-20 15:03:29.000000000 +0200
+++ gpdf-2.10.0.az/xpdf/gpdf-control.cc 2005-05-20 15:06:39.000000000 +0200
@@ -209,12 +209,12 @@
const gchar * status)
{
GPdfControlPrivate *priv;
- guint to_id;
+ unsigned long to_id;
g_return_if_fail (GPDF_IS_NON_NULL_CONTROL (control));
priv = control->priv;
- if ((to_id = (unsigned int)
+ if ((to_id = (unsigned long)
g_object_get_data (G_OBJECT (control),
"status-timeout-id")) != 0) {
g_object_set_data (G_OBJECT (control),