1 |
commit: 6618768ee2b477120e5bbb07640fa770f4766aba |
2 |
Author: Ingolf Wagner <contact <AT> ingolf-wagner <DOT> de> |
3 |
AuthorDate: Tue Jun 6 10:19:10 2017 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 6 10:27:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6618768e |
7 |
|
8 |
x11-misc/slop: fixed no-opengl patch |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
12 |
|
13 |
x11-misc/slop/files/slop-4.3.21-no-opengl.patch | 23 ++++++++++++++++++++++- |
14 |
1 file changed, 22 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/x11-misc/slop/files/slop-4.3.21-no-opengl.patch b/x11-misc/slop/files/slop-4.3.21-no-opengl.patch |
17 |
index 7dbd45dd7d0..2f596b65e99 100644 |
18 |
--- a/x11-misc/slop/files/slop-4.3.21-no-opengl.patch |
19 |
+++ b/x11-misc/slop/files/slop-4.3.21-no-opengl.patch |
20 |
@@ -1,7 +1,8 @@ |
21 |
diff --git a/CMakeLists.txt b/CMakeLists.txt |
22 |
+index 62cc1a6..f5d66e5 100644 |
23 |
--- a/CMakeLists.txt |
24 |
+++ b/CMakeLists.txt |
25 |
-@@ -67,14 +67,8 @@ endif() |
26 |
+@@ -71,14 +71,8 @@ endif() |
27 |
|
28 |
# Obtain library paths and make sure they exist. |
29 |
set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmakemodules" ) |
30 |
@@ -16,3 +17,23 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt |
31 |
|
32 |
set( CMAKE_CXX_FLAGS |
33 |
"${CMAKE_CXX_FLAGS} ${CMAKE_IMLIB2_CXX_FLAGS}" ) |
34 |
+diff --git a/src/x.hpp b/src/x.hpp |
35 |
+index 2478414..f35e722 100644 |
36 |
+--- a/src/x.hpp |
37 |
++++ b/src/x.hpp |
38 |
+@@ -26,7 +26,6 @@ |
39 |
+ #include <X11/Xlib.h> |
40 |
+ #include <X11/cursorfont.h> |
41 |
+ #include <X11/extensions/shape.h> |
42 |
+-#include <X11/extensions/Xrandr.h> |
43 |
+ |
44 |
+ #include <stdlib.h> |
45 |
+ #include <cstring> |
46 |
+@@ -97,7 +96,6 @@ public: |
47 |
+ std::vector<bool> m_mouse; |
48 |
+ bool mouseDown( unsigned int button ); |
49 |
+ bool m_keypressed; |
50 |
+- XRRScreenResources* m_res; |
51 |
+ private: |
52 |
+ slop::CursorType m_currentCursor; |
53 |
+ bool m_good; |