diff options
| author | Khem Raj <raj.khem@gmail.com> | 2018-04-26 10:00:04 -0700 | 
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2018-05-01 18:17:43 -0700 | 
| commit | 8efb248b20b25da9905a51f6b7de13e7e2060aea (patch) | |
| tree | a88d36ff73f31f66a207a1ce4fde9d2f2caf44f7 | |
| parent | f225823e22c720965334f5be613183fa11a612b3 (diff) | |
| download | meta-openembedded-8efb248b20b25da9905a51f6b7de13e7e2060aea.tar.gz | |
libyui: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
| -rw-r--r-- | meta-oe/recipes-graphics/libyui/libyui/0001-Fix-build-with-clang.patch | 687 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/libyui/libyui_git.bb | 1 | 
2 files changed, 688 insertions, 0 deletions
| diff --git a/meta-oe/recipes-graphics/libyui/libyui/0001-Fix-build-with-clang.patch b/meta-oe/recipes-graphics/libyui/libyui/0001-Fix-build-with-clang.patch new file mode 100644 index 0000000000..4269018192 --- /dev/null +++ b/meta-oe/recipes-graphics/libyui/libyui/0001-Fix-build-with-clang.patch | |||
| @@ -0,0 +1,687 @@ | |||
| 1 | From 18562671982ad97549bccb444fdbb5905b6e9335 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 24 Apr 2018 15:06:14 -0700 | ||
| 4 | Subject: [PATCH] Fix build with clang | ||
| 5 | |||
| 6 | Fix warnings found with clang | ||
| 7 | |||
| 8 | error: class 'YButtonBoxPrivate' was previously declared as a struct [-Werror,-Wmismatched-tags] | ||
| 9 | | friend class YButtonBoxPrivate; | ||
| 10 | |||
| 11 | YTimezoneSelector.cc:35:9: error: private field 'dummy' is not used [-Werror,-Wunused-private-field] | ||
| 12 | bool dummy; | ||
| 13 | ^ | ||
| 14 | |||
| 15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 16 | --- | ||
| 17 | Upstream-Status: Submitted [https://github.com/libyui/libyui/pull/123] | ||
| 18 | |||
| 19 | src/YAlignment.h | 2 +- | ||
| 20 | src/YBarGraph.h | 2 +- | ||
| 21 | src/YBusyIndicator.h | 2 +- | ||
| 22 | src/YButtonBox.h | 4 ++-- | ||
| 23 | src/YCheckBox.h | 2 +- | ||
| 24 | src/YCheckBoxFrame.h | 2 +- | ||
| 25 | src/YComboBox.h | 2 +- | ||
| 26 | src/YCommandLine.h | 2 +- | ||
| 27 | src/YContextMenu.h | 2 +- | ||
| 28 | src/YDateField.h | 2 +- | ||
| 29 | src/YDialog.h | 2 +- | ||
| 30 | src/YDownloadProgress.h | 2 +- | ||
| 31 | src/YDumbTab.h | 2 +- | ||
| 32 | src/YEmpty.h | 2 +- | ||
| 33 | src/YEventFilter.h | 2 +- | ||
| 34 | src/YFrame.h | 2 +- | ||
| 35 | src/YGraph.h | 2 +- | ||
| 36 | src/YImage.h | 2 +- | ||
| 37 | src/YInputField.h | 2 +- | ||
| 38 | src/YIntField.h | 2 +- | ||
| 39 | src/YLabel.h | 2 +- | ||
| 40 | src/YLayoutBox.h | 2 +- | ||
| 41 | src/YLogView.h | 2 +- | ||
| 42 | src/YMenuButton.h | 2 +- | ||
| 43 | src/YMultiLineEdit.h | 2 +- | ||
| 44 | src/YMultiProgressMeter.h | 2 +- | ||
| 45 | src/YMultiSelectionBox.h | 2 +- | ||
| 46 | src/YPartitionSplitter.h | 2 +- | ||
| 47 | src/YProgressBar.h | 2 +- | ||
| 48 | src/YPushButton.h | 2 +- | ||
| 49 | src/YRadioButton.h | 2 +- | ||
| 50 | src/YRadioButtonGroup.h | 2 +- | ||
| 51 | src/YRichText.h | 2 +- | ||
| 52 | src/YSelectionBox.h | 2 +- | ||
| 53 | src/YSelectionWidget.h | 2 +- | ||
| 54 | src/YSimpleInputField.h | 2 +- | ||
| 55 | src/YSlider.h | 2 +- | ||
| 56 | src/YSpacing.h | 2 +- | ||
| 57 | src/YSquash.h | 2 +- | ||
| 58 | src/YTable.h | 2 +- | ||
| 59 | src/YTableHeader.h | 2 +- | ||
| 60 | src/YTimeField.h | 2 +- | ||
| 61 | src/YTimezoneSelector.cc | 2 +- | ||
| 62 | src/YTree.h | 2 +- | ||
| 63 | src/YUILog.h | 2 +- | ||
| 64 | src/YWidget.h | 2 +- | ||
| 65 | src/YWizard.h | 2 +- | ||
| 66 | 47 files changed, 48 insertions(+), 48 deletions(-) | ||
| 67 | |||
| 68 | diff --git a/src/YAlignment.h b/src/YAlignment.h | ||
| 69 | index d716c77..7276944 100644 | ||
| 70 | --- a/src/YAlignment.h | ||
| 71 | +++ b/src/YAlignment.h | ||
| 72 | @@ -28,7 +28,7 @@ | ||
| 73 | #include "YSingleChildContainerWidget.h" | ||
| 74 | |||
| 75 | |||
| 76 | -class YAlignmentPrivate; | ||
| 77 | +struct YAlignmentPrivate; | ||
| 78 | |||
| 79 | /** | ||
| 80 | * Implementation of all the alignment widgets: | ||
| 81 | diff --git a/src/YBarGraph.h b/src/YBarGraph.h | ||
| 82 | index 29f7f26..d7eaad2 100644 | ||
| 83 | --- a/src/YBarGraph.h | ||
| 84 | +++ b/src/YBarGraph.h | ||
| 85 | @@ -29,7 +29,7 @@ | ||
| 86 | #include "YColor.h" | ||
| 87 | |||
| 88 | |||
| 89 | -class YBarGraphPrivate; | ||
| 90 | +struct YBarGraphPrivate; | ||
| 91 | class YBarGraphSegment; | ||
| 92 | |||
| 93 | /** | ||
| 94 | diff --git a/src/YBusyIndicator.h b/src/YBusyIndicator.h | ||
| 95 | index 9530fa5..75297d8 100644 | ||
| 96 | --- a/src/YBusyIndicator.h | ||
| 97 | +++ b/src/YBusyIndicator.h | ||
| 98 | @@ -27,7 +27,7 @@ | ||
| 99 | |||
| 100 | #include "YWidget.h" | ||
| 101 | |||
| 102 | -class YBusyIndicatorPrivate; | ||
| 103 | +struct YBusyIndicatorPrivate; | ||
| 104 | |||
| 105 | |||
| 106 | /** | ||
| 107 | diff --git a/src/YButtonBox.h b/src/YButtonBox.h | ||
| 108 | index 84f8dbb..ca51f57 100644 | ||
| 109 | --- a/src/YButtonBox.h | ||
| 110 | +++ b/src/YButtonBox.h | ||
| 111 | @@ -30,7 +30,7 @@ | ||
| 112 | #include "YWidget.h" | ||
| 113 | #include "YPushButton.h" | ||
| 114 | |||
| 115 | -class YButtonBoxPrivate; | ||
| 116 | +struct YButtonBoxPrivate; | ||
| 117 | class YPushButton; | ||
| 118 | |||
| 119 | |||
| 120 | @@ -147,7 +147,7 @@ struct YButtonBoxMargins | ||
| 121 | **/ | ||
| 122 | class YButtonBox : public YWidget | ||
| 123 | { | ||
| 124 | - friend class YButtonBoxPrivate; | ||
| 125 | + friend struct YButtonBoxPrivate; | ||
| 126 | |||
| 127 | protected: | ||
| 128 | /** | ||
| 129 | diff --git a/src/YCheckBox.h b/src/YCheckBox.h | ||
| 130 | index 793cc77..03f3faa 100644 | ||
| 131 | --- a/src/YCheckBox.h | ||
| 132 | +++ b/src/YCheckBox.h | ||
| 133 | @@ -30,7 +30,7 @@ | ||
| 134 | #include "YWidget.h" | ||
| 135 | #include "ImplPtr.h" | ||
| 136 | |||
| 137 | -class YCheckBoxPrivate; | ||
| 138 | +struct YCheckBoxPrivate; | ||
| 139 | |||
| 140 | enum YCheckBoxState | ||
| 141 | { | ||
| 142 | diff --git a/src/YCheckBoxFrame.h b/src/YCheckBoxFrame.h | ||
| 143 | index 243f1a0..7017110 100644 | ||
| 144 | --- a/src/YCheckBoxFrame.h | ||
| 145 | +++ b/src/YCheckBoxFrame.h | ||
| 146 | @@ -29,7 +29,7 @@ | ||
| 147 | #include "YSingleChildContainerWidget.h" | ||
| 148 | #include "ImplPtr.h" | ||
| 149 | |||
| 150 | -class YCheckBoxFramePrivate; | ||
| 151 | +struct YCheckBoxFramePrivate; | ||
| 152 | |||
| 153 | |||
| 154 | /** | ||
| 155 | diff --git a/src/YComboBox.h b/src/YComboBox.h | ||
| 156 | index 416359a..ad0e550 100644 | ||
| 157 | --- a/src/YComboBox.h | ||
| 158 | +++ b/src/YComboBox.h | ||
| 159 | @@ -27,7 +27,7 @@ | ||
| 160 | |||
| 161 | #include "YSelectionWidget.h" | ||
| 162 | |||
| 163 | -class YComboBoxPrivate; | ||
| 164 | +struct YComboBoxPrivate; | ||
| 165 | |||
| 166 | |||
| 167 | /** | ||
| 168 | diff --git a/src/YCommandLine.h b/src/YCommandLine.h | ||
| 169 | index 70cb4fe..f344a3b 100644 | ||
| 170 | --- a/src/YCommandLine.h | ||
| 171 | +++ b/src/YCommandLine.h | ||
| 172 | @@ -28,7 +28,7 @@ | ||
| 173 | #include <string> | ||
| 174 | #include "ImplPtr.h" | ||
| 175 | |||
| 176 | -class YCommandLinePrivate; | ||
| 177 | +struct YCommandLinePrivate; | ||
| 178 | |||
| 179 | |||
| 180 | /** | ||
| 181 | diff --git a/src/YContextMenu.h b/src/YContextMenu.h | ||
| 182 | index a4acb1c..1253002 100644 | ||
| 183 | --- a/src/YContextMenu.h | ||
| 184 | +++ b/src/YContextMenu.h | ||
| 185 | @@ -29,7 +29,7 @@ | ||
| 186 | #include "YMenuItem.h" | ||
| 187 | |||
| 188 | class YMenuItem; | ||
| 189 | -class YContextMenuPrivate; | ||
| 190 | +struct YContextMenuPrivate; | ||
| 191 | |||
| 192 | |||
| 193 | /** | ||
| 194 | diff --git a/src/YDateField.h b/src/YDateField.h | ||
| 195 | index e5a468d..6164fba 100644 | ||
| 196 | --- a/src/YDateField.h | ||
| 197 | +++ b/src/YDateField.h | ||
| 198 | @@ -27,7 +27,7 @@ | ||
| 199 | |||
| 200 | #include "YSimpleInputField.h" | ||
| 201 | |||
| 202 | -class YDateFieldPrivate; | ||
| 203 | +struct YDateFieldPrivate; | ||
| 204 | |||
| 205 | /** | ||
| 206 | * Input field for entering a date. | ||
| 207 | diff --git a/src/YDialog.h b/src/YDialog.h | ||
| 208 | index 66c25c0..371209b 100644 | ||
| 209 | --- a/src/YDialog.h | ||
| 210 | +++ b/src/YDialog.h | ||
| 211 | @@ -32,7 +32,7 @@ | ||
| 212 | |||
| 213 | class YShortcutManager; | ||
| 214 | class YPushButton; | ||
| 215 | -class YDialogPrivate; | ||
| 216 | +struct YDialogPrivate; | ||
| 217 | class YEvent; | ||
| 218 | class YEventFilter; | ||
| 219 | |||
| 220 | diff --git a/src/YDownloadProgress.h b/src/YDownloadProgress.h | ||
| 221 | index c47ec4f..fe09a9d 100644 | ||
| 222 | --- a/src/YDownloadProgress.h | ||
| 223 | +++ b/src/YDownloadProgress.h | ||
| 224 | @@ -28,7 +28,7 @@ | ||
| 225 | #include "YWidget.h" | ||
| 226 | |||
| 227 | |||
| 228 | -class YDownloadProgressPrivate; | ||
| 229 | +struct YDownloadProgressPrivate; | ||
| 230 | |||
| 231 | /** | ||
| 232 | * DownloadProgress: A progress bar that monitors downloading a file by | ||
| 233 | diff --git a/src/YDumbTab.h b/src/YDumbTab.h | ||
| 234 | index aec17a3..f8fb250 100644 | ||
| 235 | --- a/src/YDumbTab.h | ||
| 236 | +++ b/src/YDumbTab.h | ||
| 237 | @@ -27,7 +27,7 @@ | ||
| 238 | |||
| 239 | #include "YSelectionWidget.h" | ||
| 240 | |||
| 241 | -class YDumbTabPrivate; | ||
| 242 | +struct YDumbTabPrivate; | ||
| 243 | |||
| 244 | /** | ||
| 245 | * DumbTab: A very simple tab widget that can display and switch between a | ||
| 246 | diff --git a/src/YEmpty.h b/src/YEmpty.h | ||
| 247 | index 9a3cb36..9b88fbc 100644 | ||
| 248 | --- a/src/YEmpty.h | ||
| 249 | +++ b/src/YEmpty.h | ||
| 250 | @@ -29,7 +29,7 @@ | ||
| 251 | #include "ImplPtr.h" | ||
| 252 | |||
| 253 | |||
| 254 | -class YEmptyPrivate; | ||
| 255 | +struct YEmptyPrivate; | ||
| 256 | |||
| 257 | /** | ||
| 258 | * A widget with zero size, useful as a placeholder. | ||
| 259 | diff --git a/src/YEventFilter.h b/src/YEventFilter.h | ||
| 260 | index 3dc1803..74aa62d 100644 | ||
| 261 | --- a/src/YEventFilter.h | ||
| 262 | +++ b/src/YEventFilter.h | ||
| 263 | @@ -32,7 +32,7 @@ | ||
| 264 | class YEvent; | ||
| 265 | class YDialog; | ||
| 266 | |||
| 267 | -class YEventFilterPrivate; | ||
| 268 | +struct YEventFilterPrivate; | ||
| 269 | |||
| 270 | |||
| 271 | /** | ||
| 272 | diff --git a/src/YFrame.h b/src/YFrame.h | ||
| 273 | index 111e8ec..4f8c61e 100644 | ||
| 274 | --- a/src/YFrame.h | ||
| 275 | +++ b/src/YFrame.h | ||
| 276 | @@ -29,7 +29,7 @@ | ||
| 277 | #include "YSingleChildContainerWidget.h" | ||
| 278 | #include "ImplPtr.h" | ||
| 279 | |||
| 280 | -class YFramePrivate; | ||
| 281 | +struct YFramePrivate; | ||
| 282 | |||
| 283 | |||
| 284 | /** | ||
| 285 | diff --git a/src/YGraph.h b/src/YGraph.h | ||
| 286 | index d90d1ae..287d800 100644 | ||
| 287 | --- a/src/YGraph.h | ||
| 288 | +++ b/src/YGraph.h | ||
| 289 | @@ -37,7 +37,7 @@ | ||
| 290 | * For that reason a lot of functions simply take a void* instead of graph_t*. | ||
| 291 | */ | ||
| 292 | |||
| 293 | -class YGraphPrivate; | ||
| 294 | +struct YGraphPrivate; | ||
| 295 | |||
| 296 | /** | ||
| 297 | * A graph with nodes and edges, rendered with Graphviz. | ||
| 298 | diff --git a/src/YImage.h b/src/YImage.h | ||
| 299 | index 17bea21..84eb674 100644 | ||
| 300 | --- a/src/YImage.h | ||
| 301 | +++ b/src/YImage.h | ||
| 302 | @@ -29,7 +29,7 @@ | ||
| 303 | #include <string> | ||
| 304 | |||
| 305 | |||
| 306 | -class YImagePrivate; | ||
| 307 | +struct YImagePrivate; | ||
| 308 | |||
| 309 | /** | ||
| 310 | * A picture, possibly animated, loaded from a file. | ||
| 311 | diff --git a/src/YInputField.h b/src/YInputField.h | ||
| 312 | index 70641ce..fa29b42 100644 | ||
| 313 | --- a/src/YInputField.h | ||
| 314 | +++ b/src/YInputField.h | ||
| 315 | @@ -28,7 +28,7 @@ | ||
| 316 | #include <string> | ||
| 317 | #include "YWidget.h" | ||
| 318 | |||
| 319 | -class YInputFieldPrivate; | ||
| 320 | +struct YInputFieldPrivate; | ||
| 321 | |||
| 322 | |||
| 323 | |||
| 324 | diff --git a/src/YIntField.h b/src/YIntField.h | ||
| 325 | index 9da0537..8ad2949 100644 | ||
| 326 | --- a/src/YIntField.h | ||
| 327 | +++ b/src/YIntField.h | ||
| 328 | @@ -27,7 +27,7 @@ | ||
| 329 | |||
| 330 | #include "YWidget.h" | ||
| 331 | |||
| 332 | -class YIntFieldPrivate; | ||
| 333 | +struct YIntFieldPrivate; | ||
| 334 | |||
| 335 | |||
| 336 | |||
| 337 | diff --git a/src/YLabel.h b/src/YLabel.h | ||
| 338 | index d2fff61..bf06d8b 100644 | ||
| 339 | --- a/src/YLabel.h | ||
| 340 | +++ b/src/YLabel.h | ||
| 341 | @@ -30,7 +30,7 @@ | ||
| 342 | #include "ImplPtr.h" | ||
| 343 | |||
| 344 | |||
| 345 | -class YLabelPrivate; | ||
| 346 | +struct YLabelPrivate; | ||
| 347 | |||
| 348 | /** | ||
| 349 | * Implementation of the Label, Heading and OutputField widgets | ||
| 350 | diff --git a/src/YLayoutBox.h b/src/YLayoutBox.h | ||
| 351 | index e652a45..070eaff 100644 | ||
| 352 | --- a/src/YLayoutBox.h | ||
| 353 | +++ b/src/YLayoutBox.h | ||
| 354 | @@ -29,7 +29,7 @@ | ||
| 355 | #include "YWidget.h" | ||
| 356 | |||
| 357 | |||
| 358 | -class YLayoutBoxPrivate; | ||
| 359 | +struct YLayoutBoxPrivate; | ||
| 360 | |||
| 361 | /** | ||
| 362 | * A vertical or horizontal stacking of widgets, implementing HBox and VBox. | ||
| 363 | diff --git a/src/YLogView.h b/src/YLogView.h | ||
| 364 | index 53fb9ee..5b44229 100644 | ||
| 365 | --- a/src/YLogView.h | ||
| 366 | +++ b/src/YLogView.h | ||
| 367 | @@ -27,7 +27,7 @@ | ||
| 368 | |||
| 369 | #include "YWidget.h" | ||
| 370 | |||
| 371 | -class YLogViewPrivate; | ||
| 372 | +struct YLogViewPrivate; | ||
| 373 | |||
| 374 | |||
| 375 | /** | ||
| 376 | diff --git a/src/YMenuButton.h b/src/YMenuButton.h | ||
| 377 | index 205e730..5df7efb 100644 | ||
| 378 | --- a/src/YMenuButton.h | ||
| 379 | +++ b/src/YMenuButton.h | ||
| 380 | @@ -29,7 +29,7 @@ | ||
| 381 | #include "YMenuItem.h" | ||
| 382 | |||
| 383 | class YMenuItem; | ||
| 384 | -class YMenuButtonPrivate; | ||
| 385 | +struct YMenuButtonPrivate; | ||
| 386 | |||
| 387 | |||
| 388 | /** | ||
| 389 | diff --git a/src/YMultiLineEdit.h b/src/YMultiLineEdit.h | ||
| 390 | index c52a6ae..1f792f8 100644 | ||
| 391 | --- a/src/YMultiLineEdit.h | ||
| 392 | +++ b/src/YMultiLineEdit.h | ||
| 393 | @@ -27,7 +27,7 @@ | ||
| 394 | |||
| 395 | #include "YWidget.h" | ||
| 396 | |||
| 397 | -class YMultiLineEditPrivate; | ||
| 398 | +struct YMultiLineEditPrivate; | ||
| 399 | |||
| 400 | /** | ||
| 401 | * A multi-line plain-text area | ||
| 402 | diff --git a/src/YMultiProgressMeter.h b/src/YMultiProgressMeter.h | ||
| 403 | index 57c758d..f6bec91 100644 | ||
| 404 | --- a/src/YMultiProgressMeter.h | ||
| 405 | +++ b/src/YMultiProgressMeter.h | ||
| 406 | @@ -28,7 +28,7 @@ | ||
| 407 | #include "YWidget.h" | ||
| 408 | #include <vector> | ||
| 409 | |||
| 410 | -class YMultiProgressMeterPrivate; | ||
| 411 | +struct YMultiProgressMeterPrivate; | ||
| 412 | |||
| 413 | |||
| 414 | /** | ||
| 415 | diff --git a/src/YMultiSelectionBox.h b/src/YMultiSelectionBox.h | ||
| 416 | index bbe5a20..f3a2947 100644 | ||
| 417 | --- a/src/YMultiSelectionBox.h | ||
| 418 | +++ b/src/YMultiSelectionBox.h | ||
| 419 | @@ -27,7 +27,7 @@ | ||
| 420 | |||
| 421 | #include "YSelectionWidget.h" | ||
| 422 | |||
| 423 | -class YMultiSelectionBoxPrivate; | ||
| 424 | +struct YMultiSelectionBoxPrivate; | ||
| 425 | |||
| 426 | |||
| 427 | /** | ||
| 428 | diff --git a/src/YPartitionSplitter.h b/src/YPartitionSplitter.h | ||
| 429 | index 2839bbc..9de1174 100644 | ||
| 430 | --- a/src/YPartitionSplitter.h | ||
| 431 | +++ b/src/YPartitionSplitter.h | ||
| 432 | @@ -28,7 +28,7 @@ | ||
| 433 | #include "YWidget.h" | ||
| 434 | |||
| 435 | |||
| 436 | -class YPartitionSplitterPrivate; | ||
| 437 | +struct YPartitionSplitterPrivate; | ||
| 438 | |||
| 439 | |||
| 440 | /** | ||
| 441 | diff --git a/src/YProgressBar.h b/src/YProgressBar.h | ||
| 442 | index 718352f..baab662 100644 | ||
| 443 | --- a/src/YProgressBar.h | ||
| 444 | +++ b/src/YProgressBar.h | ||
| 445 | @@ -27,7 +27,7 @@ | ||
| 446 | |||
| 447 | #include "YWidget.h" | ||
| 448 | |||
| 449 | -class YProgressBarPrivate; | ||
| 450 | +struct YProgressBarPrivate; | ||
| 451 | |||
| 452 | |||
| 453 | /** | ||
| 454 | diff --git a/src/YPushButton.h b/src/YPushButton.h | ||
| 455 | index 5b65c98..e288252 100644 | ||
| 456 | --- a/src/YPushButton.h | ||
| 457 | +++ b/src/YPushButton.h | ||
| 458 | @@ -27,7 +27,7 @@ | ||
| 459 | |||
| 460 | #include "YWidget.h" | ||
| 461 | |||
| 462 | -class YPushButtonPrivate; | ||
| 463 | +struct YPushButtonPrivate; | ||
| 464 | |||
| 465 | |||
| 466 | |||
| 467 | diff --git a/src/YRadioButton.h b/src/YRadioButton.h | ||
| 468 | index 9dc62de..5a7c0dd 100644 | ||
| 469 | --- a/src/YRadioButton.h | ||
| 470 | +++ b/src/YRadioButton.h | ||
| 471 | @@ -28,7 +28,7 @@ | ||
| 472 | #include "YWidget.h" | ||
| 473 | |||
| 474 | class YRadioButtonGroup; | ||
| 475 | -class YRadioButtonPrivate; | ||
| 476 | +struct YRadioButtonPrivate; | ||
| 477 | |||
| 478 | |||
| 479 | /** | ||
| 480 | diff --git a/src/YRadioButtonGroup.h b/src/YRadioButtonGroup.h | ||
| 481 | index 063a52e..671a257 100644 | ||
| 482 | --- a/src/YRadioButtonGroup.h | ||
| 483 | +++ b/src/YRadioButtonGroup.h | ||
| 484 | @@ -28,7 +28,7 @@ | ||
| 485 | #include "YSingleChildContainerWidget.h" | ||
| 486 | |||
| 487 | class YRadioButton; | ||
| 488 | -class YRadioButtonGroupPrivate; | ||
| 489 | +struct YRadioButtonGroupPrivate; | ||
| 490 | |||
| 491 | typedef std::list<YRadioButton *> YRadioButtonList; | ||
| 492 | typedef YRadioButtonList::iterator YRadioButtonListIterator; | ||
| 493 | diff --git a/src/YRichText.h b/src/YRichText.h | ||
| 494 | index 149bfb3..86b3f80 100644 | ||
| 495 | --- a/src/YRichText.h | ||
| 496 | +++ b/src/YRichText.h | ||
| 497 | @@ -30,7 +30,7 @@ | ||
| 498 | #include "ImplPtr.h" | ||
| 499 | |||
| 500 | |||
| 501 | -class YRichTextPrivate; | ||
| 502 | +struct YRichTextPrivate; | ||
| 503 | |||
| 504 | |||
| 505 | /** | ||
| 506 | diff --git a/src/YSelectionBox.h b/src/YSelectionBox.h | ||
| 507 | index 7fc4fb8..9bbf9f3 100644 | ||
| 508 | --- a/src/YSelectionBox.h | ||
| 509 | +++ b/src/YSelectionBox.h | ||
| 510 | @@ -27,7 +27,7 @@ | ||
| 511 | |||
| 512 | #include "YSelectionWidget.h" | ||
| 513 | |||
| 514 | -class YSelectionBoxPrivate; | ||
| 515 | +struct YSelectionBoxPrivate; | ||
| 516 | |||
| 517 | |||
| 518 | /** | ||
| 519 | diff --git a/src/YSelectionWidget.h b/src/YSelectionWidget.h | ||
| 520 | index abbdfb4..cf05afd 100644 | ||
| 521 | --- a/src/YSelectionWidget.h | ||
| 522 | +++ b/src/YSelectionWidget.h | ||
| 523 | @@ -29,7 +29,7 @@ | ||
| 524 | #include "YItem.h" | ||
| 525 | #include "ImplPtr.h" | ||
| 526 | |||
| 527 | -class YSelectionWidgetPrivate; | ||
| 528 | +struct YSelectionWidgetPrivate; | ||
| 529 | |||
| 530 | /** | ||
| 531 | * Base class for various kinds of multi-value widgets. | ||
| 532 | diff --git a/src/YSimpleInputField.h b/src/YSimpleInputField.h | ||
| 533 | index 6d926d4..b93fe6b 100644 | ||
| 534 | --- a/src/YSimpleInputField.h | ||
| 535 | +++ b/src/YSimpleInputField.h | ||
| 536 | @@ -27,7 +27,7 @@ | ||
| 537 | |||
| 538 | #include "YWidget.h" | ||
| 539 | |||
| 540 | -class YSimpleInputFieldPrivate; | ||
| 541 | +struct YSimpleInputFieldPrivate; | ||
| 542 | |||
| 543 | |||
| 544 | /** | ||
| 545 | diff --git a/src/YSlider.h b/src/YSlider.h | ||
| 546 | index d29f6b8..4bcd7d3 100644 | ||
| 547 | --- a/src/YSlider.h | ||
| 548 | +++ b/src/YSlider.h | ||
| 549 | @@ -27,7 +27,7 @@ | ||
| 550 | |||
| 551 | #include "YIntField.h" | ||
| 552 | |||
| 553 | -class YSliderPrivate; | ||
| 554 | +struct YSliderPrivate; | ||
| 555 | |||
| 556 | |||
| 557 | /** | ||
| 558 | diff --git a/src/YSpacing.h b/src/YSpacing.h | ||
| 559 | index e8aafd3..066cd68 100644 | ||
| 560 | --- a/src/YSpacing.h | ||
| 561 | +++ b/src/YSpacing.h | ||
| 562 | @@ -28,7 +28,7 @@ | ||
| 563 | #include "YWidget.h" | ||
| 564 | #include "ImplPtr.h" | ||
| 565 | |||
| 566 | -class YSpacingPrivate; | ||
| 567 | +struct YSpacingPrivate; | ||
| 568 | |||
| 569 | |||
| 570 | /** | ||
| 571 | diff --git a/src/YSquash.h b/src/YSquash.h | ||
| 572 | index 4bd0fb6..3804cc4 100644 | ||
| 573 | --- a/src/YSquash.h | ||
| 574 | +++ b/src/YSquash.h | ||
| 575 | @@ -29,7 +29,7 @@ | ||
| 576 | #include "ImplPtr.h" | ||
| 577 | |||
| 578 | |||
| 579 | -class YSquashPrivate; | ||
| 580 | +struct YSquashPrivate; | ||
| 581 | |||
| 582 | /** | ||
| 583 | * HSquash, VSquash HVSquash: reduce child to its preferred size. | ||
| 584 | diff --git a/src/YTable.h b/src/YTable.h | ||
| 585 | index 6694f10..469b8ca 100644 | ||
| 586 | --- a/src/YTable.h | ||
| 587 | +++ b/src/YTable.h | ||
| 588 | @@ -30,7 +30,7 @@ | ||
| 589 | #include "YTableItem.h" | ||
| 590 | #include "YTableHeader.h" | ||
| 591 | |||
| 592 | -class YTablePrivate; | ||
| 593 | +struct YTablePrivate; | ||
| 594 | |||
| 595 | |||
| 596 | |||
| 597 | diff --git a/src/YTableHeader.h b/src/YTableHeader.h | ||
| 598 | index 70166c2..4ae99b4 100644 | ||
| 599 | --- a/src/YTableHeader.h | ||
| 600 | +++ b/src/YTableHeader.h | ||
| 601 | @@ -31,7 +31,7 @@ | ||
| 602 | |||
| 603 | |||
| 604 | |||
| 605 | -class YTableHeaderPrivate; | ||
| 606 | +struct YTableHeaderPrivate; | ||
| 607 | |||
| 608 | /** | ||
| 609 | * Helper class for YTable for table column properties: | ||
| 610 | diff --git a/src/YTimeField.h b/src/YTimeField.h | ||
| 611 | index ab2f9a3..f3a7b94 100644 | ||
| 612 | --- a/src/YTimeField.h | ||
| 613 | +++ b/src/YTimeField.h | ||
| 614 | @@ -27,7 +27,7 @@ | ||
| 615 | |||
| 616 | #include "YSimpleInputField.h" | ||
| 617 | |||
| 618 | -class YTimeFieldPrivate; | ||
| 619 | +struct YTimeFieldPrivate; | ||
| 620 | |||
| 621 | |||
| 622 | /** | ||
| 623 | diff --git a/src/YTimezoneSelector.cc b/src/YTimezoneSelector.cc | ||
| 624 | index 9259b64..e2f9b6f 100644 | ||
| 625 | --- a/src/YTimezoneSelector.cc | ||
| 626 | +++ b/src/YTimezoneSelector.cc | ||
| 627 | @@ -32,7 +32,7 @@ | ||
| 628 | |||
| 629 | class YTimezoneSelectorPrivate | ||
| 630 | { | ||
| 631 | - bool dummy; | ||
| 632 | +// bool dummy; | ||
| 633 | }; | ||
| 634 | |||
| 635 | |||
| 636 | diff --git a/src/YTree.h b/src/YTree.h | ||
| 637 | index 14fa279..70e1364 100644 | ||
| 638 | --- a/src/YTree.h | ||
| 639 | +++ b/src/YTree.h | ||
| 640 | @@ -28,7 +28,7 @@ | ||
| 641 | #include "YSelectionWidget.h" | ||
| 642 | |||
| 643 | class YTreeItem; | ||
| 644 | -class YTreePrivate; | ||
| 645 | +struct YTreePrivate; | ||
| 646 | |||
| 647 | |||
| 648 | /** | ||
| 649 | diff --git a/src/YUILog.h b/src/YUILog.h | ||
| 650 | index 0890bc5..4a927a7 100644 | ||
| 651 | --- a/src/YUILog.h | ||
| 652 | +++ b/src/YUILog.h | ||
| 653 | @@ -64,7 +64,7 @@ | ||
| 654 | |||
| 655 | |||
| 656 | |||
| 657 | -class YUILogPrivate; | ||
| 658 | +struct YUILogPrivate; | ||
| 659 | |||
| 660 | enum YUILogLevel_t | ||
| 661 | { | ||
| 662 | diff --git a/src/YWidget.h b/src/YWidget.h | ||
| 663 | index 5b285d0..636a41b 100644 | ||
| 664 | --- a/src/YWidget.h | ||
| 665 | +++ b/src/YWidget.h | ||
| 666 | @@ -45,7 +45,7 @@ typedef YChildrenManager<YWidget> YWidgetChildrenManager; | ||
| 667 | typedef YSingleChildManager<YWidget> YSingleWidgetChildManager; | ||
| 668 | typedef YChildrenRejector<YWidget> YWidgetChildrenRejector; | ||
| 669 | |||
| 670 | -class YWidgetPrivate; | ||
| 671 | +struct YWidgetPrivate; | ||
| 672 | |||
| 673 | |||
| 674 | /** | ||
| 675 | diff --git a/src/YWizard.h b/src/YWizard.h | ||
| 676 | index 7671cbf..975b597 100644 | ||
| 677 | --- a/src/YWizard.h | ||
| 678 | +++ b/src/YWizard.h | ||
| 679 | @@ -28,7 +28,7 @@ | ||
| 680 | #include "YWidget.h" | ||
| 681 | |||
| 682 | class YMacroRecorder; | ||
| 683 | -class YWizardPrivate; | ||
| 684 | +struct YWizardPrivate; | ||
| 685 | class YPushButton; | ||
| 686 | class YReplacePoint; | ||
| 687 | |||
| diff --git a/meta-oe/recipes-graphics/libyui/libyui_git.bb b/meta-oe/recipes-graphics/libyui/libyui_git.bb index e46e365b24..42945288c4 100644 --- a/meta-oe/recipes-graphics/libyui/libyui_git.bb +++ b/meta-oe/recipes-graphics/libyui/libyui_git.bb | |||
| @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING.gpl-3;md5=d32239bcb673463ab874e80d47fae504 \ | |||
| 7 | 7 | ||
| 8 | SRC_URI = "git://github.com/libyui/libyui.git \ | 8 | SRC_URI = "git://github.com/libyui/libyui.git \ | 
| 9 | file://0001-Fix-GCC-8-warning.patch \ | 9 | file://0001-Fix-GCC-8-warning.patch \ | 
| 10 | file://0001-Fix-build-with-clang.patch \ | ||
| 10 | " | 11 | " | 
| 11 | 12 | ||
| 12 | PV = "3.3.3+git" | 13 | PV = "3.3.3+git" | 
