Bug 252859

Summary: devel/serd: Patch for aligned_alloc removal
Product: Ports & Packages Reporter: Goran Mekić <meka>
Component: Individual Port(s)Assignee: Fernando Apesteguía <fernape>
Status: Closed FIXED    
Severity: Affects Only Me CC: fernape
Priority: --- Keywords: buildisok
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 252764    
Attachments:
Description Flags
serd.diff meka: maintainer-approval+

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 freebsd_triage 2021-01-21 11:22:30 UTC
Committed,

Thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 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