Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/ssvnc/files: ssvnc-1.0.26-build.patch
Date: Mon, 19 Apr 2010 21:39:52
Message-Id: 20100419213950.6F9D52C049@corvid.gentoo.org
1 vapier 10/04/19 21:39:50
2
3 Added: ssvnc-1.0.26-build.patch
4 Log:
5 Version bump.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 net-misc/ssvnc/files/ssvnc-1.0.26-build.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/ssvnc/files/ssvnc-1.0.26-build.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/ssvnc/files/ssvnc-1.0.26-build.patch?rev=1.1&content-type=text/plain
13
14 Index: ssvnc-1.0.26-build.patch
15 ===================================================================
16 --- a/vncstorepw/lim_accept.c
17 +++ b/vncstorepw/lim_accept.c
18 @@ -6,6 +6,7 @@
19 #include <stdlib.h>
20 #include <time.h>
21 #include <errno.h>
22 +#include <unistd.h>
23
24 /* rename accept something else while we do the includes: */
25 #define accept __accept_5_Moos
26 --- a/vncstorepw/unwrap.c
27 +++ b/vncstorepw/unwrap.c
28 @@ -21,6 +21,7 @@
29 */
30
31 #include <stdio.h>
32 +#include <stdlib.h>
33 #include <errno.h>
34
35 int db = 0;
36 --- a/vncstorepw/vncauth.c
37 +++ b/vncstorepw/vncauth.c
38 @@ -1,5 +1,6 @@
39 #include <stdio.h>
40 #include <stdlib.h>
41 +#include <string.h>
42 #include <sys/stat.h>
43 #include "d3des.h"
44 #if 0
45 --- a/vncstorepw/vncstorepw.c
46 +++ b/vncstorepw/vncstorepw.c
47 @@ -1,4 +1,5 @@
48 #include <stdio.h>
49 +#include <stdlib.h>
50
51 extern int rfbEncryptAndStorePasswd(char *, char*);
52
53 --- a/Makefile
54 +++ b/Makefile
55 @@ -21,11 +21,11 @@
56
57 # N.B. ?= is gnu make specific. Some of the subdir Makefiles are too.
58 #
59 -PREFIX ?= /usr/local
60 -ROOT ?=
61 +PREFIX = /usr
62 +ROOT = $(DESTDIR)
63 BIN = bin
64 LIB = lib/ssvnc
65 MAN = man
66 -MANDIR ?= $(MAN)
67 +MANDIR = share/$(MAN)
68 APPS ?= share/applications
69 BINNAME ?= ssvncviewer
70 @@ -66,7 +66,6 @@
71
72 install: all
73 mkdir -p $(ROOT)$(PREFIX)/$(BIN) $(ROOT)$(PREFIX)/$(LIB) $(ROOT)$(PREFIX)/$(MANDIR)/man1
74 - strip $(VIEWER)
75 cp -p $(VIEWER) $(ROOT)$(PREFIX)/$(LIB)
76 cp -p $(VNCSPW) $(ROOT)$(PREFIX)/$(LIB)
77 cp -p $(UNWRAP) $(ROOT)$(PREFIX)/$(LIB)
78 --- a/vncstorepw/Makefile
79 +++ b/vncstorepw/Makefile
80 @@ -14,7 +14,6 @@
81
82 $(CMD): vncauth.o vncstorepw.o d3des.o
83 PATH=$$PATH:$(EPATH) $(CC) -o $(CMD) vncstorepw.o vncauth.o d3des.o
84 - PATH=$$PATH:$(EPATH) strip $(CMD)
85 @ls -l $(CMD)
86
87 $(UNWRAP): unwrap.c
88 @@ -41,7 +40,6 @@
89 else \
90 PATH=$$PATH:$(EPATH) $(CC) -o $(ULTDSM) $(CPP_SSL) ultravnc_dsm_helper.c $(LD_SSL) -lcrypto; \
91 fi
92 - PATH=$$PATH:$(EPATH) strip $(ULTDSM)
93 @ls -l $(ULTDSM)
94
95 test: $(CMD)