diff options
Diffstat (limited to 'graphics-libs/opencsg/opencsg-1.4.2-includepath.patch')
-rw-r--r-- | graphics-libs/opencsg/opencsg-1.4.2-includepath.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/graphics-libs/opencsg/opencsg-1.4.2-includepath.patch b/graphics-libs/opencsg/opencsg-1.4.2-includepath.patch new file mode 100644 index 0000000000..3a7309563b --- /dev/null +++ b/graphics-libs/opencsg/opencsg-1.4.2-includepath.patch @@ -0,0 +1,24 @@ +* Fix build with GCC 6 +* Don't hardcode libdir + +Gentoo-bug: 623840 + +--- a/src/src.pro ++++ b/src/src.pro +@@ -7,14 +7,14 @@ + } + + CONFIG += opengl warn_on release +-INCLUDEPATH += ../include ../ $$INSTALLDIR/include ++INCLUDEPATH += ../include .. + CONFIG -= qt +-LIBS += -L$$INSTALLDIR/lib -lGLEW ++LIBS += -lGLEW + + DESTDIR = ../lib + headers.files = ../include/opencsg.h + headers.path = $$INSTALLDIR/include + target.path = $$INSTALLDIR/lib + INSTALLS += target headers + + HEADERS = ../include/opencsg.h \ |