DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've downloaded the various source packages for dosemu on deb9 and made a small change I wanted. What steps do I take to recompile it so it includes the contents of the debian patch folder?
If I compile just the dosemu it compiles but complains about not finding things in folders it expects. This seems to be covered by some changes in the debian patches archive.
What steps do I take to apply those patches before I recompile?
I tried to run patch < command but it complained about not find source to amend?
K.
would be nice to post exactly what did you download, what did you change, what did you try, what's happened. Exactly. Otherwise noone will tell you anything else just: the error occurred in line 34. http://catb.org/~esr/faqs/smart-ques...html#beprecise
tbh, what I really wanted was guidance on what Debian expects you to do .... They provide the original source package and a separate archive with their patches which appear to have a preset structure to them. If I have something to follow and then get errors in that process, then I can be specific.
K.
This is the sort of thing I was looking for https://wiki.debian.org/BuildingTutorial
and in particular around https://wiki.debian.org/BuildingTuto...ithout_changes
I need to follow it through but I'm assuming the command
debuild -b -uc -us
takes care of bringing in those pre-existing debian patches, as just using make in the dosemu folder is compiling the pure dosemu code without the debian patches. It looks like it is geared to creating a new .deb package which I could live with, though I was just wanting to recompile dosemu with the debian specific patches and a test modification I want to try.
K.
really ....
Your link (which is quite dated) does not address the specific question I had about rebuilding the source as provided by Debian and incorporating the patches they provide.
K.
The following command should download the source package and apply all patches. You can then make your code changes and compile by following the directions in the README or INSTALL file.
really ....
Your link (which is quite dated) does not address the specific question I had about rebuilding the source as provided by Debian and incorporating the patches they provide.
K.
I still have no idea what are you want [to achieve]. And still no information about what did you download, what did you try, what's happened and actually how is it related to debian at all....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.