diff options
author | jschauma <jschauma> | 2003-09-15 15:02:54 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2003-09-15 15:02:54 +0000 |
commit | d07d0e404c86220aecba9cb0c5452fb79939c6fa (patch) | |
tree | 79bf2197db7d7420a048e83695e6bfb6fd9dae32 /misc/dialog | |
parent | 76c254f6eb55c5ce07ab98409a78d0e573ad4e02 (diff) | |
download | pkgsrc-d07d0e404c86220aecba9cb0c5452fb79939c6fa.tar.gz |
Get rid of the 'extern __inline__' nonsense, thus allowing this to
compile with non-gcc compilers. Ok jlam@.
Diffstat (limited to 'misc/dialog')
-rw-r--r-- | misc/dialog/distinfo | 4 | ||||
-rw-r--r-- | misc/dialog/patches/patch-ac | 49 |
2 files changed, 42 insertions, 11 deletions
diff --git a/misc/dialog/distinfo b/misc/dialog/distinfo index fdc6b98b114..d85733444fc 100644 --- a/misc/dialog/distinfo +++ b/misc/dialog/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.3 2001/06/19 15:53:11 jlam Exp $ +$NetBSD: distinfo,v 1.4 2003/09/15 15:02:54 jschauma Exp $ SHA1 (dialog-0.6z.tar.gz) = 3c9483554bbb63bb8838e1f7b31f2600a33198ad Size (dialog-0.6z.tar.gz) = 50901 bytes SHA1 (patch-aa) = 267ffec46c4c7ae070df8eb78ac7db77310a2bad SHA1 (patch-ab) = 39318c50019277ffa1cecdb33f16e16c11ad37af -SHA1 (patch-ac) = 6179f418b01a778fedf16d0885e420a96dd604a4 +SHA1 (patch-ac) = 5862dd0163f2979b8071d8dbc6388c466a162042 SHA1 (patch-ad) = 90a88a838923423cfe3bdbfc5d9de6d40bd10cee SHA1 (patch-ae) = c0aae5c99837a17919fea47734d90fb6006dd381 SHA1 (patch-af) = 4b47fa64e73deca0bb69ad1bc83102e46eaa01fe diff --git a/misc/dialog/patches/patch-ac b/misc/dialog/patches/patch-ac index bf4b10d5914..b8b08e7fb1d 100644 --- a/misc/dialog/patches/patch-ac +++ b/misc/dialog/patches/patch-ac @@ -1,7 +1,7 @@ -$NetBSD: patch-ac,v 1.7 2001/06/19 15:53:11 jlam Exp $ +$NetBSD: patch-ac,v 1.8 2003/09/15 15:02:55 jschauma Exp $ ---- dialog.h.orig Fri Aug 18 07:35:06 1995 -+++ dialog.h +--- dialog.h.orig 1995-08-18 07:35:06.000000000 -0400 ++++ dialog.h 2003-09-14 21:47:41.000000000 -0400 @@ -28,7 +28,7 @@ #ifdef ultrix #include <cursesX.h> @@ -29,11 +29,42 @@ $NetBSD: patch-ac,v 1.7 2001/06/19 15:53:11 jlam Exp $ int dialog_yesno (const char *title, const char *prompt, int height, int width); int dialog_msgbox (const char *title, const char *prompt, int height, int width, int pause); -@@ -196,6 +200,7 @@ - extern __inline__ int - mouse_wgetch (WINDOW * win) - { -+return 0; - }; +@@ -171,33 +175,11 @@ + */ + #ifndef HAVE_LIBGPM +-extern __inline__ void +-mouse_open (void) +-{ +-}; +-extern __inline__ void +-mouse_close (void) +-{ +-}; +-extern __inline__ void +-mouse_mkregion (int y, int x, int height, int width, +- int code) +-{ +-}; +-extern __inline__ void +-mouse_mkbigregion (int y, int x, int height, int width, +- int nitems, int th, int mode) +-{ +-}; +-extern __inline__ void +-mouse_setbase (int x, int y) +-{ +-}; +-extern __inline__ int +-mouse_wgetch (WINDOW * win) +-{ +-}; +- ++#define mouse_open() {} ++#define mouse_close() {} ++#define mouse_mkregion(y, x, height, width, code) {} ++#define mouse_mkbigregion(y, x, height, width, nitems, th, mode) {} ++#define mouse_setbase(x, y) {} #define mouse_wgetch(w) wgetch(w) + + #else |