Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dominika Liberda
aports
Commits
9c091ce2
Commit
9c091ce2
authored
5 years ago
by
Mike Sullivan
Committed by
Natanael Copa
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
main/cppunit: with gcc 9.2 fix deprecated copy Werror
parent
e4729950
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/cppunit/APKBUILD
+5
-3
5 additions, 3 deletions
main/cppunit/APKBUILD
main/cppunit/fix-Werror-deprecated-copy.patch
+30
-0
30 additions, 0 deletions
main/cppunit/fix-Werror-deprecated-copy.patch
with
35 additions
and
3 deletions
main/cppunit/APKBUILD
+
5
−
3
View file @
9c091ce2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
cppunit
pkgver
=
1.14.0
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"C++ unit testing framework"
url
=
"http://www.freedesktop.org/wiki/Software/cppunit/"
arch
=
"all"
license
=
"LGPL-2.0-or-later"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
source
=
"https://dev-www.libreoffice.org/src/
$pkgname
-
$pkgver
.tar.gz"
source
=
"https://dev-www.libreoffice.org/src/
$pkgname
-
$pkgver
.tar.gz
fix-Werror-deprecated-copy.patch"
builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
...
...
@@ -34,4 +35,5 @@ package() {
make
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"4ea1da423c6f7ab37e4144689f593396829ce74d43872d6b10709c1ad5fbda4ee945842f7e9803592520ef81ac713e95a3fe130295bf048cd32a605d1959882e cppunit-1.14.0.tar.gz"
sha512sums
=
"4ea1da423c6f7ab37e4144689f593396829ce74d43872d6b10709c1ad5fbda4ee945842f7e9803592520ef81ac713e95a3fe130295bf048cd32a605d1959882e cppunit-1.14.0.tar.gz
000404d7b3318743f416d4d10ecd245935a5e1f4f0a43910eeeda152a0151855adffa8a70632abe0a76e24b408233e5d1f287eff2f174e60c65b2e5cfae66c34 fix-Werror-deprecated-copy.patch"
This diff is collapsed.
Click to expand it.
main/cppunit/fix-Werror-deprecated-copy.patch
0 → 100644
+
30
−
0
View file @
9c091ce2
diff --git a/examples/cppunittest/OrthodoxTest.h b/examples/cppunittest/OrthodoxTest.h
index 8fc2a08..a2bc678 100644
--- a/examples/cppunittest/OrthodoxTest.h
+++ b/examples/cppunittest/OrthodoxTest.h
@@ -38,6 +38,8 @@
private:
public:
Value( int value =0 ) : m_value( value ) {}
+ Value( const Value & ) = default;
+
Value& operator= ( const Value& v )
{
m_value = v.m_value;
@@ -143,6 +145,8 @@
private:
{
return ValueBadCall( -1 - m_value );
}
+
+ ValueBadCall &operator =( const ValueBadCall & ) = default;
};
@@ -161,6 +165,8 @@
private:
++m_value;
return *this;
}
+
+ ValueBadAssignment( const ValueBadAssignment & ) = default;
};
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment