bugGNU dbm - Bugs: bug #521, Patch to fix compilation on macOS

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #521: Patch to fix compilation on macOS

Submitted by:  fn ⌃ ⌥ <fncontroloption>
Submitted on:  Sun Sep 5 13:44:16 2021  
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: Sergey Poznyakoff <gray>
Open/Closed: Closed

Tue Sep 7 08:13:08 2021, comment #3:

Fixed in 32517af75a. Thank you.

Sergey Poznyakoff <gray>
Project AdministratorIn charge of this item.
Sun Sep 5 23:46:45 2021, comment #2:

I've added an alternative patch (I hadn't found this bug somehow beforehand!) which checks for the struct member existence in configure, but AFAIK Apple is the only notable platform which doesn't comply with the newer version of POSIX (2008).

See https://bugs.gentoo.org/811792.

Sam James <thesamesam>
Sun Sep 5 14:02:12 2021, comment #1:

(Tested on macOS 10.14.6 with Xcode 11.3.1)

fn ⌃ ⌥ <fncontroloption>
Sun Sep 5 13:44:16 2021, original submission:

Hello, I have attached a patch to fix compilation on macOS.

fn ⌃ ⌥ <fncontroloption>


Attached Files
file #432:  0001-gdbmshell.c-fix-build-on-macOS.patch added by thesamesam (3kB - application/octet-stream)
file #430:  patch-gdbmshell.c.diff added by fncontroloption (581B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by gray (Posted a comment)
  • -unavailable- added by thesamesam (Updated the item)
  • -unavailable- added by fncontroloption (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    5 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Sep 7 08:13:08 2021grayStatusNone=>Fixed
      Assigned toNone=>gray
    Sun Sep 5 23:45:37 2021thesamesamAttached File-=>Added 0001-gdbmshell.c-fix-build-on-macOS.patch, #432
    Sun Sep 5 13:44:16 2021fncontroloptionAttached File-=>Added patch-gdbmshell.c.diff, #430
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup+gray