pkgsrc/sysutils/vobcopy/patches/patch-aa

22 lines
545 B
Text
Raw Normal View History

2009-04-28 15:01:39 +02:00
$NetBSD: patch-aa,v 1.7 2009/04/28 13:01:39 hasso Exp $
2006-05-19 10:32:04 +02:00
2009-04-28 15:01:39 +02:00
--- 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"
2006-05-19 10:32:04 +02:00
-extern int errno;
char name[300];
bool overwrite_flag = FALSE;
2006-05-19 10:32:04 +02:00
2009-04-28 15:01:39 +02:00
@@ -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;