diff options
author | maurerpe <junk4me46806@yahoo.com> | 2017-07-06 22:55:30 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-07-06 22:56:08 +1000 |
commit | dfbc1b4b7a8ad01f03defd04329140d5bb1e1a9e (patch) | |
tree | 45d9010a193171bf8acfd9dd00e5acf9362f925c /media-gfx/opencsg/files | |
parent | x11-misc/kronometer: remove 2.1.2 (diff) | |
download | gentoo-dfbc1b4b7a8ad01f03defd04329140d5bb1e1a9e.tar.gz gentoo-dfbc1b4b7a8ad01f03defd04329140d5bb1e1a9e.tar.bz2 gentoo-dfbc1b4b7a8ad01f03defd04329140d5bb1e1a9e.zip |
media-gfx/opencsg: fix build with GCC 6
Gentoo-bug: 623840
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-gfx/opencsg/files')
-rw-r--r-- | media-gfx/opencsg/files/opencsg-1.4.2-includepath.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/media-gfx/opencsg/files/opencsg-1.4.2-includepath.patch b/media-gfx/opencsg/files/opencsg-1.4.2-includepath.patch new file mode 100644 index 000000000000..9b66ae44ed0e --- /dev/null +++ b/media-gfx/opencsg/files/opencsg-1.4.2-includepath.patch @@ -0,0 +1,25 @@ +* Fix build with GCC 6 +* Don't hardcode libdir + +Gentoo-bug: 623840 + +--- a/src.pro ++++ b/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 ++target.path = $$INSTALLDIR/$$LIBDIR + INSTALLS += target headers + + HEADERS = ../include/opencsg.h \ |