aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2013-09-30 02:19:03 +0800
committerak <ak@FreeBSD.org>2013-09-30 02:19:03 +0800
commit6f61617eb30908ac29d98660d142c9aba3bf8d04 (patch)
tree57251f65aac3334cc858ff18ab3f6eb3161af99b /x11
parent7480100e4d2cceabe791a873e96169332efb3e9c (diff)
downloadfreebsd-ports-gnome-6f61617eb30908ac29d98660d142c9aba3bf8d04.tar.gz
freebsd-ports-gnome-6f61617eb30908ac29d98660d142c9aba3bf8d04.tar.zst
freebsd-ports-gnome-6f61617eb30908ac29d98660d142c9aba3bf8d04.zip
- Fix build with clang [1]
- Support STAGEDIR - Rename patches PR: ports/182130 [1] Submitted by: Stefan `Sec` Zehl <sec@42.org> (maintainer)
Diffstat (limited to 'x11')
-rw-r--r--x11/xmove/Makefile3
-rw-r--r--x11/xmove/files/patch-stdlib (renamed from x11/xmove/files/patch-ab)0
-rw-r--r--x11/xmove/files/patch-xmove_main.c (renamed from x11/xmove/files/patch-aa)0
-rw-r--r--x11/xmove/files/patch-xmovectrl_xmovectrl.c18
-rw-r--r--x11/xmove/pkg-plist2
5 files changed, 20 insertions, 3 deletions
diff --git a/x11/xmove/Makefile b/x11/xmove/Makefile
index 64c1d7209cad..75c1f7d2ad9b 100644
--- a/x11/xmove/Makefile
+++ b/x11/xmove/Makefile
@@ -16,11 +16,8 @@ WRKSRC= ${WRKDIR}/xmove
USES= imake
USE_XORG= x11
-MAN1= xmove.1 xmovectrl.1
-
WRKSRC= ${WRKDIR}/${PORTNAME}
-NO_STAGE= yes
post-patch:
${CP} ${FILESDIR}/Imakefile ${WRKSRC}
(cd ${WRKSRC}; \
diff --git a/x11/xmove/files/patch-ab b/x11/xmove/files/patch-stdlib
index 6e638765b7ba..6e638765b7ba 100644
--- a/x11/xmove/files/patch-ab
+++ b/x11/xmove/files/patch-stdlib
diff --git a/x11/xmove/files/patch-aa b/x11/xmove/files/patch-xmove_main.c
index d3c50b599888..d3c50b599888 100644
--- a/x11/xmove/files/patch-aa
+++ b/x11/xmove/files/patch-xmove_main.c
diff --git a/x11/xmove/files/patch-xmovectrl_xmovectrl.c b/x11/xmove/files/patch-xmovectrl_xmovectrl.c
new file mode 100644
index 000000000000..9a71ec8f2ec6
--- /dev/null
+++ b/x11/xmove/files/patch-xmovectrl_xmovectrl.c
@@ -0,0 +1,18 @@
+Index: xmovectrl/xmovectrl.c
+@@ -33,6 +33,8 @@
+ int auth_namelen, auth_datalen;
+ char *auth_name, *auth_data;
+
++void DoServerSetup(int server_fd);
++
+ main(int argc, char **argv, char **envp)
+ {
+ char **cur_argv = argv + 1;
+@@ -143,6 +145,7 @@
+ }
+
+
++void
+ DoServerSetup(int server_fd)
+ {
+ unsigned char iobuf[512];
diff --git a/x11/xmove/pkg-plist b/x11/xmove/pkg-plist
index a6cee7d0e051..8a0e89376f84 100644
--- a/x11/xmove/pkg-plist
+++ b/x11/xmove/pkg-plist
@@ -1,2 +1,4 @@
bin/xmove
bin/xmovectrl
+man/man1/xmove.1.gz
+man/man1/xmovectrl.1.gz