Files
harbour-core/harbour/external/libhpdf/libhpdf.dif
Viktor Szakats 1f7941eeeb 2010-10-23 14:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/libhpdf.dif
    * Patched up the diff file, fixing previous problem and applying
      recent local change. Thanks to Tamas Tevesz for this patch.
2010-10-23 12:16:48 +00:00

42 lines
1.2 KiB
Plaintext

diff -urN libhpdf.orig/hpdf.h libhpdf/hpdf.h
--- libhpdf.orig/hpdf.h 2010-10-23 14:01:35.000000000 +0200
+++ libhpdf/hpdf.h 2010-10-23 14:01:35.000000000 +0200
@@ -17,7 +17,7 @@
#ifndef _HPDF_H
#define _HPDF_H
-#include "hpdf_config.h"
+#include "hpdfcfg.h"
#include "hpdfvers.h"
#ifdef HPDF_DLL_MAKE
diff -urN libhpdf.orig/hpdfpdfa.c libhpdf/hpdfpdfa.c
--- libhpdf.orig/hpdfpdfa.c 2010-10-23 14:01:34.000000000 +0200
+++ libhpdf/hpdfpdfa.c 2010-10-23 14:01:34.000000000 +0200
@@ -116,12 +116,12 @@
HPDF_BYTE *currentTime;
HPDF_BYTE idkey[HPDF_MD5_KEY_LEN];
HPDF_MD5_CTX md5_ctx;
+ HPDF_Array id;
time_t ltime;
ltime = time(NULL);
currentTime = (HPDF_BYTE *)ctime(&ltime);
- HPDF_Array id;
id = HPDF_Dict_GetItem(pdf->trailer, "ID", HPDF_OCLASS_ARRAY);
if (!id) {
id = HPDF_Array_New(pdf->mmgr);
diff -urN libhpdf.orig/hpdfutil.h libhpdf/hpdfutil.h
--- libhpdf.orig/hpdfutil.h 2010-10-23 14:01:36.000000000 +0200
+++ libhpdf/hpdfutil.h 2010-10-23 14:01:36.000000000 +0200
@@ -18,7 +18,7 @@
#ifndef _HPDF_UTILS_H
#define _HPDF_UTILS_H
-#include "hpdf_config.h"
+#include "hpdfcfg.h"
#include "hpdftype.h"
#ifdef __cplusplus