ports/150694: [patch] devel/rlwrap: update to 0.37
Anonymous
swell.k at gmail.com
Sat Sep 18 05:20:01 UTC 2010
>Number: 150694
>Category: ports
>Synopsis: [patch] devel/rlwrap: update to 0.37
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 18 05:20:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Anonymous
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
- update
- remove -lutil cruft from before AC_CHECK_LIB() was added
- either use openpty() or search manually (not sure)[1]
[1] PTYS_ARE_PTMX ifdef patch was incorrect, anyway. According to
configure.ac there can be only one of PTYS_ARE_XXX be defined at a
time because the check uses `else if'.
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: devel/rlwrap/Makefile
===================================================================
RCS file: /a/.cvsup/ports/devel/rlwrap/Makefile,v
retrieving revision 1.32
diff -u -p -r1.32 Makefile
--- devel/rlwrap/Makefile 27 Jan 2010 13:01:11 -0000 1.32
+++ devel/rlwrap/Makefile 18 Sep 2010 04:59:09 -0000
@@ -7,7 +7,7 @@
#
PORTNAME= rlwrap
-PORTVERSION= 0.36
+PORTVERSION= 0.37
CATEGORIES= devel
MASTER_SITES= http://utopia.knoware.nl/~hlub/uck/rlwrap/ \
${MASTER_SITE_LOCAL} \
@@ -18,13 +18,15 @@ MAINTAINER= gamato at users.sf.net
COMMENT= Readline wrapper
GNU_CONFIGURE= yes
-CONFIGURE_ENV+= ptyttylib_cv_ptys=BSD LDFLAGS=-lutil
MAN1= rlwrap.1
MAN3= RlwrapFilter.3pm
PORTDOCS= AUTHORS BUGS NEWS PLEA README TODO
+post-patch: .SILENT
+ ${REINPLACE_CMD} 's|/dev/ptmx|${NONEXISTENT}|' ${WRKSRC}/configure
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
Index: devel/rlwrap/distinfo
===================================================================
RCS file: /a/.cvsup/ports/devel/rlwrap/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- devel/rlwrap/distinfo 27 Jan 2010 13:01:11 -0000 1.15
+++ devel/rlwrap/distinfo 18 Sep 2010 04:44:26 -0000
@@ -1,3 +1,3 @@
-MD5 (rlwrap-0.36.tar.gz) = f3d687658336789d5155322abcc84a7f
-SHA256 (rlwrap-0.36.tar.gz) = 87f416dfda0e26d3b59a7d940dd2a871279bc56879f3fe2f0ff5f9bf5369892f
-SIZE (rlwrap-0.36.tar.gz) = 247198
+MD5 (rlwrap-0.37.tar.gz) = 04cd6e2c257eb5a86b297f2ebf91dbbf
+SHA256 (rlwrap-0.37.tar.gz) = 8403a2c184a33ee293a30637afd1362e7dbe0ee642c33b54b2fca68162498bbd
+SIZE (rlwrap-0.37.tar.gz) = 251438
Index: devel/rlwrap/pkg-plist
===================================================================
RCS file: /a/.cvsup/ports/devel/rlwrap/pkg-plist,v
retrieving revision 1.5
diff -u -p -r1.5 pkg-plist
--- devel/rlwrap/pkg-plist 27 Jan 2010 13:01:11 -0000 1.5
+++ devel/rlwrap/pkg-plist 26 Aug 2010 15:49:03 -0000
@@ -7,6 +7,7 @@ bin/rlwrap
%%DATADIR%%/filters/censor_passwords
%%DATADIR%%/filters/count_in_prompt
%%DATADIR%%/filters/ftp_filter
+%%DATADIR%%/filters/history_format
%%DATADIR%%/filters/listing
%%DATADIR%%/filters/logger
%%DATADIR%%/filters/null
Index: devel/rlwrap/files/patch-src::ptytty.c
===================================================================
RCS file: /a/.cvsup/ports/devel/rlwrap/files/patch-src::ptytty.c,v
retrieving revision 1.4
diff -u -p -r1.4 patch-src::ptytty.c
--- devel/rlwrap/files/patch-src::ptytty.c 27 Jan 2010 13:01:11 -0000 1.4
+++ devel/rlwrap/files/patch-src::ptytty.c 18 Sep 2010 04:59:21 -0000
@@ -1,14 +1,5 @@
--- src/ptytty.c.orig 2010-01-24 01:05:53.000000000 -0800
+++ src/ptytty.c 2010-01-24 01:09:19.000000000 -0800
-@@ -41,7 +41,7 @@
- #ifdef HAVE_SYS_IOCTL_H
- # include <sys/ioctl.h>
- #endif
--#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__)
-+#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) && !defined(__FreeBSD__)
- # include <sys/stropts.h> /* for I_PUSH */
- #endif
-
@@ -159,11 +159,19 @@
char pty_name[] = "/dev/pty??";
char tty_name[] = "/dev/tty??";
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list