Hello community, here is the log from the commit of package phalanx for openSUSE:Factory checked in at 2013-05-27 09:56:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/phalanx (Old) and /work/SRC/openSUSE:Factory/.phalanx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "phalanx" Changes: -------- --- /work/SRC/openSUSE:Factory/phalanx/phalanx.changes 2012-09-14 12:33:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.phalanx.new/phalanx.changes 2013-05-27 09:57:00.000000000 +0200 @@ -1,0 +2,5 @@ +Sat May 18 19:25:57 UTC 2013 - [email protected] + +- Add phalanx-castling-broken.patch to fix castling (bnc#819525) + +------------------------------------------------------------------- New: ---- phalanx-castling-broken.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ phalanx.spec ++++++ --- /var/tmp/diff_new_pack.RGdTuZ/_old 2013-05-27 09:57:00.000000000 +0200 +++ /var/tmp/diff_new_pack.RGdTuZ/_new 2013-05-27 09:57:00.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package phalanx # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,8 @@ Release: 0 Source: %{srcname}-beta.tgz Patch0: Phalanx-XXII.diff +# PATCH-FIX-UPSTREAM phalanx-castling-broken.patch bnc#819525 [email protected] -- fix castling always treated as illegal move +Patch1: phalanx-castling-broken.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: A Chess Program License: GPL-2.0+ @@ -42,6 +44,7 @@ %prep %setup -q -n %{srcname} %patch0 -p1 +%patch1 -p1 %build make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} ++++++ phalanx-castling-broken.patch ++++++ --- Phalanx-XXII/io.c +++ phalanx-XXIII/io.c @@ -36,13 +36,11 @@ if( color(B[s]) == Color ) G[0].mtrl += Values[ B[s]>>4 ]; else G[0].xmtrl += Values[ B[s]>>4 ]; -/* busted! S.A. G[0].castling = 0; if( B[E1]!=WK || B[A1]!=WR ) G[0].castling |= WLONG; if( B[E1]!=WK || B[H1]!=WR ) G[0].castling |= WSHORT; if( B[E8]!=BK || B[A8]!=BR ) G[0].castling |= BLONG; if( B[E8]!=BK || B[H8]!=BR ) G[0].castling |= BSHORT; -*/ G[0].rule50 = 0; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
