pkgsrc-ng/print/a2ps/patches/patch-lib_path-concat.c
2013-09-26 17:14:40 +02:00

14 lines
367 B
C

$NetBSD: patch-lib_path-concat.c,v 1.1 2012/03/23 18:44:23 marino Exp $
--- lib/path-concat.c.orig 2012-03-23 17:50:24.184967000 +0000
+++ lib/path-concat.c
@@ -21,7 +21,7 @@
# include <config.h>
#endif
-#ifndef HAVE_MEMPCPY
+#if !defined(HAVE_MEMPCPY) && !defined(__DragonFly__)
# define mempcpy(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N)))
#endif