lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

0.24 build failure on macos


From: Rui Chen
Subject: 0.24 build failure on macos
Date: Tue, 24 Oct 2023 12:26:33 -0400

Hi,

I am trying to upgrade tarlz to 0.24 for homebrew. But need some build patch as below for major,minor,makedev on OSX builds

#if !defined(HAVE_MAJOR) && !defined(major)
/* Replacement for major/minor/makedev. */
#define major(x) ((int)(0x00ff & ((x) >> 8)))
#define minor(x) ((int)(0xffff00ff & (x)))
#endif

And this is the working patch for me
https://raw.githubusercontent.com/Homebrew/formula-patches/8858b5e/tarlz/0.24.patch

Let me know if you need more info from my side.

Thanks,
Rui

P.S.
relates to https://github.com/Homebrew/homebrew-core/pull/145940

reply via email to

[Prev in Thread] Current Thread [Next in Thread]