about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/pdf2xml/pdf2xml.patch
blob: 596a3aea674971bc24bcf1e9cd86d63c72bde9b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
diff -rc pdf2xml/pdf2xml/Makefile.linux pdf2xml-new/pdf2xml/Makefile.linux
*** pdf2xml/Makefile.linux	2008-02-07 17:43:10.000000000 +0100
--- pdf2xml-new/Makefile.linux	2010-08-25 15:41:23.000000000 +0200
***************
*** 30,36 ****
  
  
  # Executable name
! PDFTOXMLEXE=pdftoxml.exe
  
  # Main target
  all: pdftoxmlEXE
--- 30,36 ----
  
  
  # Executable name
! PDFTOXMLEXE=pdftoxml
  
  # Main target
  all: pdftoxmlEXE
diff -rc pdf2xml/pdf2xml/src/pdftoxml.cc pdf2xml-new/pdf2xml/src/pdftoxml.cc
*** pdf2xml/src/pdftoxml.cc	2010-04-26 10:58:01.000000000 +0200
--- pdf2xml-new/src/pdftoxml.cc	2010-08-25 15:36:15.000000000 +0200
***************
*** 11,21 ****
  //
  //===========================================================================
  
  #include <aconf.h>
- #include <stdio.h>
  #include <stdlib.h>
  #include <stddef.h>
! #include <string.h>
  #include "parseargs.h"
  #include "GString.h"
  #include "gmem.h"
--- 11,21 ----
  //
  //===========================================================================
  
+ #include <string.h>
  #include <aconf.h>
  #include <stdlib.h>
  #include <stddef.h>
! #include <cstdio>
  #include "parseargs.h"
  #include "GString.h"
  #include "gmem.h"