File: use-kpse_set_progname.patch

package info (click to toggle)
dvi2dvi 2.0alpha-13
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 928 kB
  • sloc: ansic: 6,645; makefile: 96; sh: 8
file content (16 lines) | stat: -rw-r--r-- 420 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Subject: Use kpse_set_progname instead of kpse_set_program_name 
Author: Jakub Wilk <jwilk@debian.org>
Date: 2012-04-26
Bug-Debian: https://bugs.debian.org/666172

--- a/dvi2.c
+++ b/dvi2.c
@@ -114,7 +114,7 @@
 #endif
     G_progname = argv[0];
 #ifdef KPATHSEA
-    kpse_set_progname(G_progname);
+    kpse_set_program_name(G_progname, NULL);
 #endif
     if ((dvi2path = getenv(DVI2PATHENV)) == NULL)
 #ifdef KPATHSEA