Date: Sun, 21 Jun 2020 16:41:58 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r539774 - head/deskutils/xneur/files Message-ID: <202006211641.05LGfw45074205@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Sun Jun 21 16:41:58 2020 New Revision: 539774 URL: https://svnweb.freebsd.org/changeset/ports/539774 Log: deskutils/xneur: Unbreak build with GCC 10 /usr/local/bin/ld: ../main/.libs/libxnmain.a(libxnmain_la-bind_table.o):(.bss+0x0): multiple definition of `main_window'; .libs/libxneur_la-xneurlib.o:(.bss+0x8): first defined here /usr/local/bin/ld: ../main/.libs/libxnmain.a(libxnmain_la-buffer.o):(.bss+0x10): multiple definition of `main_window'; .libs/libxneur_la-xneurlib.o:(.bss+0x8): first defined here /usr/local/bin/ld: ../main/.libs/libxnmain.a(libxnmain_la-event.o):(.bss+0x0): multiple definition of `main_window'; .libs/libxneur_la-xneurlib.o:(.bss+0x8): first defined here /usr/local/bin/ld: ../main/.libs/libxnmain.a(libxnmain_la-focus.o):(.bss+0x0): multiple definition of `main_window'; .libs/libxneur_la-xneurlib.o:(.bss+0x8): first defined here /usr/local/bin/ld: ../main/.libs/libxnmain.a(libxnmain_la-keymap.o):(.bss+0x0): multiple definition of `main_window'; .libs/libxneur_la-xneurlib.o:(.bss+0x8): first defined here /usr/local/bin/ld: ../main/.libs/libxnmain.a(libxnmain_la-plugin.o):(.bss+0x0): multiple definition of `main_window'; .libs/libxneur_la-xneurlib.o:(.bss+0x8): first defined here /usr/local/bin/ld: ../main/.libs/libxnmain.a(libxnmain_la-program.o):(.bss+0x8): multiple definition of `main_window'; .libs/libxneur_la-xneurlib.o:(.bss+0x8): first defined here /usr/local/bin/ld: ../main/.libs/libxnmain.a(libxnmain_la-selection.o):(.bss+0x0): multiple definition of `main_window'; .libs/libxneur_la-xneurlib.o:(.bss+0x8): first defined here /usr/local/bin/ld: ../main/.libs/libxnmain.a(libxnmain_la-switchlang.o):(.bss+0x0): multiple definition of `main_window'; .libs/libxneur_la-xneurlib.o:(.bss+0x8): first defined here /usr/local/bin/ld: ../main/.libs/libxnmain.a(libxnmain_la-utils.o):(.bss+0x0): multiple definition of `main_window'; .libs/libxneur_la-xneurlib.o:(.bss+0x8): first defined here /usr/local/bin/ld: ../main/.libs/libxnmain.a(libxnmain_la-window.o):(.bss+0x0): multiple definition of `main_window'; .libs/libxneur_la-xneurlib.o:(.bss+0x8): first defined here /usr/local/bin/ld: ../ai/.libs/libxnai.a(libxnai_la-detection.o):(.bss+0x0): multiple definition of `main_window'; .libs/libxneur_la-xneurlib.o:(.bss+0x8): first defined here /usr/local/bin/ld: ../notify/.libs/libxnnotify.a(libxnnotify_la-notify.o):(.bss+0x0): multiple definition of `main_window'; .libs/libxneur_la-xneurlib.o:(.bss+0x8): first defined here /usr/local/bin/ld: ../notify/.libs/libxnnotify.a(libxnnotify_la-popup.o):(.bss+0x8): multiple definition of `main_window'; .libs/libxneur_la-xneurlib.o:(.bss+0x8): first defined here /usr/local/bin/ld: ../notify/.libs/libxnnotify.a(libxnnotify_la-sound.o):(.bss+0x0): multiple definition of `main_window'; .libs/libxneur_la-xneurlib.o:(.bss+0x8): first defined here http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/xneur-0.20.0.log PR: 246700 Added: head/deskutils/xneur/files/patch-lib_lib_xneur.h (contents, props changed) Added: head/deskutils/xneur/files/patch-lib_lib_xneur.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/xneur/files/patch-lib_lib_xneur.h Sun Jun 21 16:41:58 2020 (r539774) @@ -0,0 +1,11 @@ +--- lib/lib/xneur.h.orig 2020-06-21 16:29:31 UTC ++++ lib/lib/xneur.h +@@ -32,7 +32,7 @@ + # include <enchant/enchant.h> + #endif + +-struct _window *main_window; ++extern struct _window *main_window; + + struct _xneur_language + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006211641.05LGfw45074205>