summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-07-04 15:54:33 +0200
committerDavid Seifert <soap@gentoo.org>2020-07-04 15:54:33 +0200
commit9b8d3291b7c1fab402ae27bcb6a01a43604cdc14 (patch)
tree209c708571417df8e15f85813e8cf687a375c4c1
parentapp-i18n/fcitx: Use cmake.eclass. (diff)
downloadgentoo-9b8d3291b7c1fab402ae27bcb6a01a43604cdc14.tar.gz
gentoo-9b8d3291b7c1fab402ae27bcb6a01a43604cdc14.tar.bz2
gentoo-9b8d3291b7c1fab402ae27bcb6a01a43604cdc14.zip
x11-misc/vnc2swf: Pass AR to build system
Closes: https://bugs.gentoo.org/726264 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--x11-misc/vnc2swf/files/vnc2swf-0.5.0-respect-AR.patch45
-rw-r--r--x11-misc/vnc2swf/vnc2swf-0.5.0-r1.ebuild9
2 files changed, 54 insertions, 0 deletions
diff --git a/x11-misc/vnc2swf/files/vnc2swf-0.5.0-respect-AR.patch b/x11-misc/vnc2swf/files/vnc2swf-0.5.0-respect-AR.patch
new file mode 100644
index 00000000000..4c03bb7e5c1
--- /dev/null
+++ b/x11-misc/vnc2swf/files/vnc2swf-0.5.0-respect-AR.patch
@@ -0,0 +1,45 @@
+--- a/configure.in
++++ b/configure.in
+@@ -12,6 +12,9 @@
+ AC_PROG_MAKE_SET
+ AC_LANG_CPLUSPLUS
+
++AC_ARG_VAR([AR], [the archiver to use])
++AC_CHECK_TOOL([AR], [ar])
++
+ case "`(uname -sr) 2>/dev/null`" in
+ "SunOS 5"*)
+ SOLARIS=yes
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -95,7 +95,7 @@
+ LIBS = @LIBS@
+ LDFLAGS = @LDFLAGS@
+ RANLIB = @RANLIB@
+-AR = ar cq
++AR = @AR@ cq
+
+ prefix = /usr/X11R6
+ exec_prefix = $(prefix)
+--- a/rdr/Makefile.in
++++ b/rdr/Makefile.in
+@@ -37,7 +37,7 @@
+ LIBS = @LIBS@
+ LDFLAGS = @LDFLAGS@
+ RANLIB = @RANLIB@
+-AR = ar cq
++AR = @AR@ cq
+
+ .SUFFIXES:
+ .SUFFIXES: .cxx .c .o
+--- a/rfb/Makefile.in
++++ b/rfb/Makefile.in
+@@ -36,7 +36,7 @@
+ LIBS = @LIBS@
+ LDFLAGS = @LDFLAGS@
+ RANLIB = @RANLIB@
+-AR = ar cq
++AR = @AR@ cq
+
+ .SUFFIXES:
+ .SUFFIXES: .cxx .c .o
diff --git a/x11-misc/vnc2swf/vnc2swf-0.5.0-r1.ebuild b/x11-misc/vnc2swf/vnc2swf-0.5.0-r1.ebuild
index 07b8cc0bbeb..a589a99435c 100644
--- a/x11-misc/vnc2swf/vnc2swf-0.5.0-r1.ebuild
+++ b/x11-misc/vnc2swf/vnc2swf-0.5.0-r1.ebuild
@@ -3,6 +3,8 @@
EAPI=7
+inherit autotools
+
DESCRIPTION="A tool for recording Flash SWF movies from VNC sessions"
HOMEPAGE="https://www.unixuser.org/~euske/vnc2swf/"
SRC_URI="https://www.unixuser.org/~euske/vnc2swf/${P}.tar.gz"
@@ -23,10 +25,17 @@ RDEPEND="
DEPEND="${RDEPEND}
x11-base/xorg-proto"
+PATCHES=(
+ "${FILESDIR}"/${P}-respect-AR.patch # bug 726264
+)
+
src_prepare() {
default
sed -i -e "s:docs:html:" README || die
sed -i -e "s:-mouse ::" -e "s:./vnc2swf:vnc2swf:" recordwin.sh || die
+
+ mv configure.{in,ac} || die
+ eautoconf
}
src_install() {