summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2023-09-19 19:43:29 +0100
committerJoonas Niilola <juippis@gentoo.org>2023-12-11 15:30:27 +0200
commit4c48b38e185de8672deed3aee4871355cc22b8fa (patch)
treeed37e83392eef333ca7092bcb2e93eab4f5993ff /media-gfx/opencsg/files
parentnet-dialup/rp-l2tp: Fix call to undeclared library function memset (diff)
downloadgentoo-4c48b38e185de8672deed3aee4871355cc22b8fa.tar.gz
gentoo-4c48b38e185de8672deed3aee4871355cc22b8fa.tar.bz2
gentoo-4c48b38e185de8672deed3aee4871355cc22b8fa.zip
media-gfx/opencsg: add 1.6.0
Signed-off-by: Chris Mayo <aklhfex@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32932 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx/opencsg/files')
-rw-r--r--media-gfx/opencsg/files/opencsg-1.6.0-includepath.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/media-gfx/opencsg/files/opencsg-1.6.0-includepath.patch b/media-gfx/opencsg/files/opencsg-1.6.0-includepath.patch
new file mode 100644
index 000000000000..419a0f7478b3
--- /dev/null
+++ b/media-gfx/opencsg/files/opencsg-1.6.0-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,13 @@
+ }
+
+ CONFIG += opengl warn_on release
+-INCLUDEPATH += ../include ../ $$INSTALLDIR/include
++INCLUDEPATH += ../include ..
+ CONFIG -= qt
+-LIBS += -L$$INSTALLDIR/lib
+
+ 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 \