From: Benjamin R. <ran...@us...> - 2002-07-30 17:02:11
|
Update of /cvsroot/fink/experimental/jaguar In directory usw-pr-cvs1:/tmp/cvs-serv27253 Added Files: xpdf-1.01-2.info xpdf-1.01-2.patch Log Message: added -fno-rtti (grr, their configure ignores CFLAGS/CPPFLAGS :P) --- NEW FILE: xpdf-1.01-2.info --- Package: xpdf Version: 1.01 Revision: 2 Source: ftp://www.foolabs.com/pub/%n/%n-%v.tar.gz Depends: x11, freetype2-shlibs, ghostscript-fonts, t1lib1-shlibs BuildDepends: bash, t1lib1, freetype2 Patch: %f.patch NoSetCPPFLAGS: true ConfigureParams: --mandir='${prefix}/share/man' --infodir='${prefix}/share/info' -with-freetype2-includes=%p/include/freetype2 --with-t1-includes=%p/include CompileScript: %p/bin/bash configure %c; make Description: Viewer for Portable Document Format (PDF) files. License: GPL DocFiles: README INSTALL CHANGES COPYING DescPort: << Requires bash to execute configure script. << Maintainer: Jeffrey Whitaker <js...@cd...> Homepage: http://www.foolabs.com/xpdf --- NEW FILE: xpdf-1.01-2.patch --- diff -uNbr xpdf-1.01/configure xpdf-1.01-new/configure --- xpdf-1.01/configure 2002-05-21 01:40:09.000000000 -0500 +++ xpdf-1.01-new/configure 2002-07-30 11:57:55.000000000 -0500 @@ -1905,15 +1905,15 @@ CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then - CFLAGS="-g -O2" + CFLAGS="-g -O2 -fno-rtti" else - CFLAGS="-g" + CFLAGS="-g -fno-rtti" fi else if test "$GCC" = yes; then - CFLAGS="-O2" + CFLAGS="-O2 -fno-rtti" else - CFLAGS= + CFLAGS="-fno-rtti" fi fi # Some people use a C++ compiler to compile C. Since we use `exit', @@ -2464,15 +2464,15 @@ CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then - CXXFLAGS="-g -O2" + CXXFLAGS="-g -O2 -fno-rtti" else - CXXFLAGS="-g" + CXXFLAGS="-g -fno-rtti" fi else if test "$GXX" = yes; then - CXXFLAGS="-O2" + CXXFLAGS="-O2 -fno-rtti" else - CXXFLAGS= + CXXFLAGS="-fno-rtti" fi fi for ac_declaration in \ diff -uNbr xpdf-1.01/doc/sample-xpdfrc xpdf-1.01-new/doc/sample-xpdfrc --- xpdf-1.01/doc/sample-xpdfrc 2002-05-21 01:40:09.000000000 -0500 +++ xpdf-1.01-new/doc/sample-xpdfrc 2002-07-30 11:52:21.000000000 -0500 @@ -46,20 +46,20 @@ # this, but you'll need to adjust this to point to wherever # ghostscript is installed on your system. -#displayFontT1 Times-Roman /usr/local/share/ghostscript/fonts/n021003l.pfb -#displayFontT1 Times-Italic /usr/local/share/ghostscript/fonts/n021023l.pfb -#displayFontT1 Times-Bold /usr/local/share/ghostscript/fonts/n021004l.pfb -#displayFontT1 Times-BoldItalic /usr/local/share/ghostscript/fonts/n021024l.pfb -#displayFontT1 Helvetica /usr/local/share/ghostscript/fonts/n019003l.pfb -#displayFontT1 Helvetica-Oblique /usr/local/share/ghostscript/fonts/n019023l.pfb -#displayFontT1 Helvetica-Bold /usr/local/share/ghostscript/fonts/n019004l.pfb -#displayFontT1 Helvetica-BoldOblique /usr/local/share/ghostscript/fonts/n019024l.pfb -#displayFontT1 Courier /usr/local/share/ghostscript/fonts/n022003l.pfb -#displayFontT1 Courier-Oblique /usr/local/share/ghostscript/fonts/n022023l.pfb -#displayFontT1 Courier-Bold /usr/local/share/ghostscript/fonts/n022004l.pfb -#displayFontT1 Courier-BoldOblique /usr/local/share/ghostscript/fonts/n022024l.pfb -#displayFontT1 Symbol /usr/local/share/ghostscript/fonts/s050000l.pfb -#displayFontT1 ZapfDingbats /usr/local/share/ghostscript/fonts/d050000l.pfb +displayFontT1 Times-Roman /sw/share/ghostscript/fonts/n021003l.pfb +displayFontT1 Times-Italic /sw/share/ghostscript/fonts/n021023l.pfb +displayFontT1 Times-Bold /sw/share/ghostscript/fonts/n021004l.pfb +displayFontT1 Times-BoldItalic /sw/share/ghostscript/fonts/n021024l.pfb +displayFontT1 Helvetica /sw/share/ghostscript/fonts/n019003l.pfb +displayFontT1 Helvetica-Oblique /sw/share/ghostscript/fonts/n019023l.pfb +displayFontT1 Helvetica-Bold /sw/share/ghostscript/fonts/n019004l.pfb +displayFontT1 Helvetica-BoldOblique /sw/share/ghostscript/fonts/n019024l.pfb +displayFontT1 Courier /sw/share/ghostscript/fonts/n022003l.pfb +displayFontT1 Courier-Oblique /sw/share/ghostscript/fonts/n022023l.pfb +displayFontT1 Courier-Bold /sw/share/ghostscript/fonts/n022004l.pfb +displayFontT1 Courier-BoldOblique /sw/share/ghostscript/fonts/n022024l.pfb +displayFontT1 Symbol /sw/share/ghostscript/fonts/s050000l.pfb +displayFontT1 ZapfDingbats /sw/share/ghostscript/fonts/d050000l.pfb # If you need to display PDF files that refer to non-embedded fonts, # you should add one or more fontDir options to point to the |