AppStream/fix-build-gcc7.patch
Luca Beltrame ce9ccab169 Accepting request 818388 from home:Vogtinator:branches:KDE:Frameworks5
- Update to 0.12.11:
  Features:
   * Auto-update static category data from fd.o
   * Implement support for input control relations
   * validator: Validate input control relations
   * validator: Put AppStream technical terms and tag names in backticks in
     explanation texts
   * Modernize the README
   * validator: Check for uppercase letters in cids
   * Strip beginning/trailing newlines in a number of places
   * Make AsContext getter for AsComponent public API
   * qt: Add support for name_variant_suffix
   * Make component sort-score API public API
   * Implement a YAML representation of release artifact information  
  Specification:
   * Build specification and docs with DAPS
   * docs: Add (HTML) anchors for requires/recommends items
   * spec: Specify user input control recommendations
   * docs: Don't show reference to nonexistent provides->service tag for services
   * spec: Encourage the use of only lowercase letters for component-IDs
   * docs: Document --explain flag in ascli manual page as well
   * docs: Add permalink anchors to some list entries
   * Formally support BLAKE2b/s as hash functions for release artifacts
   * docs: Link to the MetaInfo Creator webapp in a few places
  Bugfixes:
   * Be less noisy about ignoring excessively long search tokens
   * Tighten the "free license" check and prevent false positives
   * cache: Use correct fts value per result (David Hewitt)
   * validator: Control items can't have a version
   * validator: Reduce download timeout

OBS-URL: https://build.opensuse.org/request/show/818388
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=56
2020-07-03 04:56:09 +00:00

17 lines
656 B
Diff

From: Fabian Vogt <fabian@ritter-vogt.de>
Subject: Fix build with GCC 7
Index: AppStream-0.12.11/meson.build
===================================================================
--- AppStream-0.12.11.orig/meson.build
+++ AppStream-0.12.11/meson.build
@@ -54,7 +54,7 @@ endif
# a few compiler warning flags we always want enabled
add_global_arguments('-Werror=implicit-function-declaration', '-Wno-unused-parameter', language: 'c')
-add_global_arguments('-Wno-unused-parameter', '-Wno-error=deprecated-copy', language: 'cpp')
+add_global_arguments('-Wno-unused-parameter', language: 'cpp')
add_global_arguments('-DAS_COMPILATION', language : 'c')
#