Update graphics/xpdf port to version 0.90.
Responsible Changed From-To: freebsd-ports->chuckr Over to port's maintainer.
Dear committor, Please commit following patch after the ports/13133. Summary of changes: o decryption patch update. o switch t1lib BUILD_DEPENDS to LIB_DEPENDS. o new patch: patch-ab (or `patch-ac' is better?) modifies `configure.in' to detect argument types of select(2) exactly. (gcc-2.95.2 fails to compile ltk/LTKApp.cc if SELECT_TAKES_INT was defined.) o then define USE_AUTOCONF. Best regards. Tetsurou diff -urN xpdf-pr13133/Makefile xpdf/Makefile --- xpdf-pr13133/Makefile Thu Nov 18 22:34:00 1999 +++ xpdf/Makefile Thu Nov 18 22:50:11 1999 @@ -1,5 +1,5 @@ # New ports collection makefile for: xpdf -# Version required: 0.80 +# Version required: 0.90 # Date created: 02 Feb 1996 # Whom: chuckr@glue.umd.edu # @@ -15,20 +15,20 @@ .if defined(USA_RESIDENT) && !defined(PACKAGE_BUILDING) PATCH_SITES= http://www.fefe.de/ -PATCHFILES= xpdf-0.90-fefe-diff.gz +PATCHFILES= xpdf-0.90-fefe-diff2.gz PATCH_DIST_STRIP= -p1 .endif MAINTAINER= chuckr@glue.umd.edu -BUILD_DEPENDS= ${LOCALBASE}/lib/libt1.a:${PORTSDIR}/devel/t1lib -LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm +LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \ + t1.9:${PORTSDIR}/devel/t1lib .if defined(USA_RESIDENT) && !defined(PACKAGE_BUILDING) RESTRICTED= "Contains cryptography" .endif USE_XLIB= yes -GNU_CONFIGURE= yes +USE_AUTOCONF= yes CONFIGURE_ARGS= --with-gzip --enable-japanese \ --with-t1-library=${LOCALBASE}/lib \ --with-t1-includes=${LOCALBASE}/include \ diff -urN xpdf-pr13133/files/md5 xpdf/files/md5 --- xpdf-pr13133/files/md5 Thu Nov 18 22:34:00 1999 +++ xpdf/files/md5 Thu Nov 18 04:35:52 1999 @@ -1,2 +1,2 @@ MD5 (xpdf-0.90.tgz) = a7678b64713a466279b61c28ba01134b -MD5 (xpdf-0.90-fefe-diff.gz) = 94540d59aee83441f33fbc09fc800ba8 +MD5 (xpdf-0.90-fefe-diff2.gz) = 33339e6b598f4e3caadf2a4f20fe4734 diff -urN xpdf-pr13133/patches/patch-ab xpdf/patches/patch-ab --- xpdf-pr13133/patches/patch-ab Thu Jan 1 09:00:00 1970 +++ xpdf/patches/patch-ab Thu Nov 18 06:46:55 1999 @@ -0,0 +1,20 @@ +--- configure.in.~1~ Tue Aug 3 13:36:22 1999 ++++ configure.in Thu Nov 18 06:45:50 1999 +@@ -69,6 +69,7 @@ + dnl ##### Checks for header files. + AC_PATH_XTRA + AC_HEADER_DIRENT ++AC_CHECK_HEADERS(unistd.h) + + dnl ##### Look for header that defines fd_set. + AC_MSG_CHECKING([fd_set and sys/select.h or sys/bsdtypes.h]) +@@ -147,6 +148,9 @@ + xpdf_cv_func_select_arg, + [AC_TRY_COMPILE([#include <sys/types.h> + #include <sys/time.h> ++#ifdef HAVE_UNISTD_H ++#include <unistd.h> ++#endif + #ifdef HAVE_SYS_SELECT_H + #include <sys/select.h> + #endif],
State Changed From-To: open->closed Committed most of patch.