pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

plasma-desktop: add more HAVE_X11 patches I had lingering around



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Wed May 1 20:14:42 2019 +0300
Changeset:	ab5774ec1f8c29df2093c4f8cc2685e326574994

Modified Files:
	plasma-desktop/distinfo
Added Files:
	plasma-desktop/patches/patch-CMakeLists.txt
	plasma-desktop/patches/patch-config-X11.h.cmake

Log Message:
plasma-desktop: add more HAVE_X11 patches I had lingering around

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ab5774ec1f8c29df2093c4f8cc2685e326574994

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 plasma-desktop/distinfo                         |  2 ++
 plasma-desktop/patches/patch-CMakeLists.txt     | 13 +++++++++++++
 plasma-desktop/patches/patch-config-X11.h.cmake | 11 +++++++++++
 3 files changed, 26 insertions(+)

diffs:
diff --git a/plasma-desktop/distinfo b/plasma-desktop/distinfo
index ee0af444a8..3e30a5a24d 100644
--- a/plasma-desktop/distinfo
+++ b/plasma-desktop/distinfo
@@ -4,3 +4,5 @@ SHA1 (plasma-desktop-5.12.4.tar.xz) = 6fa92090acac258d1296cc715309d92c14a85b1f
 RMD160 (plasma-desktop-5.12.4.tar.xz) = e1b1878dfbd509a0fd9be6786bf3ab1e2936738a
 SHA512 (plasma-desktop-5.12.4.tar.xz) = 1aaecdddfd373512eaabea2c1c2e172c058b4aac52144feb14c8c0bc096db0e8242f7f712e228fc4f9188877e045cfd4d1e9890578234c61f6b408f8c3cfb660
 Size (plasma-desktop-5.12.4.tar.xz) = 8532112 bytes
+SHA1 (patch-CMakeLists.txt) = 706a7384a8ec64646585c80b7301ed989dad1533
+SHA1 (patch-config-X11.h.cmake) = 57611149f2680a8d972eeeb5247e8227dc0a98b4
diff --git a/plasma-desktop/patches/patch-CMakeLists.txt b/plasma-desktop/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..d43cdbf715
--- /dev/null
+++ b/plasma-desktop/patches/patch-CMakeLists.txt
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- CMakeLists.txt.orig	2019-04-27 20:25:02.908207375 +0000
++++ CMakeLists.txt
+@@ -138,6 +138,8 @@ if(${AppStreamQt_FOUND})
+     set(HAVE_APPSTREAMQT true)
+ endif()
+ 
++set(HAVE_X11 ${X11_FOUND})
++
+ include_directories("${CMAKE_CURRENT_BINARY_DIR}")
+ 
+ configure_file(config-workspace.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-workspace.h)
diff --git a/plasma-desktop/patches/patch-config-X11.h.cmake b/plasma-desktop/patches/patch-config-X11.h.cmake
new file mode 100644
index 0000000000..d88e19f712
--- /dev/null
+++ b/plasma-desktop/patches/patch-config-X11.h.cmake
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- config-X11.h.cmake.orig	2018-03-27 11:21:06.000000000 +0000
++++ config-X11.h.cmake
+@@ -41,4 +41,4 @@
+ #cmakedefine HAS_RANDR_1_3 1
+ 
+ /* Define if you have X11 at all */
+-#define HAVE_X11 ${X11_FOUND}
+\ No newline at end of file
++#cmakedefine01 HAVE_X11


Home | Main Index | Thread Index | Old Index