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

Re: Bug#1421: hello-1.3

"RK" == Richard Kettlewell <richard@sfere.elmail.co.uk> writes:

  RK> Bill Hogan writes:

      Ian Jackson writes:
      > Bill Hogan writes ("Bug#1421: hello-1.3"):
      > > Package: hello-1.3-4.tar.gz & hello-1.3-4.diff.gz
      > >
      > > Problem: diff refers to nonexistent files `hello.cp' & `hello.cps'
      > You're trying to apply the diff to the Debianised package, which is
      > the wrong thing to do. ...
  >> Is there an X such that hello-1.3-4.diff.gz is the `diff' between
  >> X and `tar zxvf hello-1.3-4.tar.gz'?
  >> If so, what is it?
  >> If not, what is hello-1.3-4.diff.gz?

  RK> hello-1.3-4.diff.gz is supposed to be the diff between
  RK> hello-1.3.tar.gz (the `upstream' source, which is not on the Debian
  RK> ftp site) and hello-1.3-4.tar.gz (the Debianized source, which is).
  RK> ... what you are supposed to do is apply the diff to the upstream
  RK> source; and this will give you the Debianised source.

    What is wrong with using `patch' to apply the Debian "diff" to the
corresponding Debianized sources in reverse?

	rm -rf package-i.j
	tar zxvf package-i.j-k.tar.gz
	cd package-i.j
	zcat ../package-i.j-k.diff.gz | patch -p1 --suffix .debian


Reply to: