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