| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0004731 | Spring engine | AI | public | 2015-04-08 20:11 | 2015-04-09 10:38 | ||||
| Reporter | UnitedMarsupials | ||||||||
| Assigned To | abma | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | duplicate | ||||||
| Product Version | 98.0 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0004731: headlessStubs/glstub.c out of sync with the lastest GL/glext.h | ||||||||
| Description | To catch just this sort of errors, I excluded the toplevel include/ subdirectory when extracting the tarball. Instead of the glext.h bundled with SpringRTS, the system one was installed leading to the following error: /home/ports/games/spring/work/spring_98.0/rts/lib/headlessStubs/glstub.c:133:21: error: conflicting types for 'glShaderSource' GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length) {} ^ /opt/include/GL/glext.h:777:21: note: previous declaration is here GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); | ||||||||
| Additional Information | The patch seems trivial, but might break things on older systems using older GL: --- rts/lib/headlessStubs/glstub.c 2014-10-07 16:09:52.000000000 -0400 +++ rts/lib/headlessStubs/glstub.c 2015-04-08 14:03:33.000000000 -0400 @@ -131,5 +131,5 @@ GLAPI void APIENTRY glGetShaderiv(GLuint shader, GLenum pname, GLint *params) {} GLAPI void APIENTRY glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) {} -GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length) {} +GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length) {} GLAPI void APIENTRY glUniform1fARB(GLint location, GLfloat v0) {} | ||||||||
| Tags | No tags attached. | ||||||||
| Checked infolog.txt for Errors | |||||||||
| Attached Files |
| ||||||||
Relationships |
|||||||||||
|
|||||||||||
Notes |
|
|
abma (administrator) 2015-04-08 20:17 Last edited: 2015-04-08 20:19 |
imo you should switch to latest development branch, very likely you get different errors (and don't report things which are fixed). just FYI: we don't maintain old releases (lack of resources), so we won't release a 98.1 which contains such bugfixes. (this error very likely isn't fixed) |
|
UnitedMarsupials (reporter) 2015-04-08 20:23 |
> imo you should switch to latest development branch I'm trying to fix FreeBSD port games/spring to save it from being deleted for remaining broken too long. At FreeBSD we try to use the latest _releases_, rather than development, beta or similar things whenever possible. |
|
abma (administrator) 2015-04-08 20:24 |
ok, this makes it more difficult for me and others help then. |
|
cleanrock (reporter) 2015-04-08 20:42 |
Just use the patches you need to get your distro package to build. This is very common in ArchLinux packages for example. |
Issue History |
|||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-04-08 20:11 | UnitedMarsupials | New Issue | |
| 2015-04-08 20:17 | abma | Note Added: 0014283 | |
| 2015-04-08 20:17 | abma | Severity | minor => major |
| 2015-04-08 20:17 | abma | Relationship added | related to 0004729 |
| 2015-04-08 20:19 | abma | Note Edited: 0014283 | View Revisions |
| 2015-04-08 20:23 | UnitedMarsupials | Note Added: 0014285 | |
| 2015-04-08 20:24 | abma | Note Added: 0014286 | |
| 2015-04-08 20:42 | cleanrock | Note Added: 0014291 | |
| 2015-04-09 10:37 | abma | Relationship added | duplicate of 0004733 |
| 2015-04-09 10:38 | abma | Status | new => closed |
| 2015-04-09 10:38 | abma | Assigned To | => abma |
| 2015-04-09 10:38 | abma | Resolution | open => duplicate |


