aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/steghide/files/patch-src-binaryio.cc22
1 files changed, 15 insertions, 7 deletions
diff --git a/security/steghide/files/patch-src-binaryio.cc b/security/steghide/files/patch-src-binaryio.cc
index fc9f19a80171..35d1e924bb6a 100644
--- a/security/steghide/files/patch-src-binaryio.cc
+++ b/security/steghide/files/patch-src-binaryio.cc
@@ -1,6 +1,14 @@
---- src/binaryio.cc.orig Thu Sep 26 19:38:01 2002
-+++ src/binaryio.cc Thu Sep 26 19:47:54 2002
-@@ -37,7 +37,7 @@
+--- src/binaryio.cc.orig Mon May 13 22:48:06 2002
++++ src/binaryio.cc Thu Jul 17 14:27:14 2003
+@@ -20,6 +20,7 @@
+
+ #include <stdio.h>
+ #include <sstream>
++#include <assert.h>
+
+ #include <libintl.h>
+ #define _(S) gettext (S)
+@@ -37,7 +38,7 @@
set_open (false) ;
}
@@ -9,7 +17,7 @@
{
BinaryIO () ;
open (fn, m) ;
-@@ -60,12 +60,12 @@
+@@ -60,12 +61,12 @@
stream = s ;
}
@@ -24,7 +32,7 @@
{
filename = fn ;
}
-@@ -95,7 +95,7 @@
+@@ -95,7 +96,7 @@
mode = m ;
}
@@ -33,7 +41,7 @@
{
if (fn == "") {
switch (m) {
-@@ -243,9 +243,9 @@
+@@ -243,9 +244,9 @@
return ((bytes[0] << 24) | (bytes[1] << 16) | (bytes[2] << 8) | bytes[3]) ;
}
@@ -45,7 +53,7 @@
for (unsigned int i = 0 ; i < len ; i++) {
ost << read8() ;
}
-@@ -310,7 +310,7 @@
+@@ -310,7 +311,7 @@
}
}