[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

KOFFICE_1_3_BRANCH: koffice/debian/patches



CVS commit by benb: 

Don't forget limits.h


  M +24 -8     xpdf.diff   1.1.2.2


--- koffice/debian/patches/xpdf.diff  #1.1.2.1:1.1.2.2
@@ -1,5 +1,13 @@
 --- koffice/filters/kword/pdf/xpdf/xpdf/Catalog.cc      22 Oct 2004 12:13:56 -0000      1.1.2.1
-+++ koffice/filters/kword/pdf/xpdf/xpdf/Catalog.cc      27 Oct 2004 10:33:25 -0000
-@@ -63,8 +63,8 @@ Catalog::Catalog(XRef *xrefA) {
++++ koffice/filters/kword/pdf/xpdf/xpdf/Catalog.cc      27 Oct 2004 10:51:55 -0000
+@@ -12,6 +12,7 @@
+ #pragma implementation
+ #endif
+ 
++#include <limits.h>
+ #include <stddef.h>
+ #include "gmem.h"
+ #include "Object.h"
+@@ -63,8 +64,8 @@ Catalog::Catalog(XRef *xrefA) {
    }
    pagesSize = numPages0 = obj.getInt();
@@ -12,5 +20,5 @@
      ok = gFalse;
      return;
-@@ -196,8 +196,8 @@ int Catalog::readPageTree(Dict *pagesDic
+@@ -196,8 +197,8 @@ int Catalog::readPageTree(Dict *pagesDic
        }
        if (start >= pagesSize) {
@@ -24,6 +32,14 @@
          }
 --- koffice/filters/kword/pdf/xpdf/xpdf/XRef.cc 22 Oct 2004 12:13:56 -0000      1.1.2.1
-+++ koffice/filters/kword/pdf/xpdf/xpdf/XRef.cc 27 Oct 2004 10:33:25 -0000
-@@ -76,7 +76,7 @@ XRef::XRef(BaseStream *strA, GString *ow
++++ koffice/filters/kword/pdf/xpdf/xpdf/XRef.cc 27 Oct 2004 10:51:56 -0000
+@@ -12,6 +12,7 @@
+ #pragma implementation
+ #endif
+ 
++#include <limits.h>
+ #include <stdlib.h>
+ #include <stddef.h>
+ #include <string.h>
+@@ -76,7 +77,7 @@ XRef::XRef(BaseStream *strA, GString *ow
  
    // trailer is ok - read the xref table
@@ -34,5 +50,5 @@
        ok = gFalse;
        errCode = errDamaged;
-@@ -273,7 +273,7 @@ GBool XRef::readXRef(Guint *pos) {
+@@ -273,7 +274,7 @@ GBool XRef::readXRef(Guint *pos) {
      // table size
      if (first + n > size) {
@@ -43,5 +59,5 @@
          goto err2;
        }
-@@ -420,7 +420,7 @@ GBool XRef::constructXRef() {
+@@ -420,7 +421,7 @@ GBool XRef::constructXRef() {
             if (!strncmp(p, "obj", 3)) {
               if (num >= size) {
@@ -52,5 +68,5 @@
                   return gFalse;
                 }
-@@ -445,7 +445,7 @@ GBool XRef::constructXRef() {
+@@ -445,7 +446,7 @@ GBool XRef::constructXRef() {
      } else if (!strncmp(p, "endstream", 9)) {
        if (streamEndsLen == streamEndsSize) {




Reply to: