2eab654383
- 1.5-2
26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
--- vncterm/Makefile.alt 2017-06-07 14:53:50.000000000 +0300
|
|
+++ vncterm/Makefile 2017-07-19 10:37:11.678390381 +0300
|
|
@@ -18,7 +18,7 @@ SNAP=${PACKAGE}-${VERSION}-${CDATE}.tar.
|
|
all: vncterm
|
|
|
|
font.data: genfont2
|
|
- ./genfont2 -o font.data.tmp -i /usr/share/unifont/unifont.hex
|
|
+ ./genfont2 -o font.data.tmp -i unifont.hex
|
|
mv font.data.tmp font.data
|
|
|
|
genfont2: genfont2.c
|
|
@@ -30,11 +30,11 @@ ${VNCLIB}: ${VNCSRC}
|
|
rm -rf ${VNCDIR}
|
|
tar xf ${VNCSRC}
|
|
ln -s ../vncpatches ${VNCDIR}/patches
|
|
- cd ${VNCDIR}; quilt push -a
|
|
+ cd ${VNCDIR}; patch -p1 < patches/tls-auth-pluging.patch; patch -p1 < patches/remove-systemd-socket-activation.patch
|
|
cd ${VNCDIR}; ./autogen.sh --without-ssl --without-websockets --without-tightvnc-filetransfer;
|
|
cd ${VNCDIR}; $(MAKE)
|
|
|
|
-vncterm: vncterm.c ${VNCLIB} wchardata.c
|
|
+vncterm: vncterm.c ${VNCLIB} wchardata.c vncterm.1 font.data
|
|
gcc -O2 -g -o $@ vncterm.c wchardata.c -Wall -Wno-deprecated-declarations -D_GNU_SOURCE -I ${VNCDIR} ${VNCLIB} -lnsl -lpthread -lz -ljpeg -lutil -lgnutls -lpng
|
|
|
|
wchardata.c:
|