pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/ja-mh Make this package build on Linux by conditi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e1b48e54e08
branches:  trunk
changeset: 516482:1e1b48e54e08
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Jul 21 16:43:56 2006 +0000

description:
Make this package build on Linux by conditionally removing conflicting
declarations.

diffstat:

 mail/ja-mh/distinfo         |   3 ++-
 mail/ja-mh/patches/patch-bj |  31 +++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r 20231b19daac -r 1e1b48e54e08 mail/ja-mh/distinfo
--- a/mail/ja-mh/distinfo       Fri Jul 21 16:43:10 2006 +0000
+++ b/mail/ja-mh/distinfo       Fri Jul 21 16:43:56 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2006/04/11 15:08:38 joerg Exp $
+$NetBSD: distinfo,v 1.10 2006/07/21 16:43:56 minskim Exp $
 
 SHA1 (mh-6.8.4-JP-3.05.tar.gz) = cb531f80be4326cd56d33d6fa9efba4d2d63d0ce
 RMD160 (mh-6.8.4-JP-3.05.tar.gz) = a092a9447370a09f770121baa2ae7eced130ff0f
@@ -49,3 +49,4 @@
 SHA1 (patch-bg) = 46a1d43ad4496ee2f4d031751f13ba48c4e492d4
 SHA1 (patch-bh) = f40cc4c0859f5e1bad7daabab99a33249561c061
 SHA1 (patch-bi) = c00381964adedd04613429c6adc9d9a91aac50b7
+SHA1 (patch-bj) = 609aaee6ceaf77b254f863e0b8a822b94f8bd481
diff -r 20231b19daac -r 1e1b48e54e08 mail/ja-mh/patches/patch-bj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/ja-mh/patches/patch-bj       Fri Jul 21 16:43:56 2006 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-bj,v 1.1 2006/07/21 16:43:57 minskim Exp $
+
+--- h/strings.h.orig   2001-04-02 10:35:24.000000000 +0000
++++ h/strings.h
+@@ -35,7 +35,7 @@
+ char   *index ();
+ char   *mktemp ();
+ char   *rindex ();
+-#ifndef       SPRINTFTYPE
++#if !defined(SPRINTFTYPE) && !defined(linux)
+ #ifndef       ncr             /* NCR compiler complains about re-declaration */
+ char   *sprintf ();           /* I guess this is the new standard */
+ #endif
+@@ -47,7 +47,7 @@ SPRINTFTYPE sprintf ();
+ char   *strcat ();
+ int     strcmp ();
+ char   *strcpy ();
+-#ifndef hpux
++#if !defined(hpux) && !defined(linux)
+ int   strlen ();
+ #endif
+ char   *strncat ();
+@@ -55,7 +55,7 @@ int     strncmp ();
+ char   *strncpy ();
+ #endif
+ 
+-#if !defined(SVR4) && !defined(__386BSD__) && !defined(BSD44)
++#if !defined(SVR4) && !defined(__386BSD__) && !defined(BSD44) && !defined(linux)
+ char   *getenv ();
+ char   *calloc (), *malloc (), *realloc ();
+ #endif        /* SVR4 */



Home | Main Index | Thread Index | Old Index