Opened 11 years ago

Closed 11 years ago

#41014 closed defect (fixed)

glfw: universal variant fails

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: glfw

Description

/opt/local/var/macports/build/_Users_rschmidt_macports_dports_graphics_glfw/glfw/work/glfw-3.0.3/src/../deps/GL/glext.h:4133:19: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'long')
typedef ptrdiff_t GLsizeiptrARB;
                  ^
/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:70:14: note: previous definition is here
typedef long GLsizeiptrARB;
             ^

Attachments (2)

main.log (13.9 KB) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.
main.2.log (14.5 KB) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:1 Changed 11 years ago by michaelld (Michael Dickens)

Yeah, true. This issue was hopefully fixed with patches I pushed upstream a while ago, and is found in the GIT master. I had hoped that the upstream would create a new version quickly, but that's not happening. So, I'm moving glfw-devel -> glfw and just having glfw follow the latest GIT master. Checking that in soon.

comment:2 Changed 11 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

Done in r112622. This change works for me on 10.8 using the latest xcode, so I'm closing this ticket as fixed. Reopen it if glfw +universal still fails for you.

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: closedreopened

Yes, it still fails. New log attached.

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.2.log added

comment:4 Changed 11 years ago by michaelld (Michael Dickens)

I'm guessing this is a 10.9 issue. I'm a few hours away from getting xcode on 10.9, and then getting MacPorts installed. So, hopefully I'll get this worked out in the next couple of days. Plenty of fixes for 10.9 needed in my ports :)

comment:5 Changed 11 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: reopenedclosed

This issue was fixed upstream on Nov 7, commit e7c7ebf6; the glfw port is current with glfw's git master, which is Nov 10.

Note: See TracTickets for help on using tickets.