Date: Mon, 31 Aug 2020 12:47:35 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547176 - head/graphics/pgplot/files Message-ID: <202008311247.07VClZ1R010672@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008311247.07VClZ1R010672>