File xpdf-postscript-lc-numeric.patch of Package xpdf

--- xpdf-3.01/xpdf/PSOutputDev.cc
+++ xpdf-3.01/xpdf/PSOutputDev.cc
@@ -7,6 +7,7 @@
 //========================================================================
 
 #include <aconf.h>
+#include <locale.h>
 
 #ifdef USE_GCC_PRAGMAS
 #pragma implementation
@@ -974,6 +975,7 @@
   Page *page;
   PDFRectangle *box;
 
+  setlocale(LC_NUMERIC,"POSIX");
   // initialize
   ok = gTrue;
   outputFunc = outputFuncA;
openSUSE Build Service is sponsored by