svn commit: r555717 - head/x11-toolkits/swt/files

Max Brazhnikov makc at FreeBSD.org
Thu Nov 19 21:02:22 UTC 2020


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))


More information about the svn-ports-head mailing list