summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2006-03-10 07:22:56 +0000
committerMark Loeser <halcy0n@gentoo.org>2006-03-10 07:22:56 +0000
commitb4d8c440caa90d0e29ee7b8f8dbc9f0d41172069 (patch)
tree4d725b6b5b7af056132c7994ab264ad11eccbf6b /app-crypt/steghide/files
parentremoved nvidia & unichrome USE flags from MythTV in favor of (diff)
downloadgentoo-2-b4d8c440caa90d0e29ee7b8f8dbc9f0d41172069.tar.gz
gentoo-2-b4d8c440caa90d0e29ee7b8f8dbc9f0d41172069.tar.bz2
gentoo-2-b4d8c440caa90d0e29ee7b8f8dbc9f0d41172069.zip
Fix compilation with gcc-4; bug #106615
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'app-crypt/steghide/files')
-rw-r--r--app-crypt/steghide/files/digest-steghide-0.5.12
-rw-r--r--app-crypt/steghide/files/steghide-0.5.1-gcc4.patch34
2 files changed, 36 insertions, 0 deletions
diff --git a/app-crypt/steghide/files/digest-steghide-0.5.1 b/app-crypt/steghide/files/digest-steghide-0.5.1
index 6cc267893c5e..b7ece4418d93 100644
--- a/app-crypt/steghide/files/digest-steghide-0.5.1
+++ b/app-crypt/steghide/files/digest-steghide-0.5.1
@@ -1 +1,3 @@
MD5 cf37f7ac51d36f66a8d6d155bbc90f17 steghide-0.5.1.tar.bz2 392761
+RMD160 b40448baf46b16e6131a30b7e07d14c4f61db15a steghide-0.5.1.tar.bz2 392761
+SHA256 a2c7f879a3e22860879889106cc49e486000653f81448264affa0fd616a47da1 steghide-0.5.1.tar.bz2 392761
diff --git a/app-crypt/steghide/files/steghide-0.5.1-gcc4.patch b/app-crypt/steghide/files/steghide-0.5.1-gcc4.patch
new file mode 100644
index 000000000000..098a6d32d06d
--- /dev/null
+++ b/app-crypt/steghide/files/steghide-0.5.1-gcc4.patch
@@ -0,0 +1,34 @@
+diff -ur steghide-0.5.1-orig/src/AuData.h steghide-0.5.1/src/AuData.h
+--- steghide-0.5.1-orig/src/AuData.h 2006-03-10 02:17:19.000000000 -0500
++++ steghide-0.5.1/src/AuData.h 2006-03-10 02:19:01.000000000 -0500
+@@ -26,22 +26,30 @@
+
+ // AuMuLawAudioData
+ typedef AudioDataImpl<AuMuLaw,BYTE> AuMuLawAudioData ;
++template<>
+ inline BYTE AuMuLawAudioData::readValue (BinaryIO* io) const { return (io->read8()) ; }
++template<>
+ inline void AuMuLawAudioData::writeValue (BinaryIO* io, BYTE v) const { io->write8(v) ; }
+
+ // AuPCM8AudioData
+ typedef AudioDataImpl<AuPCM8,SBYTE> AuPCM8AudioData ;
++template<>
+ inline SBYTE AuPCM8AudioData::readValue (BinaryIO* io) const { return ((SBYTE) io->read8()) ; }
++template<>
+ inline void AuPCM8AudioData::writeValue (BinaryIO* io, SBYTE v) const { io->write8((BYTE) v) ; }
+
+ // AuPCM16AudioData
+ typedef AudioDataImpl<AuPCM16,SWORD16> AuPCM16AudioData ;
++template<>
+ inline SWORD16 AuPCM16AudioData::readValue (BinaryIO* io) const { return ((SWORD16) io->read16_be()) ; }
++template<>
+ inline void AuPCM16AudioData::writeValue (BinaryIO* io, SWORD16 v) const { io->write16_be((UWORD16) v) ; }
+
+ // AuPCM32AudioData
+ typedef AudioDataImpl<AuPCM32,SWORD32> AuPCM32AudioData ;
++template<>
+ inline SWORD32 AuPCM32AudioData::readValue (BinaryIO* io) const { return ((SWORD32) io->read32_be()) ; }
++template<>
+ inline void AuPCM32AudioData::writeValue (BinaryIO* io, SWORD32 v) const { io->write32_be((UWORD32) v) ; }
+
+ #endif // ndef SH_AUDATA_H