summarylogtreecommitdiffstats
path: root/steghide-gcc6.patch
diff options
context:
space:
mode:
authorAntonio Rojas2020-05-01 19:40:25 +0000
committerAntonio Rojas2020-05-01 19:40:25 +0000
commit94e67ce9f96c5760971c66c80502c30ae220bcc2 (patch)
tree572e7eb25e590ea61be7a663ef87f3d17fd73b7b /steghide-gcc6.patch
downloadaur-94e67ce9f96c5760971c66c80502c30ae220bcc2.tar.gz
Dropped from repos
Diffstat (limited to 'steghide-gcc6.patch')
-rw-r--r--steghide-gcc6.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/steghide-gcc6.patch b/steghide-gcc6.patch
new file mode 100644
index 000000000000..a3a3067912c8
--- /dev/null
+++ b/steghide-gcc6.patch
@@ -0,0 +1,22 @@
+--- steghide-0.5.1/src/Arguments.h.orig 2018-06-09 11:04:48.795952519 +0000
++++ steghide-0.5.1/src/Arguments.h 2018-06-09 11:00:57.239290249 +0000
+@@ -100,7 +100,7 @@
+ static const VERBOSITY Default_Verbosity = NORMAL ;
+ static const unsigned long Default_Radius = 0 ; // there is no default radius for all file formats
+ static const unsigned int Max_Algorithm = 3 ;
+- static const float Default_Goal = 100.0 ;
++ static constexpr float Default_Goal = 100.0 ;
+ static const DEBUGCOMMAND Default_DebugCommand = NONE ;
+ static const bool Default_Check = false ;
+ static const unsigned int Default_DebugLevel = 0 ;
+--- steghide-0.5.1/src/ProgressOutput.h.orig 2018-06-09 11:01:44.662622682 +0000
++++ steghide-0.5.1/src/ProgressOutput.h 2018-06-09 11:01:57.755955767 +0000
+@@ -64,7 +64,7 @@
+ **/
+ void done (float rate, float avgweight = NoAvgWeight) const ;
+
+- static const float NoAvgWeight = -1.0 ;
++ static constexpr float NoAvgWeight = -1.0 ;
+
+ protected:
+ std::string vcompose (const char *msgfmt, va_list ap) const ;