View | Details | Raw Unified | Return to bug 143202 | Differences between
and this patch

Collapse All | Expand All

(-)rlwrap/Makefile (-1 / +2 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	rlwrap
9
PORTNAME=	rlwrap
10
PORTVERSION=	0.30
10
PORTVERSION=	0.36
11
CATEGORIES=	devel
11
CATEGORIES=	devel
12
MASTER_SITES=	http://utopia.knoware.nl/~hlub/uck/rlwrap/ \
12
MASTER_SITES=	http://utopia.knoware.nl/~hlub/uck/rlwrap/ \
13
		${MASTER_SITE_LOCAL} \
13
		${MASTER_SITE_LOCAL} \
Lines 21-25 Link Here
21
CONFIGURE_ENV+=		ptyttylib_cv_ptys=BSD LDFLAGS=-lutil
21
CONFIGURE_ENV+=		ptyttylib_cv_ptys=BSD LDFLAGS=-lutil
22
22
23
MAN1=	rlwrap.1
23
MAN1=	rlwrap.1
24
MAN3=	RlwrapFilter.3pm
24
25
25
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)rlwrap/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (rlwrap-0.30.tar.gz) = 03d8bd4996945ea32d3c7d5dc38c956e
1
MD5 (rlwrap-0.36.tar.gz) = f3d687658336789d5155322abcc84a7f
2
SHA256 (rlwrap-0.30.tar.gz) = 1dea22de58d750ff622dd676ddbacce80d0305d0ec85422e326b6e71c7971671
2
SHA256 (rlwrap-0.36.tar.gz) = 87f416dfda0e26d3b59a7d940dd2a871279bc56879f3fe2f0ff5f9bf5369892f
3
SIZE (rlwrap-0.30.tar.gz) = 184037
3
SIZE (rlwrap-0.36.tar.gz) = 247198
(-)rlwrap/files/patch-src::ptytty.c (-5 / +5 lines)
Lines 1-12 Link Here
1
--- src/ptytty.c.orig	2005-10-17 09:36:46.000000000 +0200
1
--- src/ptytty.c.orig	2010-01-24 01:05:53.000000000 -0800
2
+++ src/ptytty.c	2007-09-27 14:12:26.000000000 +0200
2
+++ src/ptytty.c	2010-01-24 01:09:19.000000000 -0800
3
@@ -41,7 +41,7 @@
3
@@ -41,7 +41,7 @@
4
 #ifdef HAVE_SYS_IOCTL_H
4
 #ifdef HAVE_SYS_IOCTL_H
5
 # include <sys/ioctl.h>
5
 # include <sys/ioctl.h>
6
 #endif
6
 #endif
7
-#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__)
7
-#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__)
8
+#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) && !defined(__FreeBSD__)
8
+#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) && !defined(__FreeBSD__)
9
 # include <sys/stropts.h>	/* for I_PUSH */
9
 # include <sys/stropts.h>       /* for I_PUSH */
10
 #endif
10
 #endif
11
 
11
 
12
@@ -159,11 +159,19 @@
12
@@ -159,11 +159,19 @@
Lines 14-23 Link Here
14
     char tty_name[] = "/dev/tty??";
14
     char tty_name[] = "/dev/tty??";
15
 
15
 
16
-# ifndef PTYCHAR1
16
-# ifndef PTYCHAR1
17
-#  define PTYCHAR1	"pqrstuvwxyz"
17
-#  define PTYCHAR1      "pqrstuvwxyz"
18
-# endif
18
-# endif
19
-# ifndef PTYCHAR2
19
-# ifndef PTYCHAR2
20
-#  define PTYCHAR2	"0123456789abcdef"
20
-#  define PTYCHAR2      "0123456789abcdef"
21
+# ifdef __FreeBSD__
21
+# ifdef __FreeBSD__
22
+/* Auto-detected pty names do not work well with devfs! */
22
+/* Auto-detected pty names do not work well with devfs! */
23
+#  undef  PTYCHAR1
23
+#  undef  PTYCHAR1
(-)rlwrap/pkg-plist (-3 / +20 lines)
Lines 1-5 Link Here
1
bin/rlwrap
1
bin/rlwrap
2
%%DATADIR%%/ftp
2
%%DATADIR%%/completions/coqtop
3
%%DATADIR%%/testclient
3
%%DATADIR%%/completions/testclient
4
%%DATADIR%%/coqtop
4
%%DATADIR%%/filters/README
5
%%DATADIR%%/filters/RlwrapFilter.3pm
6
%%DATADIR%%/filters/RlwrapFilter.pm
7
%%DATADIR%%/filters/censor_passwords
8
%%DATADIR%%/filters/count_in_prompt
9
%%DATADIR%%/filters/ftp_filter
10
%%DATADIR%%/filters/listing
11
%%DATADIR%%/filters/logger
12
%%DATADIR%%/filters/null
13
%%DATADIR%%/filters/paint_prompt
14
%%DATADIR%%/filters/pipeline
15
%%DATADIR%%/filters/pipeto
16
%%DATADIR%%/filters/scrub_prompt
17
%%DATADIR%%/filters/simple_macro
18
%%DATADIR%%/filters/template
19
%%DATADIR%%/filters/unbackspace
20
@dirrm %%DATADIR%%/filters
21
@dirrm %%DATADIR%%/completions
5
@dirrm %%DATADIR%%
22
@dirrm %%DATADIR%%

Return to bug 143202