The best way to fix up pkgsrc…

… is to make its patches unnecessary, by getting the changes needed for any program to compile on DragonFly built right into the program.  (Often called “pushing patches upstream”)  That usually means creating a patch and then tracking down the program authors to get them to include those changes in the next release of a project.  That tracking down can be a majority of the work.  In that case: thanks, Rumko!

Update: Also, thanks, Matthias Rampke!  He did the same thing for pcc.