Opened 4 years ago

Closed 4 years ago

#62041 closed defect (fixed)

gcal: Update to 4.1; Fix for Big Sur and Apple Silicon

Reported by: mhberger Owned by: j.hafey@…
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur haspatch arm64 x86_64 Cc:
Port: gcal

Description

Trying to install gcal 3.63 on macos 11.1, gives the following error:

error: implicit declaration of function 'ioctl' is invalid in C9

Fixing this error and trying to run produced a segfault. Upgrading to gcal 4.1 and applying latest upstream fix as a patch gets this working.

We have created a pull request with a patch that fixes this.

https://github.com/macports/macports-ports/pull/9257

Change History (2)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Cc: j.hafey@… removed
Owner: set to j.hafey@…
Status: newassigned

comment:2 Changed 4 years ago by Mark Berger <mark.berger@…>

Resolution: fixed
Status: assignedclosed

In f4c8567d96f0e4678c83b0fd225f90dd80989761/macports-ports (master):

gcal: Update to 4.1; Fix for Big Sur and Apple Silicon

Fixes: #62041

Fixes implicit function definition by ensuring that sys/ioctl is
included.

Fixes a trap when running Big Sur. Added patch that oleg-derevenetz had
accepted upstream, but from which we are unlikely to get a release build
anytime soon.

Upstream patch can be seen at

https://git.savannah.gnu.org/cgit/gcal.git/commit/?id=a9d49b3e6535ebf2b5a0b4051e95bb5dc0c27fdb

Note: See TracTickets for help on using tickets.