diff options
Diffstat (limited to 'net-misc/ssvnc/files/ssvnc-1.0.27-build.patch')
-rw-r--r-- | net-misc/ssvnc/files/ssvnc-1.0.27-build.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/net-misc/ssvnc/files/ssvnc-1.0.27-build.patch b/net-misc/ssvnc/files/ssvnc-1.0.27-build.patch new file mode 100644 index 000000000000..dc433ac2d145 --- /dev/null +++ b/net-misc/ssvnc/files/ssvnc-1.0.27-build.patch @@ -0,0 +1,56 @@ +https://sourceforge.net/tracker/?func=detail&aid=3031380&group_id=243486&atid=1122548 + +--- a/vnc_unixsrc/vncviewer/sockets.c ++++ b/vnc_unixsrc/vncviewer/sockets.c +@@ -32,6 +32,7 @@ + #include <netdb.h> + #include <fcntl.h> + #include <assert.h> ++#include <ctype.h> + #include <vncviewer.h> + + #ifndef SOL_IPV6 +--- a/Makefile ++++ b/Makefile +@@ -21,11 +21,11 @@ + + # N.B. ?= is gnu make specific. Some of the subdir Makefiles are too. + # +-PREFIX ?= /usr/local +-ROOT ?= ++PREFIX = /usr ++ROOT = $(DESTDIR) + BIN = bin + LIB = lib/ssvnc + MAN = man +-MANDIR ?= $(MAN) ++MANDIR = share/$(MAN) + APPS ?= share/applications + BINNAME ?= ssvncviewer +@@ -66,7 +66,6 @@ + + install: all + mkdir -p $(ROOT)$(PREFIX)/$(BIN) $(ROOT)$(PREFIX)/$(LIB) $(ROOT)$(PREFIX)/$(MANDIR)/man1 +- strip $(VIEWER) + cp -p $(VIEWER) $(ROOT)$(PREFIX)/$(LIB) + cp -p $(VNCSPW) $(ROOT)$(PREFIX)/$(LIB) + cp -p $(UNWRAP) $(ROOT)$(PREFIX)/$(LIB) +--- a/vncstorepw/Makefile ++++ b/vncstorepw/Makefile +@@ -14,7 +14,6 @@ + + $(CMD): vncauth.o vncstorepw.o d3des.o + PATH=$$PATH:$(EPATH) $(CC) -o $(CMD) vncstorepw.o vncauth.o d3des.o +- PATH=$$PATH:$(EPATH) strip $(CMD) + @ls -l $(CMD) + + $(UNWRAP): unwrap.c +@@ -41,7 +40,6 @@ + else \ + PATH=$$PATH:$(EPATH) $(CC) -o $(ULTDSM) $(CPP_SSL) ultravnc_dsm_helper.c $(LD_SSL) -lcrypto; \ + fi +- PATH=$$PATH:$(EPATH) strip $(ULTDSM) + @ls -l $(ULTDSM) + + test: $(CMD) + |