Re: update-patches example from guide doesn't work

2023-03-30 Thread Anton Konyahin
Thank you and Stuart for help. Everything is fine after upgrading to the current version. On 30/03, Thomas Frohwein wrote: On Thu, Mar 30, 2023 at 10:31:31AM +0300, Anton Konyahin wrote: [...] But make ignores files with .orig.port postfix, patches appears only for just .orig. In man bsd.port.m

Re: update-patches example from guide doesn't work

2023-03-30 Thread Thomas Frohwein
On Thu, Mar 30, 2023 at 10:31:31AM +0300, Anton Konyahin wrote: [...] > But make ignores files with .orig.port postfix, patches appears > only for just .orig. In man bsd.port.mk we also have only .orig postfix. > apropos .orig.port shows nothing. [...] make sure you have a recent checkout from -cu

Re: update-patches example from guide doesn't work

2023-03-30 Thread Stuart Henderson
Submitted ports should be done on -current, so the guide refers to what's needed there. For older versions use .orig instead of .orig.port. -- Sent from a phone, apologies for poor formatting. On 30 March 2023 08:31:59 Anton Konyahin wrote: Hello. I try to make my first port and going thro

update-patches example from guide doesn't work

2023-03-30 Thread Anton Konyahin
Hello. I try to make my first port and going through Porting Guide[1]. It has a example about making patches: cd `make show=WRKSRC` ; cp foo/bar.c{,.orig.port} edit foo/bar.c to fix the error. cd - ; make update-patches this will create patches/patch-foo_bar_c with your modifications. But mak