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

(-)b/converters/showkey/Makefile (-2 / +4 lines)
Lines 1-6 Link Here
1
PORTNAME=	showkey
1
PORTNAME=	showkey
2
PORTVERSION=	1.7
2
DISTVERSION=	1.9
3
PORTREVISION=	1
4
CATEGORIES=	converters
3
CATEGORIES=	converters
5
MASTER_SITES=	http://catb.org/~esr/showkey/
4
MASTER_SITES=	http://catb.org/~esr/showkey/
6
5
Lines 9-14 COMMENT= Display cooked key sequences (keycap-to-keystrokes mappings) Link Here
9
WWW=		http://catb.org/~esr/showkey/
8
WWW=		http://catb.org/~esr/showkey/
10
9
11
LICENSE=	MIT
10
LICENSE=	MIT
11
LICENSE_FILE=	${WRKSRC}/COPYING
12
13
USES=		gmake
12
14
13
MAKE_ARGS=	CC="${CC} ${CFLAGS}"
15
MAKE_ARGS=	CC="${CC} ${CFLAGS}"
14
ALL_TARGET=	showkey
16
ALL_TARGET=	showkey
(-)b/converters/showkey/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (showkey-1.7.tar.gz) = 0383a508c29df9a80b294a805a38f38d2dee6d2687e43c5ece3c5901220fb44d
1
TIMESTAMP = 1712906828
2
SIZE (showkey-1.7.tar.gz) = 4811
2
SHA256 (showkey-1.9.tar.gz) = 7230aed91f9a510ae5d234a32ba88402eb6c39431ad8175e78035f9d9b6a8f6e
3
SIZE (showkey-1.9.tar.gz) = 4752
(-)a/converters/showkey/files/patch-showkey.c (-19 lines)
Removed Link Here
1
--- showkey.c.orig	2012-03-03 16:44:46 UTC
2
+++ showkey.c
3
@@ -11,6 +11,7 @@
4
 #include <string.h>
5
 #include <stdbool.h>
6
 #include <stdlib.h>
7
+#include <unistd.h>
8
 
9
 #define ALT	0x80
10
 #define ESC	0x1b
11
@@ -80,7 +81,7 @@ static void visualize(int c, /*@out@*/ch
12
 }
13
 
14
 
15
-main()
16
+int main()
17
 {
18
     struct termios	cooked, raw;
19
     unsigned char	c;

Return to bug 278323