LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to install a patch anyway? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-a-patch-anyway-181098/)

mimithebrain 05-13-2004 11:17 AM

how to install a patch anyway?
 
my problem, (did anyone see, my threads always start like that!)

I want to install a patch
this patch!: xscreensaver-4.05-penguins-1.0.patch
where to get it? Here: xpenguins.seul.org

How to install it, that where you come in!

I have no idea how to do this! I tried and failed. Help me please, tell me how to install a patch!

RockmanExe 05-13-2004 12:20 PM

i see it's gzipped.

*first ungzip it:
gunzip xscreensaver-4.05-penguins-1.0.patch.gz

*then make it executable:
chmod +x xscreensaver-4.05-penguins-1.0.patch

*execute it:
./xscreensaver-4.05-penguins-1.0.patch

Hope this helps :)

mimithebrain 05-13-2004 12:29 PM

ok, where?
 
diff: xscreensaver-4.05-orig/driver/XScreenSaver.ad.in: No such file or directory
diff: xscreensaver-4.05/driver/XScreenSaver.ad.in: No such file or directory
./xscreensaver-4.05-penguins-1.0.patch: line 2: ---: command not found
./xscreensaver-4.05-penguins-1.0.patch: line 3: +++: command not found
./xscreensaver-4.05-penguins-1.0.patch: line 4: @@: command not found
./xscreensaver-4.05-penguins-1.0.patch: line 5: Attraction (orbital): command not found
./xscreensaver-4.05-penguins-1.0.patch: line 13: ---: command not found
./xscreensaver-4.05-penguins-1.0.patch: line 14: +++: command not found
./xscreensaver-4.05-penguins-1.0.patch: line 15: @@: command not found
./xscreensaver-4.05-penguins-1.0.patch: line 16: syntax error near unexpected token `('
./xscreensaver-4.05-penguins-1.0.patch: line 16: ` .BR noseguy (1),'

at last step:scratch:

RockmanExe 05-13-2004 12:31 PM

Mmmm do you have xscreensaver installed?

mimithebrain 05-13-2004 01:20 PM

v.4.12
 
version 4.12
does it make any difference?
If so any overrides?

Demonbane 05-13-2004 03:32 PM

The patch is for the source, you'll need to recompile after paching
grab the xsreensaver source, extract it, cd into the extracted directory, then apply your patch:
Code:

patch -p1 < /path/to/xscreensaver-4.05-penguins-1.0.patch

mimithebrain 05-17-2004 03:29 PM

That makes sense, I'll try it when I can and report back!


All times are GMT -5. The time now is 09:25 AM.