Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2024 13:47:52 -0700
From:      "Edward Sanford Sutton, III" <mirror176@hotmail.com>
To:        ports@freebsd.org
Subject:   Re: Quarterly backport for multimedia/x265 patch
Message-ID:  <CO1PR11MB47701BA26352418124B6B3CAE6802@CO1PR11MB4770.namprd11.prod.outlook.com>
In-Reply-To: <24B4A376-10C1-49DF-ADBD-9956BEC565B8@FreeBSD.org>
References:  <O4M0p2A--3-9@tuta.io> <24B4A376-10C1-49DF-ADBD-9956BEC565B8@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/15/24 12:29, Dimitry Andric wrote:
> On 15 Aug 2024, at 19:13, henrichhartzer@tuta.io wrote:
>>
>> There's been a lot of packages that haven't been built in quarterly because of a checksum mismatch. I think this affected latest as well for a little while, but that's been resolved.
>>
>> Here's some information on the extent of the issue:
>> https://forums.freebsd.org/threads/disappearance-of-desktop-applications-firefox-thunderbird-from-repositories.94550/
>>
>> And a bug for a quick fix: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280833
>>
>> Moving forward, it sounds like this is not the first time this has happened. Something about the patch format coming back slightly differently from Bitbucket. Could we move the patch to the patches/ folder so this can't be an issue in the future, or could we update to x265 3.6, which doesn't need it?
> 
> The problem is that Bitbucket appends a line with the Git version they're using at the end of the patch, or at least they don't filter it out. This should probably be reported to Bitbucket as a bug, but past experiences with Atlassian are not encouraging. :-)

Maybe implement a workaround for bitbucket ports such as (used diff to 
express the idea of the change, don't recommend using this as the patch 
directly):

--- /usr/ports/multimedia/x265/Makefile 2024-07-10 16:18:58.395378000 -0700
+++ multimedia/x265/Makefile    2024-08-15 13:44:05.236522000 -0700
@@ -112,6 +112,9 @@
  POWER8=        false
  .endif

+post-fetch:
+       @${SED} '$d' x265-asm-warnings.patch
+
  pre-build::
         @${ECHO_MSG} "---> Building the $b-bit library ---"
         ${MKDIR} ${WRKSRC:H}/$bbit

> -Dimitry
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CO1PR11MB47701BA26352418124B6B3CAE6802>