#55816 closed defect (fixed)
lua52 @5.2.4_1 : cannot build with OS X 10.4.11
Reported by: | miniupnp (Thomas BERNARD) | Owned by: | kencu (Ken) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.2 |
Keywords: | haspatch, tiger | Cc: | |
Port: | lua52 |
Description
lua52 port fails to build on my old PowerPC with 10.4.11
$ uname -a Darwin power-mac-g4-de-dvers-divers.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
:info:build liolib.c: In function 'f_seek': :info:build liolib.c:552: error: 'off_t' undeclared (first use in this function) :info:build liolib.c:552: error: (Each undeclared identifier is reported only once :info:build liolib.c:552: error: for each function it appears in.) :info:build liolib.c:552: error: expected ';' before 'offset' :info:build liolib.c:553: error: 'offset' undeclared (first use in this function)
Attached is a patch to fix the problem
Attachments (2)
Change History (5)
Changed 7 years ago by miniupnp (Thomas BERNARD)
Attachment: | lua-5.2.4.macosx10.4.11.patch added |
---|
comment:1 Changed 7 years ago by miniupnp (Thomas BERNARD)
Note : I checked a more recent version of lua, the #include <sys/types.h> is included upstream...
comment:2 Changed 7 years ago by kencu (Ken)
Owner: | set to kencu |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:3 Changed 7 years ago by kencu (Ken)
Thanks! FYI patch needed to be adjusted to work with MacPorts' default patchlevel setting.
FYI, for more Tiger-related fixes, you might want to check out <https://github.com/kencu/TigerPorts>. I've been collecting suitable patches and fixes that relate to Tiger, and if appropriate, will try to integrate as many of them into MacPorts main repo as seem reasonable.
Note: See
TracTickets for help on using
tickets.
Patch to fix build problem of lua52