File djvulibre-not-existing-icons.patch of Package djvulibre.12413

Index: djvulibre-3.5.25/desktopfiles/Makefile.in
===================================================================
--- djvulibre-3.5.25.orig/desktopfiles/Makefile.in
+++ djvulibre-3.5.25/desktopfiles/Makefile.in
@@ -58,7 +58,7 @@ ${PNGICONS}: djvu.svg
           || ${CONVERT} -geometry $${s}x$${s} -depth 8 -background none $< $@ \
 	  || ${INKSCAPE} --without-gui --export-width=$${s} \
                          --export-height=$${s} --export-png=$@ $< \
-	  || cp ${srcdir}/prebuilt-$@ $@
+	  || if [ -e ${srcdir}/prebuilt-$@ ]; then cp ${srcdir}/prebuilt-$@ $@; fi
 
 hi-djvu.svgz: djvu.svg
 	cat $< | gzip >$@
openSUSE Build Service is sponsored by