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

  1. Submitted By: Joe Ciccone <joeciccone at crazyeyesoft dot com>
  2. Date: 2005-08-23
  3. Initial Package Version: 2.10.0
  4. Upstream Status: unknown
  5. Origin: Fedora Core CVS
  6. Rediffed by Ken Moffat to fix it
  7. Description: Adds a forward declaration that GCC4 wants
  8. diff -Naur gpdf-2.10.0.orig/xpdf/TextOutputDev.h gpdf-2.10.0/xpdf/TextOutputDev.h
  9. --- gpdf-2.10.0.orig/xpdf/TextOutputDev.h 2005-08-23 21:59:57.000000000 +0000
  10. +++ gpdf-2.10.0/xpdf/TextOutputDev.h 2005-08-23 22:00:10.000000000 +0000
  11. @@ -166,6 +166,8 @@
  12. // TextLine
  13. //------------------------------------------------------------------------
  14. +class TextBlock;
  15. +
  16. class TextLine {
  17. public:
  18. @@ -223,6 +225,8 @@
  19. // TextBlock
  20. //------------------------------------------------------------------------
  21. +class TextPage;
  22. +
  23. class TextBlock {
  24. public:
  25. @@ -342,6 +346,8 @@
  26. // TextPage
  27. //------------------------------------------------------------------------
  28. +class TextLineFrag;
  29. +
  30. class TextPage {
  31. public:
  32. Submitted By: Ken Moffat <ken at linuxfromscratch.org>
  33. Date: 2005-09-09
  34. Initial Package Version: 2.10.0
  35. Upstream Status: unknown
  36. Origin: from gentoo
  37. Description: Allows gpdf to compile on x86_64 with gcc4
  38. (apply on top of the gcc4 patch)
  39. --- gpdf-2.10.0/xpdf/gpdf-control.cc 2005-05-20 15:03:29.000000000 +0200
  40. +++ gpdf-2.10.0.az/xpdf/gpdf-control.cc 2005-05-20 15:06:39.000000000 +0200
  41. @@ -209,12 +209,12 @@
  42. const gchar * status)
  43. {
  44. GPdfControlPrivate *priv;
  45. - guint to_id;
  46. + unsigned long to_id;
  47. g_return_if_fail (GPDF_IS_NON_NULL_CONTROL (control));
  48. priv = control->priv;
  49. - if ((to_id = (unsigned int)
  50. + if ((to_id = (unsigned long)
  51. g_object_get_data (G_OBJECT (control),
  52. "status-timeout-id")) != 0) {
  53. g_object_set_data (G_OBJECT (control),