Bug 252859 - devel/serd: Patch for aligned_alloc removal
Summary: devel/serd: Patch for aligned_alloc removal
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:
Keywords: buildisok
Depends on:
Blocks: 252764
  Show dependency treegraph
 
Reported: 2021-01-20 12:34 UTC by Goran Mekić
Modified: 2021-01-21 11:22 UTC (History)
1 user (show)

See Also:


Attachments
serd.diff (2.95 KB, patch)
2021-01-20 12:34 UTC, Goran Mekić
meka: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Goran Mekić 2021-01-20 12:34:41 UTC
Created attachment 221768 [details]
serd.diff

Upstream issue: https://gitlab.com/lv2/lilv/-/issues/4

QA:

  * portlint: OK (looks fine.)
  * testport: OK (poudriere: 12.2, amd64 tested)
Comment 1 Automation User 2021-01-20 12:55:04 UTC
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/244343353
Comment 2 Goran Mekić 2021-01-20 13:38:35 UTC
To shed some light on why this patch is needed.

The aligned_alloc is removed in the upstream in the c4c4ec51 commit. It creates problems for MacOS and FreeBSD, apparently. This patch is recreating that commit using makepatch, as latest version (0.30.8) and master diverged too much to apply just that commit (I tried, and failed with PATCHFILES).
Comment 3 Fernando Apesteguía freebsd_committer 2021-01-21 11:22:30 UTC
Committed,

Thanks!
Comment 4 commit-hook freebsd_committer 2021-01-21 11:22:36 UTC
A commit references this bug:

Author: fernape
Date: Thu Jan 21 11:22:12 UTC 2021
New revision: 562196
URL: https://svnweb.freebsd.org/changeset/ports/562196

Log:
  devel/serd: Patch for aligned_alloc removal

  The aligned_alloc is removed in the upstream in the c4c4ec51 commit. It creates
  problems for MacOS and FreeBSD, apparently. This patch is recreating that commit
  using makepatch, as latest version (0.30.8) and master diverged too much to
  apply just that commit (I tried, and failed with PATCHFILES).

  PR:	252859
  Submitted by:	meka@tilda.center (maintainer)

Changes:
  head/devel/serd/distinfo
  head/devel/serd/files/
  head/devel/serd/files/patch-src_serd__config.h
  head/devel/serd/files/patch-src_system.c
  head/devel/serd/files/patch-wscript