aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2006-05-24 21:40:51 +0800
committervs <vs@FreeBSD.org>2006-05-24 21:40:51 +0800
commita7b1b25861570f13b296649456e53df8a0c3b41f (patch)
treecd0c09364514e1f479cfc53c0bf816ac9f8054c0
parent2519f59e118e8ccdc08a7ba024e445b15e41c1b2 (diff)
downloadfreebsd-ports-gnome-a7b1b25861570f13b296649456e53df8a0c3b41f.tar.gz
freebsd-ports-gnome-a7b1b25861570f13b296649456e53df8a0c3b41f.tar.zst
freebsd-ports-gnome-a7b1b25861570f13b296649456e53df8a0c3b41f.zip
Update to 3.9.0
PR: ports/95821 Submitted by: Ports Fury
-rw-r--r--x11/dxpc/Makefile25
-rw-r--r--x11/dxpc/distinfo6
-rw-r--r--x11/dxpc/files/patch-DecodeBuffer.C22
-rw-r--r--x11/dxpc/files/patch-EncodeBuffer.C14
4 files changed, 54 insertions, 13 deletions
diff --git a/x11/dxpc/Makefile b/x11/dxpc/Makefile
index d8ad9ee74171..b01a9d7e6a4e 100644
--- a/x11/dxpc/Makefile
+++ b/x11/dxpc/Makefile
@@ -6,24 +6,29 @@
#
PORTNAME= dxpc
-PORTVERSION= 3.8.2
-PORTREVISION= 2
+PORTVERSION= 3.9.0
CATEGORIES= x11
-MASTER_SITES= http://www.vigor.nu/dxpc/${PORTVERSION}/
+MASTER_SITES= http://www.vigor.nu/dxpc/%SUBDIR%/
+MASTER_SITE_SUBDIR= ${PORTVERSION}
+EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Compressing X protocol proxy designed to support X11 over slow links
-LIB_DEPENDS= lzo.1:${PORTSDIR}/archivers/lzo
+LIB_DEPENDS= lzo2.2:${PORTSDIR}/archivers/lzo2
+
+USE_X_PREFIX= yes
+USE_GNOME= gnometarget
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-lzo-lib=${LOCALBASE}
+MAKE_ARGS= CPPFLAGS="-I. -I${X11BASE}/include"
MAN1= dxpc.1
PLIST_FILES= bin/dxpc
-GNU_CONFIGURE= yes
-USE_X_PREFIX= yes
-CONFIGURE_ARGS+= --with-lzo-lib=${LOCALBASE}
-
-post-install:
- ${STRIP_CMD} ${PREFIX}/bin/dxpc
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/dxpc ${PREFIX}/bin/dxpc
+ ${INSTALL_MAN} ${WRKSRC}/dxpc.man ${MANPREFIX}/man/man1/dxpc.1
.include <bsd.port.mk>
diff --git a/x11/dxpc/distinfo b/x11/dxpc/distinfo
index 70391b09e13a..ba42d10bf636 100644
--- a/x11/dxpc/distinfo
+++ b/x11/dxpc/distinfo
@@ -1,3 +1,3 @@
-MD5 (dxpc-3.8.2.tar.gz) = 3fbfb0e4bf769e64d27da331ecddbc9f
-SHA256 (dxpc-3.8.2.tar.gz) = 6fa9cd607f6b8d137f9858da737c15b9ff92912716c3e312d9ca755f1acfa243
-SIZE (dxpc-3.8.2.tar.gz) = 144909
+MD5 (dxpc-3.9.0.tgz) = ff8148868271b405a1a67b412e45d4e1
+SHA256 (dxpc-3.9.0.tgz) = 0d1ebae097b2be6b0d1fbf4558d3afcfa0c87edadf5c43932627fa9f71d6f63e
+SIZE (dxpc-3.9.0.tgz) = 190856
diff --git a/x11/dxpc/files/patch-DecodeBuffer.C b/x11/dxpc/files/patch-DecodeBuffer.C
new file mode 100644
index 000000000000..3df7f5fc4b8c
--- /dev/null
+++ b/x11/dxpc/files/patch-DecodeBuffer.C
@@ -0,0 +1,22 @@
+--- DecodeBuffer.C.orig Wed Mar 1 05:46:52 2006
++++ DecodeBuffer.C Thu Apr 13 12:33:30 2006
+@@ -1,6 +1,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <stddef.h>
++#include <stdio.h>
+ #include <assert.h>
+ #include "DecodeBuffer.H"
+ #include "IntCache.H"
+@@ -20,9 +21,9 @@
+
+ // #define DEBUG
+ #ifdef DEBUG
+-# define DBG(fmt, ...) printf(fmt, __VA_ARGS__)
++# define DBG(fmt, ARGS...) printf(fmt, ##ARGS)
+ #else
+-# define DBG(fmt,...)
++# define DBG(fmt, ARGS...)
+ #endif
+
+ DecodeBuffer::DecodeBuffer(const unsigned char *data, unsigned int length)
diff --git a/x11/dxpc/files/patch-EncodeBuffer.C b/x11/dxpc/files/patch-EncodeBuffer.C
new file mode 100644
index 000000000000..737f2696f231
--- /dev/null
+++ b/x11/dxpc/files/patch-EncodeBuffer.C
@@ -0,0 +1,14 @@
+--- EncodeBuffer.C.orig Wed Mar 1 05:46:52 2006
++++ EncodeBuffer.C Thu Apr 13 12:16:46 2006
+@@ -13,9 +13,9 @@
+
+ // #define DEBUG
+ #ifdef DEBUG
+-# define DBG(fmt, ...) printf(fmt, __VA_ARGS__)
++# define DBG(fmt, ARGS...) printf(fmt, ##ARGS)
+ #else
+-# define DBG(fmt,...)
++# define DBG(fmt, ARGS...)
+ #endif
+
+ static const int INITIAL_BUFFER_SIZE = 256;