pkgsrc-WIP-changes archive

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

telegram-desktop/patches/patch-lib_base-CMakeLists.txt: added file



Module Name:	pkgsrc-wip
Committed By:	AcidBear <jake.slazenger%yandex.com@localhost>
Pushed By:	jakeSlaz
Date:		Thu Feb 13 01:14:43 2020 +0300
Changeset:	16df2b5f6fe889bf02348dcb5aea7853c71dc6b5

Modified Files:
	telegram-desktop/Makefile
	telegram-desktop/distinfo
Added Files:
	telegram-desktop/patches/patch-lib_base-CMakeLists.txt

Log Message:
telegram-desktop/patches/patch-lib_base-CMakeLists.txt: added file

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

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

diffstat:
 telegram-desktop/Makefile                          |  5 ++++-
 telegram-desktop/distinfo                          |  1 +
 .../patches/patch-lib_base-CMakeLists.txt          | 22 ++++++++++++++++++++++
 3 files changed, 27 insertions(+), 1 deletion(-)

diffs:
diff --git a/telegram-desktop/Makefile b/telegram-desktop/Makefile
index 732cb5680c..9db7acf2b2 100644
--- a/telegram-desktop/Makefile
+++ b/telegram-desktop/Makefile
@@ -14,10 +14,13 @@ HOMEPAGE=              https://desktop.telegram.org/
 COMMENT=               Telegram Desktop messaging app
 LICENSE=               gnu-gpl-v3
 
-ONLY_FOR_COMPILER=     gcc
+#PKGSRC_COMPILER=       clang
+#ONLY_FOR_COMPILER=     clang
+
 USE_LANGUAGES=         c c++ gnu++14
 USE_CMAKE=             yes
 
+ONLY_FOR_COMPILER=     gcc
 GCC_REQD=              8
 
 CMAKE_ARGS+=           -Ddisable_autoupdate=1
diff --git a/telegram-desktop/distinfo b/telegram-desktop/distinfo
index 749c6b463d..16acc8c9df 100644
--- a/telegram-desktop/distinfo
+++ b/telegram-desktop/distinfo
@@ -5,3 +5,4 @@ RMD160 (tdesktop/telegram-desktop-1.9.9.tar.gz) = 077087a0b57d6950ab1431c7d8fa11
 SHA512 (tdesktop/telegram-desktop-1.9.9.tar.gz) = ba6400e6f5eec5bda6e8a54b43846e695b2cce731cb6b39f17407cc39e3e9b8078d977253d29962671f30e33dbe012f8e40f340f781fd8ca73487e5f2d42e3de
 Size (tdesktop/telegram-desktop-1.9.9.tar.gz) = 25221934 bytes
 SHA1 (patch-build_config.h) = 17bccca2d70671fe0f8345af8a7710c2caa3db19
+SHA1 (patch-lib_base-CMakeLists.txt) = e982fa8b8fc48e3100c98d65789ab4131a707beb
diff --git a/telegram-desktop/patches/patch-lib_base-CMakeLists.txt b/telegram-desktop/patches/patch-lib_base-CMakeLists.txt
new file mode 100644
index 0000000000..fb71f66972
--- /dev/null
+++ b/telegram-desktop/patches/patch-lib_base-CMakeLists.txt
@@ -0,0 +1,22 @@
+$NetBSD$
+
+remove precompiled headers from lib_base
+
+--- Telegram/lib_base/CMakeLists.txt	2020-01-21 15:35:25.000000000 +0000
++++ Telegram/lib_base/CMakeLists.txt
+@@ -14,7 +14,6 @@ init_target(lib_base_crash_report_writer
+ 
+ get_filename_component(src_loc . REALPATH)
+ 
+-target_precompile_headers(lib_base PRIVATE ${src_loc}/base/base_pch.h)
+ nice_target_sources(lib_base ${src_loc}
+ PRIVATE
+     base/platform/linux/base_file_utilities_linux.cpp
+@@ -149,7 +148,6 @@ PUBLIC
+     desktop-app::external_expected
+ )
+ 
+-target_precompile_headers(lib_base_crash_report_writer PRIVATE ${src_loc}/base/base_pch.h)
+ nice_target_sources(lib_base_crash_report_writer ${src_loc}
+ PRIVATE
+     base/crash_report_header.cpp


Home | Main Index | Thread Index | Old Index