diff options
Diffstat (limited to 'graphics/pgplot')
-rw-r--r-- | graphics/pgplot/files/patch-pgdispd_updatelgtitle.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/pgplot/files/patch-pgdispd_updatelgtitle.c b/graphics/pgplot/files/patch-pgdispd_updatelgtitle.c new file mode 100644 index 000000000000..b3bd00a3186b --- /dev/null +++ b/graphics/pgplot/files/patch-pgdispd_updatelgtitle.c @@ -0,0 +1,19 @@ +--- pgdispd/updatelgtitle.c.orig 2020-08-31 12:24:15 UTC ++++ pgdispd/updatelgtitle.c +@@ -14,6 +14,7 @@ + #include "figdisp.h" + #include "globals.h" + #include <X11/Xlib.h> ++#include <stdio.h> + #include <string.h> + + void updatelgtitle(x,y) +@@ -27,7 +28,7 @@ int x,y; /* cursor position */ + XImage *image; + int i; + +-#ifndef _AIX ++#if defined(_AIX) && !defined(__FreeBSD__) + char *sprintf(); + #endif + |