Do I create the patch file from the two existing .diff files I have? Sent from my iPhone
> On Nov 30, 2014, at 2:30 AM, Riccardo Mottola <riccardo.mott...@libero.it> > wrote: > > Hi Herminio, > > Herminio Hernandez, Jr. wrote: >> This what I have done so far and I plan to do : >> >> 1. I have downloaded the source code for libgl1-mesa-dri >> now the version I have is 10.3.2 in the threads it look like this patch was >> applied to 10.1.1 will that be an issue? >> >> 2. I have not done a patch before so I am following the instruction here >> <http://jungels.net/articles/diff-patch-ten-minutes.html>. If anyone has >> objects please let me know. >> >> 3. After I applycj the pat I just compile and install the driver or should I >> uninstall the current one before I install this one? > I'd follow a different route, the one I followed to test patches against > drivers. Build yourself a patched debian package. That way you build from > source with eventually other useful debian configurations and patches. You > get a "drop in" replacement. > > I followed these instruction: > > - create a file with the patch: mach64.patch > - install dpkg-dev: apt-get install dpkg-dev > - get and extract the package source: apt-get source xf86-video-mach64 > - cd into the directory > - apply the patch: patch -p1 -i ../mach64.patch > - compile and create the binary package: dpkg-buildpackage -nc -us -uc > - install the package: dpkg -i ../xf86-video-mach64_n.n.n_powerpc.deb > > > > With some adaptation in the filenames, I hope they can be useful for you too! > > Riccardo > > > -- > To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: https://lists.debian.org/547ad5b7.4090...@libero.it > -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54e45de3-97d7-4b69-a367-fc18d8624...@gmail.com