pkgsrc/sysutils/vobcopy/patches/patch-aa
2009-04-28 13:01:39 +00:00

21 lines
545 B
Text

$NetBSD: patch-aa,v 1.7 2009/04/28 13:01:39 hasso Exp $
--- vobcopy.c.orig 2008-02-19 07:27:04 +0200
+++ vobcopy.c 2008-09-22 03:12:50 +0300
@@ -53,7 +53,6 @@
#include "vobcopy.h"
-extern int errno;
char name[300];
bool overwrite_flag = FALSE;
@@ -2177,7 +2176,7 @@ char *safestrncpy(char *dest, const char
return strncpy(dest, src, n-1);
}
-#if defined(__APPLE__) && defined(__GNUC__)
+#if (defined(__APPLE__) && defined(__GNUC__)) || defined(__DragonFly__)
int fdatasync( int value )
{
return 0;