diff options
Diffstat (limited to 'multimedia/libdvdnav/patches/patch-ac')
-rw-r--r-- | multimedia/libdvdnav/patches/patch-ac | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/libdvdnav/patches/patch-ac b/multimedia/libdvdnav/patches/patch-ac new file mode 100644 index 00000000000..19a6b4a3998 --- /dev/null +++ b/multimedia/libdvdnav/patches/patch-ac @@ -0,0 +1,17 @@ +$NetBSD: patch-ac,v 1.1 2007/01/09 14:44:11 drochner Exp $ + +--- src/dvdread/dvd_reader.c.orig 2007-01-09 00:15:00.000000000 +0100 ++++ src/dvdread/dvd_reader.c +@@ -585,10 +585,12 @@ static int findDirFile( const char *path + sprintf( filename, "%s%s%s", path, + ( ( path[ strlen( path ) - 1 ] == '/' ) ? "" : "/" ), + ent->d_name ); ++ closedir( dir ); + return 0; + } + } + ++ closedir( dir ); + return -1; + } + |