ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@mivlgu.murom.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Patch How-to
Date: Fri Feb 15 19:20:00 2002
Message-ID: <20020215192610.7d98ad5d.vsu@mivlgu.murom.ru> (raw)
In-Reply-To: <11118709811.20020215190846@mtu-net.ru>

On Fri, 15 Feb 2002 19:08:46 +0300
ROmul <romul.home@mtu-net.ru> wrote:

> У меня есть пара файлов - патчи к исходникам. Как их наложить?

Ну это смотря откуда они взялись.  Стандартный способ:

  patch -pN <file

А вот значение N может быть разным - обычно либо 1, либо 0.
Соответственно, если патч сжат в *.gz или *.bz2, то надо вместо
< использовать либо zcat, либо bzcat в цепочке.

А вообще к патчу должно быть хотя бы минимальное описание - для
чего он вообще нужен; обычно там написано, как его применять. 
Например, в патчах для emacs, помимо собственно данных для
команды patch, есть еще кусок на shell, который может
переименовывать и удалять файлы, а также запускать emacs для
перекомпиляции *.elc.



      parent reply	other threads:[~2002-02-15 19:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-15 19:03 ROmul
2002-02-15 19:10 ` Korshunov Ilya
2002-02-15 19:20 ` Sergey Vlasov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020215192610.7d98ad5d.vsu@mivlgu.murom.ru \
    --to=vsu@mivlgu.murom.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git