ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Maxim Savrilov <smi@belon.ru>
To: "Oleg N. Kayunov" <community@altlinux.ru>
Subject: [Comm] Re: [Comm] patch - не получается
Date: Fri, 4 Oct 2002 09:24:36 +0600
Message-ID: <141595889.20021004092436@belon.ru> (raw)
In-Reply-To: <3D9C2F41.5040600@mtu-net.ru>

Здравствуйте, Oleg!

Thursday, October 03, 2002, 5:51:29 PM, you wrote:

ONK>     Решившись самостийно подработать wvdial установил .src.rpm для 
ONK> версии 1.42 (кажись с CD).
ONK> Обнаружились три патч-файла. Пытаюсь запускать на них patch. Не проходит 
ONK> - по крайней мере - целиком.
[skip]

ONK>     Посему возникли 2 вопроса:

ONK>     Первый - что верно:
ONK> - я неверно пользуюсь patch-ем (оправдание - в первый раз);
посмотрите в man patch параметр -p

ONK> - применять его тут вовсе не надо (тогда зачем patch-файлы лежат в 
ONK> .src.rpm? да и в рамках одного оглавления патченье проходит, вдобавок и 
ONK> даты соответствуют);
ONK> - нужен другой patch (программа, в смысле)?
в спеке должна быть команда наложения патчей
можно взять ее оттуда, предварительно разложив исходники так, как это
делает rpm

ONK> Второй - что делать в первом и/или последнем случае(-ях)?

cd wvdial-1.42
patch -p1 <../patch1 >>../patch.log 2>&1


P.S. А вообще, я не понял, зачем вам все это. Все можно прекрасно
сделать и без этих телодвижений. распатрониваете rpm, раскладываете
все, что надо по каталогам /usr/src/RPM/*, правите, а потом напускаете
rpm -ba на /usr/src/RPM/SPEC/wvdial.spec
voila

-- 
Best regards,
 Maxim                            mailto:smi@belon.ru
Билла  Гейтса  -  в Пpезиденты! В новое тысячелетие - с Windows 2000! Да здpавствyет Аpмагеддон!



  reply	other threads:[~2002-10-04  3:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-03 11:51 Oleg N. Kayunov
2002-10-04  3:24 ` Maxim Savrilov [this message]
2002-10-04  3:51   ` Oleg N. Kayunov
2002-10-04  5:50     ` [Comm] Re[3]: " Maxim Savrilov
2002-10-04  6:33       ` Oleg N. Kayunov
2002-10-04 10:33         ` Ruslan N. Balkin
2002-10-07  5:06         ` [Comm] Re[5]: " Maxim Savrilov
2002-10-04  6:56 ` Sergey Vlasov

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=141595889.20021004092436@belon.ru \
    --to=smi@belon.ru \
    --cc=community@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