Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / xpdf / libxpdf.patch
blob606da76c72933d2df217e4f2ee7dee4e78b32f0e
1 diff -rc xpdf-3.02/xpdf/Makefile.in xpdf-3.02-new/xpdf/Makefile.in
2 *** xpdf-3.02/xpdf/Makefile.in 2007-02-27 23:05:52.000000000 +0100
3 --- xpdf-3.02-new/xpdf/Makefile.in 2010-08-25 14:54:14.000000000 +0200
4 ***************
5 *** 110,116 ****
6 pdffonts$(EXE) pdftoppm$(EXE) pdfimages$(EXE)
8 all-no-x: pdftops$(EXE) pdftotext$(EXE) pdfinfo$(EXE) pdffonts$(EXE) \
9 ! pdfimages$(EXE)
11 #------------------------------------------------------------------------
13 --- 110,116 ----
14 pdffonts$(EXE) pdftoppm$(EXE) pdfimages$(EXE)
16 all-no-x: pdftops$(EXE) pdftotext$(EXE) pdfinfo$(EXE) pdffonts$(EXE) \
17 ! pdfimages$(EXE) libxpdf.a
19 #------------------------------------------------------------------------
21 ***************
22 *** 248,253 ****
23 --- 248,269 ----
25 #------------------------------------------------------------------------
27 + PDFTOEPDF_OBJS = \
28 + Array.o BuiltinFont.o BuiltinFontTables.o CMap.o \
29 + Catalog.o CharCodeToUnicode.o Decrypt.o Dict.o Error.o \
30 + FontEncodingTables.o Gfx.o GfxFont.o GfxState.o \
31 + GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o JPXStream.o Lexer.o Link.o \
32 + NameToCharCode.o Object.o OutputDev.o Outline.o PDFDoc.o Page.o \
33 + Parser.o PDFDocEncoding.o Stream.o UnicodeMap.o XRef.o Function.o \
34 + PSTokenizer.o UnicodeTypeTable.o
36 + libxpdf.a: $(PDFTOEPDF_OBJS)
37 + rm -f $@
38 + $(AR) $(ARFLAGS) $@ *.o
39 + ranlib $@
41 + #------------------------------------------------------------------------
43 depend:
44 $(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >Makefile.dep