Bug 265283 - cad/librnd: update to 3.2.0
Summary: cad/librnd: update to 3.2.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Fernando Apesteguía
URL: http://www.repo.hu/projects/librnd/re...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-17 21:44 UTC by Robert Clausecker
Modified: 2022-07-20 20:38 UTC (History)
1 user (show)

See Also:


Attachments
cad/librnd: update to 3.2.0 (1.63 KB, patch)
2022-07-17 21:44 UTC, Robert Clausecker
fuz: maintainer-approval+
Details | Diff
cad/librnd: update to 3.2.0 (for real this time) (4.29 KB, patch)
2022-07-18 19:08 UTC, Robert Clausecker
fuz: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2022-07-17 21:44:57 UTC
Created attachment 235321 [details]
cad/librnd: update to 3.2.0

- apply a workaround from upstream SVN r34334 and r34335 to
   address a broken unit test

Changelog: http://www.repo.hu/projects/librnd/releases/changelog-3.2.0.txt

Tested with Poudriere on armv7 arm64 FreeBSD 13.1.
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2022-07-18 06:24:23 UTC
Q/A: WARN: /data/fernape_data/FreeBSD-repos/ports/cad/librnd/files/patch-tests_librnd_librnd_test.c: patch was not generated using ``make makepatch''.  It is recommended to use ``make makepatch'' when you need to [re-]generate a patch to ensure proper patch format.  

No need to update the diff, just use "make makepatch" to generate patches in files/.

Thanks!
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2022-07-18 14:51:06 UTC
(In reply to Fernando Apesteguía from comment #1)

Hi, this patch was taken as is from upstream.  Therefore, it is not in makepatch format.  I am under the impression that this is the preferred way of doing it.
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2022-07-18 15:19:40 UTC
(In reply to Robert Clausecker from comment #2)
If the patch is going to be in files/ it is best if it conforms to the expected format (double underscores when expected, etc). If we want to apply a patch remotely (as in PATCHFILES) then I suppose it doesn't matter.
Comment 4 Fernando Apesteguía freebsd_committer freebsd_triage 2022-07-18 15:20:48 UTC
Committed,

Thanks!
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-07-18 15:21:26 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=89b6b25d78b0eda117b37476248a68ee0873fd51

commit 89b6b25d78b0eda117b37476248a68ee0873fd51
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-07-18 06:20:24 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-07-18 15:17:40 +0000

    cad/librnd: update to 3.2.0

    ChangeLog: http://www.repo.hu/projects/librnd/releases/changelog-3.2.0.txt

    PR:     265283
    Reported by:    fuz@fuz.su (maintainer)

 .../files/patch-tests_librnd_librnd__test.c (new)  | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
Comment 6 Robert Clausecker freebsd_committer freebsd_triage 2022-07-18 17:26:37 UTC
(In reply to Fernando Apesteguía from comment #4)

You only committed the test suite patch, not the changes to the Makefile to update to 3.2.0.  Please commit the rest, too.
Comment 7 Fernando Apesteguía freebsd_committer freebsd_triage 2022-07-18 18:50:25 UTC
(In reply to Robert Clausecker from comment #6)
Where is that update?
Comment 8 Robert Clausecker freebsd_committer freebsd_triage 2022-07-18 19:08:02 UTC
Created attachment 235339 [details]
cad/librnd: update to 3.2.0 (for real this time)

(In reply to Fernando Apesteguía from comment #7)

Okay, this one is on me.  I somehow forgot to squash my two local patches into one before submission.
Comment 9 Fernando Apesteguía freebsd_committer freebsd_triage 2022-07-20 15:01:35 UTC
Hi Robert,

Are you able to provide the update for the Makefile?

Thanks!
Comment 10 Robert Clausecker freebsd_committer freebsd_triage 2022-07-20 15:18:59 UTC
(In reply to Fernando Apesteguía from comment #9)

I already have, please check attachment #235339 [details] from comment #8.
Comment 11 Fernando Apesteguía freebsd_committer freebsd_triage 2022-07-20 20:38:45 UTC
Done.

Thanks!