summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-09-07 11:19:31 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-09-07 11:19:31 +0000
commit7df7146688a847c198c63bb4a937bf442b535ebd (patch)
treec1ea90876fec2c3277f529c67ec7e3f2f5f49fc8 /games-board/xboard/files
parentAdd ~mips. Bug #475964 (diff)
downloadhistorical-7df7146688a847c198c63bb4a937bf442b535ebd.tar.gz
historical-7df7146688a847c198c63bb4a937bf442b535ebd.tar.bz2
historical-7df7146688a847c198c63bb4a937bf442b535ebd.zip
fix build with Xaw3d wrt #484078
Package-Manager: portage-2.2.1/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-board/xboard/files')
-rw-r--r--games-board/xboard/files/xboard-4.7.2-Xaw3d.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/games-board/xboard/files/xboard-4.7.2-Xaw3d.patch b/games-board/xboard/files/xboard-4.7.2-Xaw3d.patch
new file mode 100644
index 000000000000..a180d9288e22
--- /dev/null
+++ b/games-board/xboard/files/xboard-4.7.2-Xaw3d.patch
@@ -0,0 +1,23 @@
+commit 7bc79645d4e404d00fee43b5a6cee4e3b6bf7a35
+Author: hasufell <hasufell@gentoo.org>
+Date: Sat Sep 7 12:48:58 2013 +0200
+
+ BUILD: fix withXaw conditional
+
+ Listing both one after another leads to withXaw being false
+ if you pass "--with-Xaw3d --without-Xaw".
+
+diff --git a/configure.ac b/configure.ac
+index 1664491..6548295 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -248,8 +248,7 @@ fi
+
+ dnl | make results available in Makefile.am
+ AM_CONDITIONAL([withGTK], [test x"$with_GTK" = x"yes"])
+-AM_CONDITIONAL([withXaw], [test x"$with_Xaw3d" = x"yes"])
+-AM_CONDITIONAL([withXaw], [test x"$with_Xaw" = x"yes"])
++AM_CONDITIONAL([withXaw], [test x"$with_Xaw3d" = x"yes" || test x"$with_Xaw" = x"yes"])
+
+
+ AC_SUBST(FRONTEND_CFLAGS)