<?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>60752</bug_id>
          
          <creation_ts>2004-08-18 02:53 0000</creation_ts>
          <short_desc>quake2 &quot;entering video menu&quot; crash</short_desc>
          <delta_ts>2005-01-04 14:06:58 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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>steve_v@paradise.net.nz</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>mgtroyas@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>steve_v@paradise.net.nz</who>
            <bug_when>2004-08-18 02:53:20 0000</bug_when>
            <thetext>quake2-icculus-0.15-r1.ebuild


I have seen many reports of, and experienced a crash when entering the &quot;video options&quot; menu...

quake2 is looking for driver libs in /usr/share/games/quake2-data, but they actualy live in /usr/games/lib/quake2-icculus

shouldn&apos;t be too hard to patch for someone who knows what they are doing :-)

strace:

stat64(&quot;/usr/share/games/quake2-data/ref_soft.so&quot;, 0xbfffea6c) = -1 ENOENT (No such file or directory)
stat64(&quot;/usr/share/games/quake2-data/ref_softx.so&quot;, 0xbfffea6c) = -1 ENOENT (No such file or directory)
stat64(&quot;/usr/share/games/quake2-data/ref_softsdl.so&quot;, 0xbfffea6c) = -1 ENOENT (No such file or directory)
stat64(&quot;/usr/share/games/quake2-data/ref_glx.so&quot;, 0xbfffea6c) = -1 ENOENT (No such file or directory)
stat64(&quot;/usr/share/games/quake2-data/ref_sdlgl.so&quot;, 0xbfffea6c) = -1 ENOENT (No such file or directory)


Steve.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-08-18 15:55:31 0000</bug_when>
            <thetext>awesome, i&apos;ll try to fix this soon</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2004-08-26 06:46:24 0000</bug_when>
            <thetext>*** Bug 61801 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mgtroyas@gmail.com</who>
            <bug_when>2004-08-26 06:53:55 0000</bug_when>
            <thetext>Althoug the video menu fix was duplicate (sorry, my fault), the game386.so files placing bug is a different bug. Only wanted to note that, in case it could be overlooked. I wish I helped.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-01-03 15:52:01 0000</bug_when>
            <thetext>fixed in 0.16 ... forgot to patch the VID_CheckRefExists() function</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mgtroyas@gmail.com</who>
            <bug_when>2005-01-04 12:51:10 0000</bug_when>
            <thetext>When I try to emerge it, this is what I get:



[...]
/var/tmp/portage/quake2-icculus-0.16/work/quake2-r0.16/src/xatrix/xatrixsrc320.shar:
rogue
 * Applying 0.16-rogue-nan.patch ...

 * Failed Patch: 0.16-rogue-nan.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/quake2-icculus-0.16/temp/0.16-rogue-nan.patch-30948.out


!!! ERROR: games-fps/quake2-icculus-0.16 failed.
!!! Function epatch, Line 410, Exitcode 0
!!! Failed Patch: 0.16-rogue-nan.patch!
!!! If you need support, post the topmost build error, NOT this status message.



This is the content of /var/tmp/portage/quake2-icculus-0.16/temp/0.16-rogue-nan.patch-22453.out:



***** 0.16-rogue-nan.patch *****

================================

PATCH COMMAND:  patch -p0 -g0 &lt; /usr/portage/games-fps/quake2-icculus/files/0.16-rogue-nan.patch

================================
can&apos;t find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/rogue/g_local.h.orig	2005-01-03 02:16:03.233329552 -0500
|+++ src/rogue/g_local.h	2005-01-03 02:16:03.244327880 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
================================

PATCH COMMAND:  patch -p1 -g0 &lt; /usr/portage/games-fps/quake2-icculus/files/0.16-rogue-nan.patch

================================
can&apos;t find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/rogue/g_local.h.orig	2005-01-03 02:16:03.233329552 -0500
|+++ src/rogue/g_local.h	2005-01-03 02:16:03.244327880 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
================================

PATCH COMMAND:  patch -p2 -g0 &lt; /usr/portage/games-fps/quake2-icculus/files/0.16-rogue-nan.patch

================================
patching file g_local.h
Hunk #1 FAILED at 24.
1 out of 1 hunk FAILED -- saving rejects to file g_local.h.rej
================================

PATCH COMMAND:  patch -p3 -g0 &lt; /usr/portage/games-fps/quake2-icculus/files/0.16-rogue-nan.patch

================================
missing header for unified diff at line 3 of patch
can&apos;t find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/rogue/g_local.h.orig	2005-01-03 02:16:03.233329552 -0500
|+++ src/rogue/g_local.h	2005-01-03 02:16:03.244327880 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
================================

PATCH COMMAND:  patch -p4 -g0 &lt; /usr/portage/games-fps/quake2-icculus/files/0.16-rogue-nan.patch

================================
missing header for unified diff at line 3 of patch
can&apos;t find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/rogue/g_local.h.orig	2005-01-03 02:16:03.233329552 -0500
|+++ src/rogue/g_local.h	2005-01-03 02:16:03.244327880 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2005-01-04 13:04:11 0000</bug_when>
            <thetext>File a new bug</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mgtroyas@gmail.com</who>
            <bug_when>2005-01-04 14:06:58 0000</bug_when>
            <thetext>Sorry, I thought only the ebuild had been updated, and so, the failure was because of the changes.
But now I realize also the program has bumped from 0.15 to 0.16, so it wasn&apos;t mandatorily an ebuid fault. I&apos;ll open a new bug. Thank you.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>