pkgsrc/cad/pcb/patches/patch-ak
dmcmahill 53e4a5ba09 - use getcwd() instead of getwd().
- remove all compiler warnings on alpha

- add ${PKG_SYSCONFDIR}/pcb/local.inc where admins can list site specific
  libraries to be included instead of modifying one of the regularly
  installed/deinstalled files.  This way a local config is preserved when
  the pkg is upgraded.  Also a local config can be applied without modifying
  one of the files which is checksummed during the install.
2002-05-31 19:56:19 +00:00

22 lines
766 B
Text

$NetBSD: patch-ak,v 1.1 2002/05/31 19:56:21 dmcmahill Exp $
--- src/fileselect.c.orig Wed May 13 06:29:45 1998
+++ src/fileselect.c
@@ -79,7 +79,7 @@
*/
static Widget InputW, /* input field */
CurrentW; /* label (current directory) */
-static int ReturnCode; /* returncode of buttons */
+static long int ReturnCode; /* returncode of buttons */
static String CurrentDir; /* current directory */
static Boolean LockCallback; /* used by CB_Text() */
static SelectorType DirectorySelector =
@@ -138,7 +138,7 @@
*/
static void CB_CancelOrOK(Widget W, XtPointer ClientData, XtPointer CallData)
{
- ReturnCode = (int) ClientData;
+ ReturnCode = (long int) ClientData;
}
/* ---------------------------------------------------------------------------