Skip to content

Commit

Permalink
comms/xdx: Update 2.4 -> 2.91
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Sep 11, 2022
1 parent 3ce42d0 commit 9fb6444
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 52 deletions.
14 changes: 4 additions & 10 deletions comms/xdx/Makefile
@@ -1,26 +1,20 @@
PORTNAME= xdx
PORTVERSION= 2.4
PORTREVISION= 7
DISTVERSION= 2.91
CATEGORIES= comms hamradio
MASTER_SITES= http://www.chronos.org.uk/download/ \
LOCAL/db
MASTER_SITES= SF/xdxclusterclient/${PORTVERSION}/

MAINTAINER= hamradio@FreeBSD.org
COMMENT= Amateur Radio DX cluster monitor
WWW= http://pg4i.chronos.org.uk/linux/xdx.html
WWW= https://sourceforge.net/projects/xdxclusterclient/

LICENSE= GPLv2

LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2

USES= gettext gmake gnome pkgconfig
USE_GNOME= cairo gtk20 gdkpixbuf2
USE_GNOME= cairo gdkpixbuf2 gtk30

GNU_CONFIGURE= yes

#post-patch:
# @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
# 's|-D.*_DISABLE_DEPRECATED||g'

.include <bsd.port.mk>
5 changes: 3 additions & 2 deletions comms/xdx/distinfo
@@ -1,2 +1,3 @@
SHA256 (xdx-2.4.tar.gz) = fefe3fb34e56613f9b138882bc8226106995c801d873a1c5f6e595bfc9e81fa9
SIZE (xdx-2.4.tar.gz) = 282279
TIMESTAMP = 1662911183
SHA256 (xdx-2.91.tar.gz) = 4dcba623ba062cb028e67d40a85b9f8eea23259af34ff4752ccc60ca9a2dce7e
SIZE (xdx-2.91.tar.gz) = 346342
15 changes: 0 additions & 15 deletions comms/xdx/files/patch-src_Makefile.in

This file was deleted.

10 changes: 0 additions & 10 deletions comms/xdx/files/patch-src_gui.c

This file was deleted.

11 changes: 0 additions & 11 deletions comms/xdx/files/patch-src_gui.h

This file was deleted.

13 changes: 13 additions & 0 deletions comms/xdx/files/patch-src_net.c
@@ -0,0 +1,13 @@
- workaround for https://github.com/N0NB/xdx/issues/12

--- src/net.c.orig 2022-09-11 15:53:06 UTC
+++ src/net.c
@@ -62,7 +62,7 @@
#include <errno.h>
#include <fcntl.h>
#include <netdb.h>
-#include <resolv.h>
+//#include <resolv.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
8 changes: 4 additions & 4 deletions comms/xdx/pkg-plist
@@ -1,6 +1,9 @@
bin/xdx
man/man1/xdx.1.gz
share/applications/Xdx.desktop
share/locale/de/LC_MESSAGES/xdx.mo
share/locale/en@boldquot/LC_MESSAGES/xdx.mo
share/locale/en@quot/LC_MESSAGES/xdx.mo
share/locale/es/LC_MESSAGES/xdx.mo
share/locale/fr/LC_MESSAGES/xdx.mo
share/locale/nl/LC_MESSAGES/xdx.mo
Expand All @@ -12,16 +15,13 @@ share/locale/pt/LC_MESSAGES/xdx.mo
%%DATADIR%%/MANUAL.nl
%%DATADIR%%/MANUAL.pl
%%DATADIR%%/cty.dat
%%DATADIR%%/gnuplot/wwv.gnuplot
%%DATADIR%%/pixmaps/bigsmile.png
%%DATADIR%%/pixmaps/cry.png
%%DATADIR%%/pixmaps/sad.png
%%DATADIR%%/pixmaps/smile.png
%%DATADIR%%/pixmaps/wink.png
%%DATADIR%%/pixmaps/xdx-logo.png
%%DATADIR%%/pixmaps/xdx-logo.xcf
%%DATADIR%%/pixmaps/xdx.png
%%DATADIR%%/pixmaps/xdx.xcf
%%DATADIR%%/pixmaps/xdx.xpm
%%DATADIR%%/sounds/attention.wav
%%DATADIR%%/wwv.gnuplot
%%DATADIR%%/wwv.gnuplot~

0 comments on commit 9fb6444

Please sign in to comment.