Package: fig2dev / 1:3.2.7a-5+deb10u1

28_fix_fig2dev_chmod.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Steven Chamberlain <steven@pyro.eu.org>
Description: The missing sys/stat.h prototype leads to an implicit declaration
 of fchmod(), which uses signed int while kFreeBSD expects unsigned int, which
 results in a wrong bitmap, which leads to a build failure.
 This is only required for the fig2mpdf patch.
Bug-Debian: http://bugs.debian.org/654767

--- a/fig2dev/dev/genpstex.c
+++ b/fig2dev/dev/genpstex.c
@@ -49,6 +49,7 @@
 #include <ctype.h>
 #include <stdlib.h>
 
+#include <sys/stat.h>
 #include "fig2dev.h"
 #include "object.h"	/* does #include <X11/xpm.h> */
 #include "texfonts.h"