<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>50364</bug_id>
          
          <creation_ts>2004-05-07 08:32 0000</creation_ts>
          <short_desc>Compile of xgammon.c failed due to an unclosed string error.</short_desc>
          <delta_ts>2004-05-07 16:02:23 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dzgentoo@hemiola.org</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>dzgentoo@hemiola.org</who>
            <bug_when>2004-05-07 08:32:24 0000</bug_when>
            <thetext>tried to emerge xgammon today, and got the following compiler error:

xgammon.c:947:7: missing terminating &quot; character
xgammon.c: In function `checkcmdline&apos;:
xgammon.c:948: error: `string&apos; undeclared (first use in this function)
xgammon.c:948: error: (Each undeclared identifier is reported only once
xgammon.c:948: error: for each function it appears in.)
xgammon.c:949: error: `color&apos; undeclared (first use in this function)
xgammon.c:949: error: subscripted value is neither array nor pointer
xgammon.c:953: error: syntax error before &quot;the&quot;
xgammon.c:953: error: stray &apos;\&apos; in program
xgammon.c:953:59: missing terminating &quot; character
xgammon.c:954: error: stray &apos;\&apos; in program
xgammon.c:954:59: missing terminating &quot; character
xgammon.c:962: error: stray &apos;\&apos; in program
xgammon.c:962:63: missing terminating &quot; character
xgammon.c:971:55: missing terminating &quot; character


here&apos;s my make.conf (in case it matters):
CFLAGS=&quot;-pipe -O3 -march=pentium3 -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CXXFLAGS=&quot;${CFLAGS}&quot;
MAKEOPTS=&quot;-j2&quot;
GENTOO_MIRRORS=&quot;http://mirror.datapipe.net/gentoo http://128.213.5.34/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo&quot;

Reproducible: Always
Steps to Reproduce:
1. emerge xgammon
Actual Results:  
compiler error as above

Expected Results:  
working xgammon ;-)

I have a small patch that fixes this.  Might not be the most elegent fix, but it
gets it going for me.  I&apos;ll attach forthwith.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dzgentoo@hemiola.org</who>
            <bug_when>2004-05-07 08:34:53 0000</bug_when>
            <thetext>Created an attachment (id=30938)
simple patch that gets xgammon working for me

As I said- nothing elegent - just added these to the end of the multi-line
strings lines:	\n\

I&apos;d be happy to know if there was some make.conf (or other) setting i should
have tweaked to get around this.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dzgentoo@hemiola.org</who>
            <bug_when>2004-05-07 08:53:07 0000</bug_when>
            <thetext>oops- i should have said this was xgammon-0.98a.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-05-07 16:02:23 0000</bug_when>
            <thetext>Fixed in CVS.  Thanks for the bug report.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>30938</attachid>
            <date>2004-05-07 08:34 0000</date>
            <desc>simple patch that gets xgammon working for me</desc>
            <filename>xgammon-0.98-badstring.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">KioqIHhnYW1tb24tMC45OGEveGdhbW1vbi5jCVR1ZSBBdWcgMjkgMDE6Mjg6NDEgMTk5NQotLS0g
eGdhbW1vbi5jCUZyaSBNYXkgIDcgMTA6NDA6NTkgMjAwNAoqKioqKioqKioqKioqKioKKioqIDk0
NCw5NzMgKioqKgogIAlmb3IgKG9wdGlvbj0xOyBvcHRpb248YXJnYzsgb3B0aW9uKyspIHsKICAJ
CWlmIChzdHJjbXAgKGFyZ3Zbb3B0aW9uXSwgIi0/IikgPT0gMCB8fAogIAkJICAgIHN0cmNtcCAo
YXJndltvcHRpb25dLCAiLWhlbHAiKSA9PSAwKSB7CiEgcHV0cyAoInhnYW1tb24gWy1vdGhlcmRp
c3BsYXkgKGRpc3BsYXkpXQohICAgICAgICAgWy1ib2FyZGdlb21ldHJ5IChzdHJpbmcpXQohICAg
ICAgICAgWy1ib2FyZGNvbG9yIChjb2xvcildIFstYmMgKGNvbG9yKV0KISAgICAgICAgIFstZGFy
a2NvbG9yICAoY29sb3IpXSBbLWRjIChjb2xvcildCiEgICAgICAgICBbLWxpZ2h0Y29sb3IgKGNv
bG9yKV0gWy1sYyAoY29sb3IpXQohICAgICAgICAgWy1iYXJjb2xvciAgIChjb2xvcildIFstYiAg
KGNvbG9yKV0KISAgICAgICAgIFstd2hpdGVjb2xvciAoY29sb3IpXSAgICAgICAgdGhlIHN0b25l
IGNvbG9yIGZvciBcIndoaXRlXCIKISAgICAgICAgIFstYmxhY2tjb2xvciAoY29sb3IpXSAgICAg
ICAgdGhlIHN0b25lIGNvbG9yIGZvciBcImJsYWNrXCIKISAgICAgICAgIFstZG91YmxlcmZvbnQg
KGZvbnQpXSAgICAgICAgc2V0cyB0aGUgKGJpZykgZm9udCBmb3IgdGhlIGRvdWJsZXIgZGljZQoh
ICAgICAgICAgWy1kb3VibGluZyAgICtkb3VibGluZ10gICAgICBzZXRzIGlmIHlvdSB3aXNoIHRo
ZSBjb21wdXRlciB0byBkb3VibGUKISAgICAgICAgIFstaCAoYmxhY2t8d2hpdGUpXSAgICAgICAg
ICAgc2V0IHRoZSBjb2xvciBmb3IgdGhlIGh1bWFuIHBsYXllcgohICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAoaW1wbGllcyBhIGh1bWFuIHZlcnN1cyBjb21wdXRlciBnYW1l
KQohICAgICAgICAgWy1nYW1la2luZCAtZyAoaHZjfGN2Y3xodmgpXSBzZXRzIHRoZSBnYW1la2lu
ZCB0byBlaXRoZXIKISAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaHVtYW4g
dnMuIGh1bWFuIGNvbXB1dGVyIHZzLiBjb21wdXRlcgohICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICBvciBodW1hbiB2cy4gY29tcHV0ZXIgKGRlZmF1bHQpCiEgICAgICAgICBb
LXdpbmF0ICAgICAgKHBvaW50cyldICAgICAgIHBsYXkgYSB0b3VybmFtZW50IHVwIHRvIFwicG9p
bnRzXCIgcG9pbnRzCiEgICAgICAgICBbLXdhdGNobW92ZSAgK3dhY2htb3ZlXSAgICAgIGlmIHlv
dSB3aXNoIHRvIHNlZSB0aGUgZmx5aW5nIHN0b25lcwohICAgICAgICAgWy1idXR0b25tb3ZlICti
dXR0b25tb3ZlXSAgICBzZXQgc3RvbmVzIGJ5IHNpbXBseSBwcmVzc2luZyBidXR0b24KISAgICAg
ICAgIFstYXV0b3BsYXkgICArYXV0b3BsYXldICAgICAgYXV0b21hdGljIHBsYXkgd2hlbiBvbmx5
IG9uZSBtb3ZlCiEgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlzIHBvc3Np
YmxlCiEgICAgICAgICBbLXN0b25lc3RlcHMgKG51bWJlcildICAgICAgIHNldHMgdGhlIHN0ZXBz
aXplIHRoZSBzdG9uZXMgZmx5CiEgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
IGluIHBpeGVsIChpbXBsaWVzICt3YXRjaG1vdmUpCiEgICAgICAgICBbLWRlbGF5dGltZSAodHNl
Yy4pXSAgICAgICAgIHNldHMgdGhlIHRpbWUgdGhlIGN1bXB1dGVyIHdhaXRzCiEgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFmdGVyIGVhY2ggdHVybiAoaW1wbGllcyAtd2F0
Y2htb3ZlKQogICAgICAgICAgWy0/XSBbLWhlbHBdICAgICAgICAgICAgICAgICBwcmludCB0aGlz
IHN0cmluZyIpOwogIAkJZXhpdCAoMCk7CiAgCQl9IGVsc2UgewotLS0gOTQ0LDk3MyAtLS0tCiAg
CWZvciAob3B0aW9uPTE7IG9wdGlvbjxhcmdjOyBvcHRpb24rKykgewogIAkJaWYgKHN0cmNtcCAo
YXJndltvcHRpb25dLCAiLT8iKSA9PSAwIHx8CiAgCQkgICAgc3RyY21wIChhcmd2W29wdGlvbl0s
ICItaGVscCIpID09IDApIHsKISBwdXRzICgieGdhbW1vbiBbLW90aGVyZGlzcGxheSAoZGlzcGxh
eSldXG5cCiEgICAgICAgICBbLWJvYXJkZ2VvbWV0cnkgKHN0cmluZyldXG5cCiEgICAgICAgICBb
LWJvYXJkY29sb3IgKGNvbG9yKV0gWy1iYyAoY29sb3IpXVxuXAohICAgICAgICAgWy1kYXJrY29s
b3IgIChjb2xvcildIFstZGMgKGNvbG9yKV1cblwKISAgICAgICAgIFstbGlnaHRjb2xvciAoY29s
b3IpXSBbLWxjIChjb2xvcildXG5cCiEgICAgICAgICBbLWJhcmNvbG9yICAgKGNvbG9yKV0gWy1i
ICAoY29sb3IpXVxuXAohICAgICAgICAgWy13aGl0ZWNvbG9yIChjb2xvcildICAgICAgICB0aGUg
c3RvbmUgY29sb3IgZm9yIFwid2hpdGVcIlxuXAohICAgICAgICAgWy1ibGFja2NvbG9yIChjb2xv
cildICAgICAgICB0aGUgc3RvbmUgY29sb3IgZm9yIFwiYmxhY2tcIlxuXAohICAgICAgICAgWy1k
b3VibGVyZm9udCAoZm9udCldICAgICAgICBzZXRzIHRoZSAoYmlnKSBmb250IGZvciB0aGUgZG91
YmxlciBkaWNlXG5cCiEgICAgICAgICBbLWRvdWJsaW5nICAgK2RvdWJsaW5nXSAgICAgIHNldHMg
aWYgeW91IHdpc2ggdGhlIGNvbXB1dGVyIHRvIGRvdWJsZVxuXAohICAgICAgICAgWy1oIChibGFj
a3x3aGl0ZSldICAgICAgICAgICBzZXQgdGhlIGNvbG9yIGZvciB0aGUgaHVtYW4gcGxheWVyXG5c
CiEgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChpbXBsaWVzIGEgaHVtYW4g
dmVyc3VzIGNvbXB1dGVyIGdhbWUpXG5cCiEgICAgICAgICBbLWdhbWVraW5kIC1nIChodmN8Y3Zj
fGh2aCldIHNldHMgdGhlIGdhbWVraW5kIHRvIGVpdGhlclxuXAohICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICBodW1hbiB2cy4gaHVtYW4gY29tcHV0ZXIgdnMuIGNvbXB1dGVy
XG5cCiEgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9yIGh1bWFuIHZzLiBj
b21wdXRlciAoZGVmYXVsdClcblwKISAgICAgICAgIFstd2luYXQgICAgICAocG9pbnRzKV0gICAg
ICAgcGxheSBhIHRvdXJuYW1lbnQgdXAgdG8gXCJwb2ludHNcIiBwb2ludHNcblwKISAgICAgICAg
IFstd2F0Y2htb3ZlICArd2FjaG1vdmVdICAgICAgaWYgeW91IHdpc2ggdG8gc2VlIHRoZSBmbHlp
bmcgc3RvbmVzXG5cCiEgICAgICAgICBbLWJ1dHRvbm1vdmUgK2J1dHRvbm1vdmVdICAgIHNldCBz
dG9uZXMgYnkgc2ltcGx5IHByZXNzaW5nIGJ1dHRvblxuXAohICAgICAgICAgWy1hdXRvcGxheSAg
ICthdXRvcGxheV0gICAgICBhdXRvbWF0aWMgcGxheSB3aGVuIG9ubHkgb25lIG1vdmVcblwKISAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaXMgcG9zc2libGVcblwKISAgICAg
ICAgIFstc3RvbmVzdGVwcyAobnVtYmVyKV0gICAgICAgc2V0cyB0aGUgc3RlcHNpemUgdGhlIHN0
b25lcyBmbHlcblwKISAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaW4gcGl4
ZWwgKGltcGxpZXMgK3dhdGNobW92ZSlcblwKISAgICAgICAgIFstZGVsYXl0aW1lICh0c2VjLild
ICAgICAgICAgc2V0cyB0aGUgdGltZSB0aGUgY3VtcHV0ZXIgd2FpdHNcblwKISAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgYWZ0ZXIgZWFjaCB0dXJuIChpbXBsaWVzIC13YXRj
aG1vdmUpXG5cCiAgICAgICAgICBbLT9dIFstaGVscF0gICAgICAgICAgICAgICAgIHByaW50IHRo
aXMgc3RyaW5nIik7CiAgCQlleGl0ICgwKTsKICAJCX0gZWxzZSB7Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>