Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672558 - games-engines/love-0.7.2-r2: compilation fails (error: ‘glDeleteBuffers’ was not declared in this scope)
Summary: games-engines/love-0.7.2-r2: compilation fails (error: ‘glDeleteBuffers’ was ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Keywords: PATCH
Depends on:
Reported: 2018-12-05 12:59 UTC by Hanno Böck
Modified: 2020-10-13 16:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

Patch that fixes the compile error (fix-opengl.patch,899 bytes, patch)
2019-06-02 23:34 UTC, Sven Hesse
Details | Diff
Corresponding patch for love:0.8 (fix-opengl.patch,1.58 KB, patch)
2019-06-06 01:46 UTC, Samuel Bauer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2018-12-05 12:59:25 UTC
Compilation fails with plenty of OpenGL-related errors.

While there are newer versions in the tree, this is a slotted version and some packages (e.g. nottetris2) depend on it.
Comment 1 BetaRays 2019-01-17 18:33:32 UTC
According to genlop, this compiled fine with mesa 17.3.9, but it doesn't anymore.

I couldn't find any patch that fixes this yet.
Comment 2 Sven Hesse 2019-06-02 23:34:10 UTC
Created attachment 578480 [details, diff]
Patch that fixes the compile error

Based on this comments on Arch's AUR: , here's a patch that fixes this for me.
Comment 3 Samuel Bauer 2019-06-06 01:46:30 UTC
Created attachment 578968 [details, diff]
Corresponding patch for love:0.8

love:0.8 is also affected.
Comment 4 phkb 2019-09-15 23:32:09 UTC
Thanks for the patches! I can confirm they work on both versions.
Comment 5 Larry the Git Cow gentoo-dev 2020-10-13 16:55:17 UTC
The bug has been closed via the following commit(s):

commit a8dce7e04326898caa8ed79e49516c1b9ebaac9c
Author:     Marek Szuba <>
AuthorDate: 2020-10-13 16:34:36 +0000
Commit:     Marek Szuba <>
CommitDate: 2020-10-13 16:47:57 +0000

    games-engines/love: fix compilation error in 0.7 and 0.8
    Signed-off-by: Marek Szuba <>

 .../files/love-0.7.2-opengl_glext_prototypes.patch | 19 ++++++++
 .../files/love-0.8.0-opengl_glext_prototypes.patch | 54 ++++++++++++++++++++++
 games-engines/love/love-0.7.2-r2.ebuild            |  7 ++-
 games-engines/love/love-0.8.0-r2.ebuild            |  7 ++-
 4 files changed, 83 insertions(+), 4 deletions(-)