pkgsrc/cad/pcb/patches/patch-ai
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

31 lines
918 B
Text

$NetBSD: patch-ai,v 1.1 2002/05/31 19:56:21 dmcmahill Exp $
--- src/dialog.c.orig Wed May 13 06:29:43 1998
+++ src/dialog.c
@@ -55,7 +55,7 @@
/* ---------------------------------------------------------------------------
* some local identifiers
*/
-static int ReturnCode; /* used by standard dialogs */
+static long int ReturnCode; /* used by standard dialogs */
/* ---------------------------------------------------------------------------
* some local prototypes
@@ -71,7 +71,7 @@
*/
static void CB_OK(Widget W, XtPointer ClientData, XtPointer CallData)
{
- ReturnCode = (int) ClientData;
+ ReturnCode = (long int) ClientData;
}
/* ---------------------------------------------------------------------------
@@ -124,7 +124,7 @@
* waits until returncode is differnt from -1
* see also CB_OK()
*/
-int DialogEventLoop(int *Code)
+int DialogEventLoop(long int *Code)
{
XEvent event;