.
OBS-URL: https://build.opensuse.org/package/show/graphics/xfig?expand=0&rev=11
This commit is contained in:
parent
4169a21e97
commit
6d8e855dc5
13
xfig.3.2.5b-preview.dif
Normal file
13
xfig.3.2.5b-preview.dif
Normal file
@ -0,0 +1,13 @@
|
||||
--- f_readeps.c
|
||||
+++ f_readeps.c 2010-08-10 10:50:57.699132894 +0000
|
||||
@@ -318,8 +318,8 @@ bitmap_from_gs(file, filetype, pic, urx,
|
||||
gscom[0] = '\0';
|
||||
}
|
||||
sprintf(&gscom[strlen(gscom)],
|
||||
- "%s -r72x72 -dSAFER -sDEVICE=%s -g%dx%d -sOutputFile=%s -q - > %s 2>&1",
|
||||
- appres.ghostscript, driver, wid, ht, pixnam, errnam);
|
||||
+ "%s -r72x72 -dNOSAFER -sDEVICE=%s -g%dx%d -sOutputFile=%s -c '<</PermitFileReading[(%s)]>> setuserparams .locksafe' -q - > %s 2>&1",
|
||||
+ appres.ghostscript, driver, wid, ht, pixnam, psnam, errnam);
|
||||
if (appres.DEBUG)
|
||||
fprintf(stderr,"calling: %s\n",gscom);
|
||||
if ((gsfile = popen(gscom, "w")) == 0) {
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 10 13:00:25 CEST 2010 - werner@suse.de
|
||||
|
||||
- Make eps/ps import work again. This trouble was caused by the
|
||||
security fix for ghostscript of bug bnc#608071
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 17:24:01 CEST 2010 - werner@suse.de
|
||||
|
||||
|
@ -48,6 +48,7 @@ Patch6: xfig.3.2.5b-locale.dif
|
||||
Patch7: xfig.3.2.5b-fixes.dif
|
||||
Patch8: xfig.3.2.5b-pspdftex.dif
|
||||
Patch9: xfig.3.2.5b-libpng14.dif
|
||||
Patch10: xfig.3.2.5b-preview.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
|
||||
%if "%_exec_prefix" == "/usr/X11R6"
|
||||
@ -94,6 +95,7 @@ find -type f | xargs -r chmod a-x,go-w
|
||||
%patch7 -p0 -b .fixes
|
||||
%patch8 -p0 -b .pspdftex
|
||||
%patch9 -p0 -b .libpng14
|
||||
%patch10 -p0 -b .preview
|
||||
cp %{S:1} .
|
||||
|
||||
%build
|
||||
|
Loading…
x
Reference in New Issue
Block a user