Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2020 16:24:07 +0000 (UTC)
From:      Diane Bruce <db@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r546096 - in head/comms/xdx: . files
Message-ID:  <202008241624.07OGO7uB074325@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: db
Date: Mon Aug 24 16:24:07 2020
New Revision: 546096
URL: https://svnweb.freebsd.org/changeset/ports/546096

Log:
  - Fix build under clang 11
  - add missing dependancies

Added:
  head/comms/xdx/files/
  head/comms/xdx/files/patch-src_Makefile.in   (contents, props changed)
  head/comms/xdx/files/patch-src_gui.c   (contents, props changed)
  head/comms/xdx/files/patch-src_gui.h   (contents, props changed)
Modified:
  head/comms/xdx/Makefile

Modified: head/comms/xdx/Makefile
==============================================================================
--- head/comms/xdx/Makefile	Mon Aug 24 15:58:15 2020	(r546095)
+++ head/comms/xdx/Makefile	Mon Aug 24 16:24:07 2020	(r546096)
@@ -3,7 +3,7 @@
 
 PORTNAME=	xdx
 PORTVERSION=	2.4
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	comms hamradio
 MASTER_SITES=	http://www.chronos.org.uk/download/ \
 		LOCAL/db
@@ -13,13 +13,16 @@ COMMENT=	Amateur Radio DX cluster monitor
 
 LICENSE=	GPLv2
 
-USES=		gmake gnome pkgconfig
-USE_GNOME=	gtk20
+LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2
 
+USES=		gettext gmake gnome pkgconfig
+USE_GNOME=	cairo gtk20 gdkpixbuf2
+
 GNU_CONFIGURE=	yes
 
-post-patch:
-	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
-		's|-D.*_DISABLE_DEPRECATED||g'
+#post-patch:
+#	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
+#		's|-D.*_DISABLE_DEPRECATED||g'
 
 .include <bsd.port.mk>

Added: head/comms/xdx/files/patch-src_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/xdx/files/patch-src_Makefile.in	Mon Aug 24 16:24:07 2020	(r546096)
@@ -0,0 +1,15 @@
+--- src/Makefile.in.orig	2007-11-21 17:46:24 UTC
++++ src/Makefile.in
+@@ -181,11 +181,7 @@ INCLUDES = \
+ 	@GTK_CFLAGS@ -I.. \
+ 	-DPACKAGE_DATA_DIR=\"$(datadir)/xdx\" \
+ 	-DPACKAGE_LOCALE_DIR=\"$(datadir)/locale\" \
+-	-DPACKAGE_SOURCE_DIR=\"$(srcdir)\" \
+-	-DG_DISABLE_DEPRECATED \
+-	-DGDK_DISABLE_DEPRECATED \
+-	-DGDK_PIXBUF_DISABLE_DEPRECATED \
+-	-DGTK_DISABLE_DEPRECATED
++	-DPACKAGE_SOURCE_DIR=\"$(srcdir)\" 
+ 
+ xdx_SOURCES = \
+ 	gui.h \

Added: head/comms/xdx/files/patch-src_gui.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/xdx/files/patch-src_gui.c	Mon Aug 24 16:24:07 2020	(r546096)
@@ -0,0 +1,10 @@
+--- src/gui.c.orig	2020-08-23 16:44:09 UTC
++++ src/gui.c
+@@ -41,6 +41,7 @@
+ #include "text.h"
+ 
+ extern preferencestype preferences;
++guitype *gui;
+ 
+ static void on_highcheck_toggled (GtkToggleButton *togglebutton, gpointer user_data);
+ static void on_soundcheck_toggled (GtkToggleButton *togglebutton, gpointer user_data);

Added: head/comms/xdx/files/patch-src_gui.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/xdx/files/patch-src_gui.h	Mon Aug 24 16:24:07 2020	(r546096)
@@ -0,0 +1,11 @@
+--- src/gui.h.orig	2006-02-26 19:41:12 UTC
++++ src/gui.h
+@@ -49,7 +49,7 @@ typedef struct guitype {
+   gchar *high8tagname;
+ } guitype;
+ 
+-guitype *gui;
++extern guitype *gui;
+ 
+ guitype *new_gui(void);
+ void create_mainwindow (void);



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