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

Re: Patching source package?



On Sat, Aug 27, 2005 at 02:52:59PM +0300, Vladimir Zolotykh wrote:
> Hi,
> 
> I'm rather new to Debian system, so don't blame me too much if you
> find my question to be trivial or already explained somewhere. I've
> spent reasonable time to find the answer alone and when failed decided
> to ask a question which runs thus:
> 
> [Using Sarge] I'm using libmotif3 binary package 2.2.3-1. Its "option
> menu" is faulty, the window abruptly loses it's focus. Recently I've
> been told that this bug is fixed
> (http://bugs.motifzone.net/show_bug.cgi?id=1260). But how to use this
> patch in Debian like manner? I decided to 1) download the source
> package "openmotif", 2) apply the patch to the sources, 3) rebuild the
> libmotif3.deb and reinstall it. Here is my problem: dpkg-buildpackage
> expects openMotif-2.2.3.tar.gz as a point to start from. It unpacks
> it, compiles files and finally builds the libmotif3.deb file. To apply
> the patch I have to interfere after unpacking the .tar file but before
> the compilation process starts. How I can do that?
> 
My Debian package customization HOWTO has the information you need:

http://familiasanchez.net/~roberto/?page=debcustomize

The example I give is that of modiifying the compilation directives, but
patching the source works equally as well.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto

Attachment: pgp9k9nm75WyW.pgp
Description: PGP signature


Reply to: