---
 texk/dvipdfm-x/ChangeLog   |    6 ++++++
 texk/dvipdfm-x/spc_dvips.c |   14 ++++++++++++++
 2 files changed, 20 insertions(+)

--- texlive-bin.orig/texk/dvipdfm-x/spc_dvips.c
+++ texlive-bin/texk/dvipdfm-x/spc_dvips.c
@@ -596,6 +596,13 @@
     }
   }
 #endif
+/*
+  Ghostscript 9.15 needs showpage
+*/
+  fp = fopen(gs_in, "ab");
+  fprintf(fp, " showpage\n");
+  fclose(fp);
+
   error = dpx_file_apply_filter(distiller_template, gs_in, gs_out,
                                (unsigned char) pdf_get_version());
   if (error) {
@@ -683,6 +690,13 @@
       }
     }
 #endif
+/*
+    Ghostscript 9.15 needs showpage
+*/
+    fp = fopen(gs_in, "ab");
+    fprintf(fp, " showpage\n");
+    fclose(fp);
+
     error = dpx_file_apply_filter(distiller_template, gs_in, gs_out,
                                  (unsigned char) pdf_get_version());
     if (error) {
--- texlive-bin.orig/texk/dvipdfm-x/ChangeLog
+++ texlive-bin/texk/dvipdfm-x/ChangeLog
@@ -1,3 +1,9 @@
+2014-10-05  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
+
+	* spc_dvips.c: Add " showpage\n" to a temporary file gs_in because
+	Ghostscript 9.15 gives an empty pdf without it
+	in dpx_file_apply_filter().
+
 2014-10-03  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
 
 	* spc_dvips.c: Fix a bug in spc_dvips_at_end_page (void), that is
