[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling gnuchess



In <[🔎] 52d26d930906262108l60762d14o6af38c5e46e466a7@mail.gmail.com>, Umarzuki 
Mochlis wrote:
>gpatch:
>--------------------
>diff -urN ../tmp-orig/gnuchess-5.07/src/common.h ./src/common.h
>--- ../tmp-orig/gnuchess-5.07/src/common.h    2003-06-30
> 13:28:38.000000000 +0200
>+++ ./src/common.h    2005-03-01 18:01:50.629624486 +0100
>@@ -716,7 +716,6 @@
>
> /* Input thread and thread function */
> #include <pthread.h>
>-extern pthread_t input_thread;
> void *input_func(void *);
>
> /*
>--------------------
>
>$ patch gpatch src/common.h
>patch: **** Only garbage was found in the patch input.
>
>which part i done wrong?

You didn't read the man page for patch.

Patch takes the patch data on stdin and finds the filename based on the 
patch data.

Use:
patch -p3 < gpatch
-- 
Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
bss@iguanasuicide.net            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: