1 |
commit: 36feeb097ad8a44604ff04cda47fad12169139d9 |
2 |
Author: Alexey Sokolov <sokolov <AT> google <DOT> com> |
3 |
AuthorDate: Sat Oct 10 10:16:19 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 10 11:46:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36feeb09 |
7 |
|
8 |
sci-astronomy/stellarium: fix patches |
9 |
|
10 |
Somehow CRLF line endings were lost. Some files have CRLF line endings, |
11 |
and some have LF only. |
12 |
|
13 |
Bug: https://bugs.gentoo.org/745234 |
14 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
15 |
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> |
16 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
17 |
|
18 |
.../files/stellarium-0.20.3-unbundle-indi.patch | 16 ++++---- |
19 |
.../stellarium-0.20.3-unbundle-qtcompress.patch | 44 +++++++++++----------- |
20 |
.../files/stellarium-0.20.3-unbundle-zlib.patch | 28 +++++++------- |
21 |
3 files changed, 44 insertions(+), 44 deletions(-) |
22 |
|
23 |
diff --git a/sci-astronomy/stellarium/files/stellarium-0.20.3-unbundle-indi.patch b/sci-astronomy/stellarium/files/stellarium-0.20.3-unbundle-indi.patch |
24 |
index ac3f84d5bb6..33d355f842f 100644 |
25 |
--- a/sci-astronomy/stellarium/files/stellarium-0.20.3-unbundle-indi.patch |
26 |
+++ b/sci-astronomy/stellarium/files/stellarium-0.20.3-unbundle-indi.patch |
27 |
@@ -72,11 +72,11 @@ index 6fcf7678da..a59d8c121c 100644 |
28 |
--- a/src/external/CMakeLists.txt |
29 |
+++ b/src/external/CMakeLists.txt |
30 |
@@ -176,7 +176,7 @@ target_link_libraries(qxlsx_stel Qt5::Core Qt5::Gui qtcompress_stel) |
31 |
- set_target_properties(qxlsx_stel PROPERTIES FOLDER "src/external") |
32 |
- |
33 |
- ################################# INDI ################################ |
34 |
--IF(USE_PLUGIN_TELESCOPECONTROL) |
35 |
-+IF(USE_PLUGIN_TELESCOPECONTROL AND 0) |
36 |
- set(INDI_SOVERSION "1") |
37 |
- set(CMAKE_INDI_VERSION_MAJOR 1) |
38 |
- set(CMAKE_INDI_VERSION_MINOR 6) |
39 |
+ set_target_properties(qxlsx_stel PROPERTIES FOLDER "src/external") |
40 |
+ |
41 |
+ ################################# INDI ################################ |
42 |
+-IF(USE_PLUGIN_TELESCOPECONTROL) |
43 |
++IF(USE_PLUGIN_TELESCOPECONTROL AND 0) |
44 |
+ set(INDI_SOVERSION "1") |
45 |
+ set(CMAKE_INDI_VERSION_MAJOR 1) |
46 |
+ set(CMAKE_INDI_VERSION_MINOR 6) |
47 |
|
48 |
diff --git a/sci-astronomy/stellarium/files/stellarium-0.20.3-unbundle-qtcompress.patch b/sci-astronomy/stellarium/files/stellarium-0.20.3-unbundle-qtcompress.patch |
49 |
index 7a585b71894..64b19a54c88 100644 |
50 |
--- a/sci-astronomy/stellarium/files/stellarium-0.20.3-unbundle-qtcompress.patch |
51 |
+++ b/sci-astronomy/stellarium/files/stellarium-0.20.3-unbundle-qtcompress.patch |
52 |
@@ -93,30 +93,30 @@ index 1e0e7e2b32..834aff89cb 100644 |
53 |
--- a/src/external/CMakeLists.txt |
54 |
+++ b/src/external/CMakeLists.txt |
55 |
@@ -70,6 +70,7 @@ target_include_directories(zlib_stel PUBLIC zlib) |
56 |
- set_target_properties(zlib_stel PROPERTIES AUTOMOC 0) |
57 |
- SET_TARGET_PROPERTIES(zlib_stel PROPERTIES FOLDER "src/external") |
58 |
- |
59 |
-+if(0) |
60 |
- set(qtcompress_SRCS |
61 |
- qtcompress/qzip.cpp |
62 |
- qtcompress/qzipreader.h |
63 |
+ set_target_properties(zlib_stel PROPERTIES AUTOMOC 0) |
64 |
+ SET_TARGET_PROPERTIES(zlib_stel PROPERTIES FOLDER "src/external") |
65 |
+ |
66 |
++if(0) |
67 |
+ set(qtcompress_SRCS |
68 |
+ qtcompress/qzip.cpp |
69 |
+ qtcompress/qzipreader.h |
70 |
@@ -82,6 +83,7 @@ target_link_libraries(qtcompress_stel ${ZLIB_LIBRARIES} Qt5::Core) |
71 |
- #turn off automoc, not needed here |
72 |
- set_target_properties(qtcompress_stel PROPERTIES AUTOMOC 0) |
73 |
- SET_TARGET_PROPERTIES(qtcompress_stel PROPERTIES FOLDER "src/external") |
74 |
-+endif() |
75 |
- |
76 |
- set(qcustomplot_SRCS |
77 |
- qcustomplot/qcustomplot.cpp |
78 |
+ #turn off automoc, not needed here |
79 |
+ set_target_properties(qtcompress_stel PROPERTIES AUTOMOC 0) |
80 |
+ SET_TARGET_PROPERTIES(qtcompress_stel PROPERTIES FOLDER "src/external") |
81 |
++endif() |
82 |
+ |
83 |
+ set(qcustomplot_SRCS |
84 |
+ qcustomplot/qcustomplot.cpp |
85 |
@@ -176,7 +176,7 @@ |
86 |
- qxlsx/xlsxcelllocation.h |
87 |
- ) |
88 |
- add_library(qxlsx_stel STATIC EXCLUDE_FROM_ALL ${qxlsx_SRCS}) |
89 |
--target_link_libraries(qxlsx_stel Qt5::Core Qt5::Gui qtcompress_stel) |
90 |
-+target_link_libraries(qxlsx_stel Qt5::Core Qt5::Gui Qt5::Compress) |
91 |
- set_target_properties(qxlsx_stel PROPERTIES FOLDER "src/external") |
92 |
- |
93 |
- ################################# INDI ################################ |
94 |
+ qxlsx/xlsxcelllocation.h |
95 |
+ ) |
96 |
+ add_library(qxlsx_stel STATIC EXCLUDE_FROM_ALL ${qxlsx_SRCS}) |
97 |
+-target_link_libraries(qxlsx_stel Qt5::Core Qt5::Gui qtcompress_stel) |
98 |
++target_link_libraries(qxlsx_stel Qt5::Core Qt5::Gui Qt5::Compress) |
99 |
+ set_target_properties(qxlsx_stel PROPERTIES FOLDER "src/external") |
100 |
+ |
101 |
+ ################################# INDI ################################ |
102 |
diff -r 11536448457a xlsxzipreader.cpp |
103 |
--- a/src/external/qxlsx/xlsxzipreader.cpp Thu Oct 08 21:41:22 2020 +0100 |
104 |
+++ b/src/external/qxlsx/xlsxzipreader.cpp Thu Oct 08 21:42:03 2020 +0100 |
105 |
|
106 |
diff --git a/sci-astronomy/stellarium/files/stellarium-0.20.3-unbundle-zlib.patch b/sci-astronomy/stellarium/files/stellarium-0.20.3-unbundle-zlib.patch |
107 |
index 37acb83e667..6fb7fb4f785 100644 |
108 |
--- a/sci-astronomy/stellarium/files/stellarium-0.20.3-unbundle-zlib.patch |
109 |
+++ b/sci-astronomy/stellarium/files/stellarium-0.20.3-unbundle-zlib.patch |
110 |
@@ -6,18 +6,18 @@ index 834aff89cb..590579e501 100644 |
111 |
--- a/src/external/CMakeLists.txt |
112 |
+++ b/src/external/CMakeLists.txt |
113 |
@@ -36,6 +36,7 @@ target_link_libraries(glues_stel Qt5::Gui) |
114 |
- set_target_properties(glues_stel PROPERTIES AUTOMOC 0) |
115 |
- SET_TARGET_PROPERTIES(glues_stel PROPERTIES FOLDER "src/external") |
116 |
- |
117 |
-+if(0) |
118 |
- SET(zlib_SRCS |
119 |
- zlib/adler32.c |
120 |
- zlib/compress.c |
121 |
+ set_target_properties(glues_stel PROPERTIES AUTOMOC 0) |
122 |
+ SET_TARGET_PROPERTIES(glues_stel PROPERTIES FOLDER "src/external") |
123 |
+ |
124 |
++if(0) |
125 |
+ SET(zlib_SRCS |
126 |
+ zlib/adler32.c |
127 |
+ zlib/compress.c |
128 |
@@ -69,6 +70,7 @@ target_include_directories(zlib_stel PUBLIC zlib) |
129 |
- #turn off automoc, not needed here |
130 |
- set_target_properties(zlib_stel PROPERTIES AUTOMOC 0) |
131 |
- SET_TARGET_PROPERTIES(zlib_stel PROPERTIES FOLDER "src/external") |
132 |
-+endif() |
133 |
- |
134 |
- if(0) |
135 |
- set(qtcompress_SRCS |
136 |
+ #turn off automoc, not needed here |
137 |
+ set_target_properties(zlib_stel PROPERTIES AUTOMOC 0) |
138 |
+ SET_TARGET_PROPERTIES(zlib_stel PROPERTIES FOLDER "src/external") |
139 |
++endif() |
140 |
+ |
141 |
+ if(0) |
142 |
+ set(qtcompress_SRCS |