pkgsrc-Bugs archive

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

Re: pkg/45869: print/a2ps doesn't check for the existence of mempcpy



The following reply was made to PR pkg/45869; it has been noted by GNATS.

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/45869: print/a2ps doesn't check for the existence of mempcpy
Date: Sat, 18 Feb 2012 21:56:09 +0900

 I cannot setup test environment yet, but how about add following two patches?
 (source codes already contains HAVE_MEMPCPY logic, but never set by configure)
 
 == patch-configure ==
 $NetBSD$
 
 --- configure.orig      2007-12-29 03:28:03.000000000 +0000
 +++ configure
 @@ -24841,7 +24841,7 @@ fi
 
 
 
 -for ac_func in uname strchr strerror strerror_r getcwd bcopy bzero tempnam 
strsignal psignal setlocale
 +for ac_func in uname strchr strerror strerror_r getcwd bcopy bzero tempnam 
strsignal psignal setlocale mempcpy
   do
   as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   { echo "$as_me:$LINENO: checking for $ac_func" >&5
 
 
 == patch-config.h.in ==
 $NetBSD$
 
 --- config.h.in.orig    2007-12-29 03:28:05.000000000 +0000
 +++ config.h.in
 @@ -158,6 +158,9 @@
   /* Define to 1 if you have the <memory.h> header file. */
   #undef HAVE_MEMORY_H
 
 +/* Define to 1 if you have the `mempcpy' function. */
 +#undef HAVE_MEMPCPY
 +
   /* Define to 1 if you have the `memset' function. */
   #undef HAVE_MEMSET
 


Home | Main Index | Thread Index | Old Index