mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
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)
This commit is contained in:
parent
b729e54157
commit
8c6fdee92a
@ -8,9 +8,6 @@ MAINTAINER= ports@thepentagon.org
|
||||
COMMENT= GNOME 2 frontend for rdesktop and vncviewer
|
||||
WWW= https://sourceforge.net/projects/tsclient/
|
||||
|
||||
BROKEN_FreeBSD_13= ld: error: duplicate symbol: gConnect
|
||||
BROKEN_FreeBSD_14= ld: error: duplicate symbol: gConnect
|
||||
|
||||
RUN_DEPENDS= rdesktop:net/rdesktop
|
||||
|
||||
USES= gettext gmake gnome libtool pathfix pkgconfig
|
||||
|
10
net/tsclient/files/patch-src_connect.c
Normal file
10
net/tsclient/files/patch-src_connect.c
Normal file
@ -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;
|
||||
|
||||
/***************************************
|
||||
* *
|
11
net/tsclient/files/patch-src_connect.h
Normal file
11
net/tsclient/files/patch-src_connect.h
Normal file
@ -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);
|
||||
|
10
net/tsclient/files/patch-src_main.c
Normal file
10
net/tsclient/files/patch-src_main.c
Normal file
@ -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 ();
|
Loading…
Reference in New Issue
Block a user