View | Details | Raw Unified | Return to bug 73637
Collapse All | Expand All

(-)irc/riece/Makefile (-3 / +2 lines)
Lines 5-12 Link Here
5
# $FreeBSD: ports/irc/riece/Makefile,v 1.20 2004/11/06 13:17:05 pav Exp $
5
# $FreeBSD: ports/irc/riece/Makefile,v 1.20 2004/11/06 13:17:05 pav Exp $
6
6
7
PORTNAME=	riece
7
PORTNAME=	riece
8
PORTVERSION=	1.0.4
8
PORTVERSION=	1.0.5
9
PORTREVISION=	1
10
PORTEPOCH=	1
9
PORTEPOCH=	1
11
CATEGORIES=	irc elisp
10
CATEGORIES=	irc elisp
12
MASTER_SITES=	http://wiliki.designflaw.org/riece/
11
MASTER_SITES=	http://wiliki.designflaw.org/riece/
Lines 21-27 Link Here
21
		--with-lispdir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
20
		--with-lispdir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
22
USE_GMAKE=	yes
21
USE_GMAKE=	yes
23
22
24
INFO=	riece-ja
23
INFO=	riece-en riece-ja
25
24
26
post-install:
25
post-install:
27
	@${CAT} ${PKGMESSAGE}
26
	@${CAT} ${PKGMESSAGE}
(-)irc/riece/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (riece-1.0.4.tar.gz) = a26706e89784b9d32897ed9a4e475d71
1
MD5 (riece-1.0.5.tar.gz) = 67a6760c50aae01a1241a043c4ac9351
2
SIZE (riece-1.0.4.tar.gz) = 294170
2
SIZE (riece-1.0.5.tar.gz) = 314493
(-)irc/riece/files/patch-lisp::riece-rdcc.el (-43 lines)
Lines 1-43 Link Here
1
Index: lisp/riece-rdcc.el
2
===================================================================
3
RCS file: /cvs/root/riece/lisp/riece-rdcc.el,v
4
retrieving revision 1.26
5
diff -u -F^( -r1.26 riece-rdcc.el
6
--- lisp/riece-rdcc.el	6 Jun 2004 06:11:59 -0000	1.26
7
+++ lisp/riece-rdcc.el	4 Nov 2004 07:12:26 -0000
8
@@ -64,6 +64,9 @@ (defcustom riece-rdcc-send-program
9
       total += bytes.length
10
       puts(\"#{total}\")
11
       session.write(bytes)
12
+      begin
13
+        buf = session.read(4)
14
+      end until buf.unpack('N')[0] == total
15
     end
16
   }
17
   session.close
18
@@ -198,13 +201,21 @@ (defun riece-rdcc-filter (process input)
19
     (let ((coding-system-for-write 'binary)
20
 	  jka-compr-compression-info-list jam-zcat-filename-list)
21
       (write-region (point-min) (point-max) riece-rdcc-temp-file t 0))
22
+    (setq riece-rdcc-received-size (+ (buffer-size) riece-rdcc-received-size))
23
+    (process-send-string
24
+     process
25
+     (format "%c%c%c%c"
26
+	     (logand (lsh riece-rdcc-received-size -24) 255)
27
+	     (logand (lsh riece-rdcc-received-size -16) 255)
28
+	     (logand (lsh riece-rdcc-received-size -8) 255)
29
+	     (logand riece-rdcc-received-size 255)))
30
     (message "Receiving %s from %s...(%s/%s)"
31
 	     (file-name-nondirectory riece-rdcc-request-file)
32
 	     riece-rdcc-request-user
33
-	     (riece-rdcc-format-size
34
-	      (setq riece-rdcc-received-size (+ (buffer-size)
35
-						riece-rdcc-received-size)))
36
-	     (riece-rdcc-format-size riece-rdcc-request-size))))
37
+	     (riece-rdcc-format-size riece-rdcc-received-size)
38
+	     (riece-rdcc-format-size riece-rdcc-request-size))
39
+    (if (= riece-rdcc-received-size riece-rdcc-request-size)
40
+	(set-process-filter process nil))))
41
 
42
 (defun riece-rdcc-sentinel (process status)
43
   (save-excursion
(-)irc/riece/pkg-plist (+2 lines)
Lines 105-110 Link Here
105
%%EMACS_VERSION_SITE_LISPDIR%%/riece/riece-version.elc
105
%%EMACS_VERSION_SITE_LISPDIR%%/riece/riece-version.elc
106
%%EMACS_VERSION_SITE_LISPDIR%%/riece/riece-xface.el
106
%%EMACS_VERSION_SITE_LISPDIR%%/riece/riece-xface.el
107
%%EMACS_VERSION_SITE_LISPDIR%%/riece/riece-xface.elc
107
%%EMACS_VERSION_SITE_LISPDIR%%/riece/riece-xface.elc
108
%%EMACS_VERSION_SITE_LISPDIR%%/riece/riece-yank.el
109
%%EMACS_VERSION_SITE_LISPDIR%%/riece/riece-yank.elc
108
%%EMACS_VERSION_SITE_LISPDIR%%/riece/riece.el
110
%%EMACS_VERSION_SITE_LISPDIR%%/riece/riece.el
109
%%EMACS_VERSION_SITE_LISPDIR%%/riece/riece.elc
111
%%EMACS_VERSION_SITE_LISPDIR%%/riece/riece.elc
110
@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/riece
112
@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/riece

Return to bug 73637