pkgsrc/audio/snd/patches/patch-aj
1998-08-07 10:35:47 +00:00

30 lines
1.1 KiB
Text

$NetBSD: patch-aj,v 1.2 1998/08/07 10:36:10 agc Exp $
--- snd.orig/snd-x0.h Wed Dec 17 19:12:04 1997
+++ snd-x0.h Sun Feb 22 02:14:17 1998
@@ -14,14 +14,14 @@
* All the documentation says this is dangerous, so it's on this switch
*/
-#if defined(LINUX) || defined(SCO5) || defined(UW2) || defined(SOLARIS)
+#if defined(LINUX) || defined(SCO5) || defined(UW2) || defined(SOLARIS) || defined(__NetBSD__)
#define RESIZE_DIALOG 1
/* these versions of Motif need to be told to allow a dialog to include resize controls */
#else
#define RESIZE_DIALOG 0
#endif
-#if defined(LINUX) || defined(SCO5) || defined(UW2) || defined(SOLARIS)
+#if defined(LINUX) || defined(SCO5) || defined(UW2) || defined(SOLARIS) || defined(__NetBSD__)
#define MANAGE_DIALOG 1
/* these versions of Motif need to "manage" a dialog before dealing with its children */
#else
@@ -67,7 +67,7 @@
#define CONTROLS_MARGIN 0
#endif
-#if defined(LINUX) || defined(SCO5) || defined(UW2) || defined(SOLARIS)
+#if defined(LINUX) || defined(SCO5) || defined(UW2) || defined(SOLARIS) || defined(__NetBSD__)
#define LINE_MARGIN 4
#define CONTROLS_MARGIN 1
#define TOGGLE_SIZE 13