aboutsummaryrefslogtreecommitdiff
path: root/games/qgo
diff options
context:
space:
mode:
Diffstat (limited to 'games/qgo')
-rw-r--r--games/qgo/Makefile5
-rw-r--r--games/qgo/distinfo4
-rw-r--r--games/qgo/files/patch-src::wavfile.c26
-rw-r--r--games/qgo/files/patch-src::wavplay.c2
4 files changed, 7 insertions, 30 deletions
diff --git a/games/qgo/Makefile b/games/qgo/Makefile
index 92e7c1583c93..b26987e3f71e 100644
--- a/games/qgo/Makefile
+++ b/games/qgo/Makefile
@@ -7,14 +7,17 @@
#
PORTNAME= qgo
-PORTVERSION= 1.0.0
+PORTVERSION= 1.0.0.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}-r${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
COMMENT= A Go board and SGF editor written with the Qt library
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
+
USE_QT_VER= 3
USE_REINPLACE= yes
USE_GMAKE= yes
diff --git a/games/qgo/distinfo b/games/qgo/distinfo
index 7381492a5e26..15ed85d6e054 100644
--- a/games/qgo/distinfo
+++ b/games/qgo/distinfo
@@ -1,2 +1,2 @@
-MD5 (qgo-1.0.0.tar.gz) = a455fb3a850e340c9d07bb5e514026ef
-SIZE (qgo-1.0.0.tar.gz) = 1420181
+MD5 (qgo-1.0.0-r2.tar.gz) = 3f6da3d12c450d893c50af80f92ec9a2
+SIZE (qgo-1.0.0-r2.tar.gz) = 1422224
diff --git a/games/qgo/files/patch-src::wavfile.c b/games/qgo/files/patch-src::wavfile.c
index e319f43557d3..f8ccf8f33b34 100644
--- a/games/qgo/files/patch-src::wavfile.c
+++ b/games/qgo/files/patch-src::wavfile.c
@@ -32,29 +32,3 @@
-@@ -138,6 +145,12 @@
- * Error reporting function for this source module:
- */
- static void
-+_v_erf(const char *format,va_list ap) {
-+ vsprintf(emsg,format,ap); /* Capture message into emsg[] */
-+}
-+
-+
-+static void
- err(const char *format,...) {
- va_list ap;
- fprintf(stdout, "error : %s \n",format);
-@@ -146,12 +159,6 @@
- va_start(ap,format);
- _v_erf(format,ap); /* Use caller's supplied function */
- va_end(ap);
--}
--
--
--static void
--_v_erf(const char *format,va_list ap) {
-- vsprintf(emsg,format,ap); /* Capture message into emsg[] */
- }
-
-
diff --git a/games/qgo/files/patch-src::wavplay.c b/games/qgo/files/patch-src::wavplay.c
index 18f8e2ae5cc4..ee2aade04373 100644
--- a/games/qgo/files/patch-src::wavplay.c
+++ b/games/qgo/files/patch-src::wavplay.c
@@ -22,7 +22,7 @@
+#if defined(__linux__)
#include <linux/soundcard.h>
+#endif
-+#if defined(__linux__)
++#if defined(__FreeBSD__)
+#include <sys/soundcard.h>
+#endif
#include "wavplay.h"