Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13665 closed defect (fixed)

APIENTRY patch for plib

Reported by: hans@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: plib APIENTRY Cc: ryandesign (Ryan Carsten Schmidt)
Port:

Description

Please apply the attached patch when building plib. Although perhaps it is technically a bug in Apple's glut.h, this seems to be the appropriate place to fix it. For more information, see http://marc.info/?l=flightgear-devel&m=118290546120312&w=2

Attachments (1)

APIENTRY.diff (332 bytes) - added by hans@… 16 years ago.

Download all attachments as: .zip

Change History (6)

Changed 16 years ago by hans@…

Attachment: APIENTRY.diff added

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Milestone: Port Bugs

plib 1.8.4_0 builds and installs just fine for me, on Mac OS X 10.4.11 Intel with Xcode 2.4.1 and MacPorts built from trunk, so I need more information. What problem do you see when building plib, what version of Mac OS X, Xcode and MacPorts do you have, and what architecture is your processor?

comment:2 Changed 16 years ago by hans@…

It compiles fine. The problem is in actually using it. Software, e.g. SimGear, depends on APIENTRY being defined. Problem seen both on Tiger and Leopard.

comment:3 Changed 16 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to jmr@…
Status: newassigned

comment:4 Changed 16 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

Thanks, committed in r34798.

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.