Date: Mon, 20 Jul 2015 21:03:38 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r392602 - head/print/ghostscript9-agpl/files Message-ID: <201507202103.t6KL3cHY058052@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hrs Date: Mon Jul 20 21:03:37 2015 New Revision: 392602 URL: https://svnweb.freebsd.org/changeset/ports/392602 Log: Fix build with GCC. GCC does now allow const type qualifier for function return type if it is a non-pointer. This fixes a build error on 8.x. Spotted by: kib Added: head/print/ghostscript9-agpl/files/patch-trio-triop.h (contents, props changed) Added: head/print/ghostscript9-agpl/files/patch-trio-triop.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/ghostscript9-agpl/files/patch-trio-triop.h Mon Jul 20 21:03:37 2015 (r392602) @@ -0,0 +1,14 @@ +--- trio/triop.h.orig 2015-03-30 17:21:24.000000000 +0900 ++++ trio/triop.h 2015-07-21 06:00:48.713329000 +0900 +@@ -404,7 +404,11 @@ + void trio_unregister TRIO_PROTO((trio_pointer_t handle)); + + TRIO_CONST char *trio_get_format TRIO_PROTO((trio_pointer_t ref)); ++#if !defined(__llvm__) ++trio_pointer_t trio_get_argument TRIO_PROTO((trio_pointer_t ref)); ++#else + TRIO_CONST trio_pointer_t trio_get_argument TRIO_PROTO((trio_pointer_t ref)); ++#endif + + /* Modifiers */ + int trio_get_width TRIO_PROTO((trio_pointer_t ref));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507202103.t6KL3cHY058052>