Update dxpc to 3.8.0.

This is needed for inter-operability with other systems, as 3.7.0 and
3.8.0 don't talk together.

Also, 3.8.0 fixes some important bugs, and it compresses bitmaps, which
means it can be used in various situations where it was completely useless
before.
This commit is contained in:
espie 1999-11-14 21:49:14 +00:00
parent b7cdba15ed
commit 73bb534787
3 changed files with 8 additions and 34 deletions

View File

@ -1,6 +1,6 @@
# $OpenBSD: Makefile,v 1.5 1999/10/29 12:05:31 espie Exp $
# $OpenBSD: Makefile,v 1.6 1999/11/14 21:49:14 espie Exp $
DISTNAME= dxpc-3.7.0
DISTNAME= dxpc-3.8.0
CATEGORIES= net x11
MAINTAINER= espie@openbsd.org
@ -8,12 +8,12 @@ MAINTAINER= espie@openbsd.org
MASTER_SITES= ftp://ftp.x.org/contrib/utilities/ \
ftp://sunsite.unc.edu/pub/Linux/X11/xutils/
LIB_DEPENDS=lzo:${PORTSDIR}/archivers/lzo
CXXFLAGS= -O2
NEED_VERSION=1.47
USE_EGXX= yes
# we need to make a proper check for accept
USE_AUTOCONF= yes
GNU_CONFIGURE=yes
CONFIGURE_ARGS=--with-lzo-lib=${PREFIX}
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (dxpc-3.7.0.tar.gz) = 9b9b6605e46bf1731d44e150049a019e
RMD160 (dxpc-3.7.0.tar.gz) = 419f73369ebf88cfb5d1d30c639966dfb8f1aee9
SHA1 (dxpc-3.7.0.tar.gz) = 06b6b7d555c3f1b40e61f54cabddc65ddf619d25
MD5 (dxpc-3.8.0.tar.gz) = ce5b121c824173b182daf6061175f5cd
RMD160 (dxpc-3.8.0.tar.gz) = f2ff791de91ea546a5d8fccd15377c13a5d1ddeb
SHA1 (dxpc-3.8.0.tar.gz) = b296e009447d6aa70dfd6e20b421b5485717f026

View File

@ -1,26 +0,0 @@
--- configure.in.orig Tue Jun 1 19:29:14 1999
+++ configure.in Tue Jun 1 19:29:18 1999
@@ -12,14 +12,13 @@
AC_PATH_XTRA
#AC_CHECK_HEADERS(sys/select.h)
-# UnixWare-2.x and AIX reportedly declare accept(2) with size_t, rather
-# than int, as the type of the third argument...
-if uname -a | egrep -i "UNIX_SV.*4\.2MP.*86" >/dev/null
-then
- AC_DEFINE(DXPC_ACCEPT_IS_SIZE_T)
-elif uname -a | egrep -i "AIX" >/dev/null
-then
- AC_DEFINE(DXPC_ACCEPT_IS_SIZE_T)
-fi
-
+dnl recent systems want socklen_t for accept third argument
+AC_TRY_COMPILE([
+#include <sys/types.h>
+#include <sys/socket.h>],
+[int f()
+ {
+ socklen_t *third;
+ return accept(0, 0, third);
+ }], AC_DEFINE(DXPC_ACCEPT_IS_SIZE_T))
AC_OUTPUT(Makefile)