Date: Thu, 19 Nov 2020 21:02:22 +0000 (UTC) From: Max Brazhnikov <makc@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r555717 - head/x11-toolkits/swt/files Message-ID: <202011192102.0AJL2MTE052006@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: makc Date: Thu Nov 19 21:02:21 2020 New Revision: 555717 URL: https://svnweb.freebsd.org/changeset/ports/555717 Log: x11-toolkits/swt: add patch to fix build with -fno-common Added: head/x11-toolkits/swt/files/patch-os__custom.h (contents, props changed) Added: head/x11-toolkits/swt/files/patch-os__custom.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-toolkits/swt/files/patch-os__custom.h Thu Nov 19 21:02:21 2020 (r555717) @@ -0,0 +1,11 @@ +--- os_custom.h.orig 2019-03-07 02:31:04 UTC ++++ os_custom.h +@@ -105,7 +105,7 @@ glong g_utf16_offset_to_utf8_offset(const gchar*, glon + glong g_utf8_offset_to_utf16_offset(const gchar*, glong); + + // Cached JVM pointer: see bug 521487. +-JavaVM *cached_jvm; ++extern JavaVM *cached_jvm; + + #define SWT_TYPE_FIXED (swt_fixed_get_type ()) + #define SWT_FIXED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SWT_TYPE_FIXED, SwtFixed))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011192102.0AJL2MTE052006>