summaryrefslogtreecommitdiff
path: root/security/steghide
diff options
context:
space:
mode:
authorjoerg <joerg>2006-05-11 16:23:57 +0000
committerjoerg <joerg>2006-05-11 16:23:57 +0000
commit7d9b14c8b8156d8ce5f28c87dd90f08597780cfb (patch)
treefd0f2cdd6f7a071ce8363aab7e6b2e6c76422cd3 /security/steghide
parente2770ab09127460667b1b6f346c7120ea325e9e4 (diff)
downloadpkgsrc-7d9b14c8b8156d8ce5f28c87dd90f08597780cfb.tar.gz
Use and fix C++.
Diffstat (limited to 'security/steghide')
-rw-r--r--security/steghide/Makefile3
-rw-r--r--security/steghide/distinfo3
-rw-r--r--security/steghide/patches/patch-ac30
3 files changed, 34 insertions, 2 deletions
diff --git a/security/steghide/Makefile b/security/steghide/Makefile
index 9baa1e68846..8c3b3b2541c 100644
--- a/security/steghide/Makefile
+++ b/security/steghide/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/04/13 18:23:37 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2006/05/11 16:23:57 joerg Exp $
DISTNAME= steghide-0.5.1
PKGREVISION= 3
@@ -10,6 +10,7 @@ HOMEPAGE= http://steghide.sourceforge.net/
COMMENT= Steganography program
GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
USE_TOOLS+= msgfmt
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
diff --git a/security/steghide/distinfo b/security/steghide/distinfo
index 9950e08a32f..0ea17802a27 100644
--- a/security/steghide/distinfo
+++ b/security/steghide/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 13:10:13 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/05/11 16:23:57 joerg Exp $
SHA1 (steghide-0.5.1.tar.gz) = a6d204744fabfe5751ab5e2d889ac373c0b0a30c
RMD160 (steghide-0.5.1.tar.gz) = e17507444b8bb91e6e29d46ec02fa39f7f2f44e8
Size (steghide-0.5.1.tar.gz) = 476125 bytes
SHA1 (patch-aa) = 7bf2c4237f697a6d50b730aefdc9e922d6794c49
SHA1 (patch-ab) = 6e914fdad61d3830a899a32a535e3f329cb0514b
+SHA1 (patch-ac) = 58a578aa593d49cfc19e8c5fcdc0520c658ec9f9
diff --git a/security/steghide/patches/patch-ac b/security/steghide/patches/patch-ac
new file mode 100644
index 00000000000..45541dfb9e9
--- /dev/null
+++ b/security/steghide/patches/patch-ac
@@ -0,0 +1,30 @@
+$NetBSD: patch-ac,v 1.1 2006/05/11 16:23:57 joerg Exp $
+
+--- src/AuSampleValues.cc.orig 2006-05-11 16:02:22.000000000 +0000
++++ src/AuSampleValues.cc
+@@ -21,17 +21,17 @@
+ #include "AuSampleValues.h"
+
+ // AuMuLawSampleValue
+-const BYTE AuMuLawSampleValue::MinValue = 0 ;
+-const BYTE AuMuLawSampleValue::MaxValue = BYTE_MAX ;
++template<> const BYTE AuMuLawSampleValue::MinValue = 0 ;
++template<> const BYTE AuMuLawSampleValue::MaxValue = BYTE_MAX ;
+
+ // AuPCM8SampleValue
+-const SBYTE AuPCM8SampleValue::MinValue = SBYTE_MIN ;
+-const SBYTE AuPCM8SampleValue::MaxValue = SBYTE_MAX ;
++template<> const SBYTE AuPCM8SampleValue::MinValue = SBYTE_MIN ;
++template<> const SBYTE AuPCM8SampleValue::MaxValue = SBYTE_MAX ;
+
+ // AuPCM16SampleValue
+-const SWORD16 AuPCM16SampleValue::MinValue = SWORD16_MIN ;
+-const SWORD16 AuPCM16SampleValue::MaxValue = SWORD16_MAX ;
++template<> const SWORD16 AuPCM16SampleValue::MinValue = SWORD16_MIN ;
++template<> const SWORD16 AuPCM16SampleValue::MaxValue = SWORD16_MAX ;
+
+ // AuPCM32SampleValue
+-const SWORD32 AuPCM32SampleValue::MinValue = SWORD32_MIN ;
+-const SWORD32 AuPCM32SampleValue::MaxValue = SWORD32_MAX ;
++template<> const SWORD32 AuPCM32SampleValue::MinValue = SWORD32_MIN ;
++template<> const SWORD32 AuPCM32SampleValue::MaxValue = SWORD32_MAX ;