1 |
mr_bones_ 10/04/25 23:30:46 |
2 |
|
3 |
Added: xboard-4.4.3-gentoo.patch |
4 |
Log: |
5 |
version bump |
6 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 games-board/xboard/files/xboard-4.4.3-gentoo.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/xboard/files/xboard-4.4.3-gentoo.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/xboard/files/xboard-4.4.3-gentoo.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: xboard-4.4.3-gentoo.patch |
15 |
=================================================================== |
16 |
diff -ru xboard-4.4.1.orig/configure.ac xboard-4.4.1/configure.ac |
17 |
--- xboard-4.4.1.orig/configure.ac 2009-10-31 12:50:50.000000000 -0400 |
18 |
+++ xboard-4.4.1/configure.ac 2009-11-02 00:22:17.874375879 -0500 |
19 |
@@ -123,37 +123,18 @@ |
20 |
fi |
21 |
|
22 |
dnl | test if user wants ot use Xaw3d headers |
23 |
-AC_ARG_WITH([Xaw3d], |
24 |
- [AS_HELP_STRING([--with-Xaw3d], |
25 |
- [use Xaw3d instead of Xaw])], |
26 |
- [with_xaw3d=yes], |
27 |
- [with_xaw3d=no]) |
28 |
- |
29 |
-XAW_LIBS= |
30 |
-AS_IF([test "x$with_xaw3d" != xno], |
31 |
- [AC_CHECK_LIB([Xaw3d], |
32 |
- [XawTextReplace], |
33 |
- [AC_SUBST([XAW_LIBS], |
34 |
- ["-lXaw3d"]) |
35 |
- AC_DEFINE([USE_XAW3D], [1], |
36 |
- [Define if you want to use Xaw3d])], |
37 |
- [AC_CHECK_HEADER(X11/Xaw/Dialog.h,xaw_headers="yes") |
38 |
- AC_MSG_FAILURE( |
39 |
- [--with-Xaw3d was given, but test for Xaw3d failed])], |
40 |
- [-lXaw])]) |
41 |
-if test "$with_xaw3d" == "no" ; then |
42 |
- XAW_LIBS="-lXaw" |
43 |
-fi |
44 |
-AC_SUBST(XAW_LIBS) |
45 |
- |
46 |
-dnl | end Xaw3d test |
47 |
- |
48 |
-if test "$xaw_headers" == "no" ; then |
49 |
- echo Xaw headers not found |
50 |
- exit 1 |
51 |
- |
52 |
+AC_ARG_WITH(Xaw3d, |
53 |
+[ --with-Xaw3d use Xaw3d instead of Xaw], |
54 |
+[ with_xaw3d="$withval"], [enable_xaw3d="no"]) |
55 |
+ |
56 |
+if test "$withval" = yes; then |
57 |
+ AC_DEFINE(USE_XAW3D) |
58 |
+ XAW_LIBS="-lXaw3d" |
59 |
+else |
60 |
+ XAW_LIBS="-lXaw" |
61 |
fi |
62 |
|
63 |
+AC_SUBST(XAW_LIBS) |
64 |
|
65 |
AC_CANONICAL_HOST |
66 |
|
67 |
diff -ru xboard-4.4.1.orig/xboard.h xboard-4.4.1/xboard.h |
68 |
--- xboard-4.4.1.orig/xboard.h 2009-10-26 02:04:15.000000000 -0400 |
69 |
+++ xboard-4.4.1/xboard.h 2009-11-02 00:22:45.408375832 -0500 |
70 |
@@ -104,7 +104,7 @@ |
71 |
|
72 |
#define BORDER_X_OFFSET 3 |
73 |
#define BORDER_Y_OFFSET 27 |
74 |
-#define FIRST_CHESS_PROGRAM "fairymax" |
75 |
+#define FIRST_CHESS_PROGRAM "gnuchess" |
76 |
#define SECOND_CHESS_PROGRAM "fairymax" |
77 |
|
78 |
/* Default to no flashing (the "usual" XBoard behavior) */ |