pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/mhash Patch out definition of VERSION in mhas...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/467cd6b9cb6d
branches:  trunk
changeset: 549752:467cd6b9cb6d
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Sat Nov 08 12:55:21 2008 +0000

description:
Patch out definition of VERSION in mhash_config.h.  Code could
rely on this--and *not* define it in installed headers!

PKGREVISION++

diffstat:

 security/mhash/Makefile         |   3 ++-
 security/mhash/distinfo         |   3 ++-
 security/mhash/patches/patch-aa |  18 ++++++++++++++++++
 3 files changed, 22 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r 1b634e4b6e38 -r 467cd6b9cb6d security/mhash/Makefile
--- a/security/mhash/Makefile   Sat Nov 08 12:36:45 2008 +0000
+++ b/security/mhash/Makefile   Sat Nov 08 12:55:21 2008 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2008/07/14 12:56:12 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2008/11/08 12:55:21 bjs Exp $
 
 DISTNAME=      mhash-0.9.9
+PKGREVISION=   1
 CATEGORIES=    security devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mhash/}
 EXTRACT_SUFX=  .tar.bz2
diff -r 1b634e4b6e38 -r 467cd6b9cb6d security/mhash/distinfo
--- a/security/mhash/distinfo   Sat Nov 08 12:36:45 2008 +0000
+++ b/security/mhash/distinfo   Sat Nov 08 12:55:21 2008 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2007/04/30 19:06:47 adam Exp $
+$NetBSD: distinfo,v 1.9 2008/11/08 12:55:21 bjs Exp $
 
 SHA1 (mhash-0.9.9.tar.bz2) = cd72ea80a58bbcc4b1ef96268d03d508ab082529
 RMD160 (mhash-0.9.9.tar.bz2) = bd5ced522314ba559d4a04d33f07df8e6aec2887
 Size (mhash-0.9.9.tar.bz2) = 634563 bytes
+SHA1 (patch-aa) = be09dcc2072cfa25affb6f4af35e8e684207a818
diff -r 1b634e4b6e38 -r 467cd6b9cb6d security/mhash/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/mhash/patches/patch-aa   Sat Nov 08 12:55:21 2008 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1 2008/11/08 12:55:21 bjs Exp $
+
+Code could rely on the definition of 'VERSION'--and *not* define
+it in installed headers!
+
+If this patch causes a problem, something is not right.
+
+--- include/mutils/mhash_config.h.in.orig      2007-04-04 22:21:23.000000000 -0400
++++ include/mutils/mhash_config.h.in
+@@ -224,7 +224,7 @@
+ #undef USE_DMALLOC
+ 
+ /* Version number of package */
+-#undef VERSION
++/* #undef VERSION */
+ 
+ /* Define if using the dmalloc debugging malloc package */
+ #undef WITH_DMALLOC



Home | Main Index | Thread Index | Old Index