Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2022 18:43:49 +0200
From:      =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernape@freebsd.org>
To:        "ports-committers@FreeBSD.org" <ports-committers@freebsd.org>, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: 8c6fdee92af3 - main - net/tsclient: Fix build
Message-ID:  <CAGwOe2b7uAGvhDMZRwtQgE8vUXmDGS9gZ=nr8gM8587tVn_AWQ@mail.gmail.com>
In-Reply-To: <202209241641.28OGf8IF055103@gitrepo.freebsd.org>
References:  <202209241641.28OGf8IF055103@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 24, 2022 at 6:41 PM Fernando Apestegu=C3=ADa <fernape@freebsd.o=
rg> wrote:
>
> The branch main has been updated by fernape:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=3D8c6fdee92af393f5b153e015=
fcf9b370e0818587
>
> commit 8c6fdee92af393f5b153e015fcf9b370e0818587
> Author:     NAKAJI Hiroyuki <nakaji@kankyo-u.ac.jp>
> AuthorDate: 2022-09-22 15:44:11 +0000
> Commit:     Fernando Apestegu=C3=ADa <fernape@FreeBSD.org>
> CommitDate: 2022-09-24 16:37:35 +0000
>
>     net/tsclient: Fix build
>
>     Remove BROKEN*: ld: error: duplicate symbol: gConnect
>
>     PR:             266543
>     Reported by:    nakaji@kankyo-u.ac.jp
>     Approved by:    ports@thepentagon.org (maintainer, timeout > 2 weeks)

^^^^^
Not true, sorry. It wasn't 2 weeks.

Apologies.

> ---
>  net/tsclient/Makefile                  |  3 ---
>  net/tsclient/files/patch-src_connect.c | 10 ++++++++++
>  net/tsclient/files/patch-src_connect.h | 11 +++++++++++
>  net/tsclient/files/patch-src_main.c    | 10 ++++++++++
>  4 files changed, 31 insertions(+), 3 deletions(-)
>
> diff --git a/net/tsclient/Makefile b/net/tsclient/Makefile
> index c9d63b78cc3c..e622d53447c2 100644
> --- a/net/tsclient/Makefile
> +++ b/net/tsclient/Makefile
> @@ -8,9 +8,6 @@ MAINTAINER=3D     ports@thepentagon.org
>  COMMENT=3D       GNOME 2 frontend for rdesktop and vncviewer
>  WWW=3D           https://sourceforge.net/projects/tsclient/
>
> -BROKEN_FreeBSD_13=3D     ld: error: duplicate symbol: gConnect
> -BROKEN_FreeBSD_14=3D     ld: error: duplicate symbol: gConnect
> -
>  RUN_DEPENDS=3D   rdesktop:net/rdesktop
>
>  USES=3D          gettext gmake gnome libtool pathfix pkgconfig
> diff --git a/net/tsclient/files/patch-src_connect.c b/net/tsclient/files/=
patch-src_connect.c
> new file mode 100644
> index 000000000000..29c517588d08
> --- /dev/null
> +++ b/net/tsclient/files/patch-src_connect.c
> @@ -0,0 +1,10 @@
> +--- src/connect.c.orig 2007-04-12 03:15:35.000000000 +0900
> ++++ src/connect.c      2022-09-08 13:45:16.005967000 +0900
> +@@ -27,6 +27,7 @@
> + #include "connect.h"
> + #include "mrulist.h"
> +
> ++GtkWidget *gConnect;
> +
> + /***************************************
> + *                                      *
> diff --git a/net/tsclient/files/patch-src_connect.h b/net/tsclient/files/=
patch-src_connect.h
> new file mode 100644
> index 000000000000..0439937eb0db
> --- /dev/null
> +++ b/net/tsclient/files/patch-src_connect.h
> @@ -0,0 +1,11 @@
> +--- src/connect.h.orig 2007-03-27 02:34:26.000000000 +0900
> ++++ src/connect.h      2022-09-08 13:45:24.448781000 +0900
> +@@ -4,7 +4,7 @@
> + *                                      *
> + ***************************************/
> +
> +-GtkWidget *gConnect;  // used for global accessibility of main form!  :=
-P
> ++// GtkWidget *gConnect;  // used for global accessibility of main form!=
  :-P
> +
> + int create_frmConnect (void);
> +
> diff --git a/net/tsclient/files/patch-src_main.c b/net/tsclient/files/pat=
ch-src_main.c
> new file mode 100644
> index 000000000000..c25d9e3ec7f9
> --- /dev/null
> +++ b/net/tsclient/files/patch-src_main.c
> @@ -0,0 +1,10 @@
> +--- src/main.c.orig    2007-04-12 03:21:51.000000000 +0900
> ++++ src/main.c 2022-09-08 13:45:37.689308000 +0900
> +@@ -17,6 +17,7 @@
> + #include "support.h"
> + #include "connect.h"
> +
> ++extern GtkWidget *gConnect;
> +
> + static void tsc_print_help ();
> + static void tsc_print_version ();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2b7uAGvhDMZRwtQgE8vUXmDGS9gZ=nr8gM8587tVn_AWQ>