Fix compilation in a -fno-common universe

This commit is contained in:
Josh Paetzel 2020-08-24 00:40:41 +00:00
parent a63cea5aea
commit 887979b55a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546031
2 changed files with 17 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= open-vm-tools
PORTVERSION= ${RELEASE_VER}
PORTREVISION= 1
DISTVERSIONPREFIX= stable-
PORTEPOCH= 2
CATEGORIES= emulators

View File

@ -0,0 +1,16 @@
--- services/plugins/dndcp/copyPasteCompatX11.c.orig 2020-08-24 00:33:01 UTC
+++ services/plugins/dndcp/copyPasteCompatX11.c
@@ -73,11 +73,11 @@ GdkAtom GDK_SELECTION_CLIPBOARD;
#endif
#ifndef GDK_SELECTION_TYPE_TIMESTAMP
-GdkAtom GDK_SELECTION_TYPE_TIMESTAMP;
+extern GdkAtom GDK_SELECTION_TYPE_TIMESTAMP;
#endif
#ifndef GDK_SELECTION_TYPE_UTF8_STRING
-GdkAtom GDK_SELECTION_TYPE_UTF8_STRING;
+extern GdkAtom GDK_SELECTION_TYPE_UTF8_STRING;
#endif
/*