Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64094 - ut2004-3323 ebuild incorrectly applies patch
Summary: ut2004-3323 ebuild incorrectly applies patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High critical
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-15 00:13 UTC by Christopher Sachs
Modified: 2004-09-15 06:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Sachs 2004-09-15 00:13:23 UTC
The ut2004-3323 ebuild only copies files from the patch's System subdirectory, 
however, the latest Unreal patch needs an animation from the Animations 
subdirectory called ONSNewTank-A.ukx.

To fix after emering ut2004-3323:

tar -xvjf /usr/portage/distfiles/ut2004-lnxpatch3323.tar.bz2
cp UT2004-Patch/Animations/ONSNewTank-A.ukx /opt/ut2004/Animations/
rm -r UT2004-Patch

A patch for the ebuild may look something like this though I have not tested it:

--- /usr/portage/games-fps/ut2004/ut2004-3323.ebuild	2004-09-14 14:41:35.000000000 -0700
+++ ut2004-3323.ebuild	2004-09-15 08:00:43.677361064 -0700
@@ -142,7 +142,7 @@
 	rm -f ${Ddir}/Sounds/*.{det,est,frt,itt,kot,smt,tmt}_uax.uz2
 
 	# Installing patch files (first time) for decompress
-	cp ${S}/UT2004-Patch/System/* ${Ddir}/System
+	cp ${S}/UT2004-Patch/* ${Ddir}/
 	use amd64 && rm ${Ddir}/System/ucc-bin && mv ${Ddir}/System/ucc-bin-linux-amd64 ${Ddir}/System/ucc-bin
 
 	# uncompressing files


Reproducible: Always
Steps to Reproduce:
1. emerge =games-fps/ut2004-3323
2. ut2004
Actual Results:  
Failed to enter NvidiaLogo.ut2: Can't find file for package 'ONSNewTank-A'

History:

Exiting due to error

Expected Results:  
Game should run.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-09-15 06:40:36 UTC
Actually, the point that you noted is for the decompression, which only requires the files out of System.  If you look a few more lines down, you'll notice the for loop.  I added Animations to that loop, so it should be good now.