Maintainer update by Sergey Svishchev (small changes by Klaus Heinz) Pkgsrc changes: - Required version of GTK2 is now 2.6.0 and up. - Many pkgsrc patches related to NetBSD support (scsi-netbsd.c, patch-ab, patch-ac, patch-ae and part of patch-ad) were committed to the stable branch of dvdisaster (0.70.x). The rest (except for patch-ah) was integrated into the unstable branch (0.71.x). Changes since version 0.70.4: ============================= NOTE to downstream maintainers: - Keep up the good work! Thanks :-) - GTK+ dependency has been bumped up to >= 2.6.0 (was formerly 2.0) 0.70 (pl6) 04-03-2008 - rolled back the Windows filename encoding fixes; they caused large file support to be broken Thanks to Markus G. for bringing this to my attention! 0.70 (pl5) 24-02-2008 various backports from 0.71.24: - enlarged scsi timeout for Linux as newer Kernels seem to freeze on timeout - Windows filename encoding fixes
31 lines
1 KiB
Text
31 lines
1 KiB
Text
$NetBSD: patch-ad,v 1.2 2008/11/23 23:40:12 heinz Exp $
|
|
|
|
- Honor configure option --with-embedded-src-path
|
|
(already committed in unstable version upstream)
|
|
|
|
--- closure.c.orig 2008-03-04 10:01:15.000000000 +0000
|
|
+++ closure.c
|
|
@@ -174,10 +174,13 @@ static void get_base_dirs()
|
|
char *appdata;
|
|
#endif
|
|
|
|
- /*** The source directory is supposed to hold the most recent files,
|
|
+ /*** Unless completely disabled through a configure option, the
|
|
+ source directory is supposed to hold the most recent files,
|
|
so try this first. Not necessary under Windows as it will always
|
|
use the directory the binary has been called from. */
|
|
|
|
+#ifdef WITH_EMBEDDED_SRC_PATH_YES
|
|
+
|
|
#ifndef SYS_MINGW
|
|
if(!stat(SRCDIR, &mystat))
|
|
{ Closure->binDir = g_strdup(SRCDIR);
|
|
@@ -187,6 +190,8 @@ static void get_base_dirs()
|
|
}
|
|
#endif
|
|
|
|
+#endif /* WITH_EMBEDDED_SRC_PATH_YES */
|
|
+
|
|
/*** Otherwise try the installation directory.
|
|
On Unices this is a hardcoded directory.
|
|
Windows has binary distributions with no prior known installation place,
|