svn commit: r547176 - head/graphics/pgplot/files
Piotr Kubaj
pkubaj at FreeBSD.org
Mon Aug 31 12:47:36 UTC 2020
Author: pkubaj
Date: Mon Aug 31 12:47:35 2020
New Revision: 547176
URL: https://svnweb.freebsd.org/changeset/ports/547176
Log:
graphics/pgplot: fix build on head
Clang 11 crashes on sprintf() redeclaration, which probably shouldn't happen anyway.
Added:
head/graphics/pgplot/files/patch-pgdispd_updatelgtitle.c (contents, props changed)
Added: head/graphics/pgplot/files/patch-pgdispd_updatelgtitle.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/pgplot/files/patch-pgdispd_updatelgtitle.c Mon Aug 31 12:47:35 2020 (r547176)
@@ -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
+
More information about the svn-ports-head
mailing list