A couple of fixes fvwm95

Doug Ambrisko ambrisko at ambrisko.com
Fri Mar 27 09:47:26 PDT 2009


Hi ports@ folks,

I use fvwm95 and now that suspend/resume is working for amd64 I've
switched over to 64bit.  However, fvwm95's task bar doesn't show up
when built for amd64.  This patch seems to fix it:

--- modules/FvwmTaskBar/Mallocs.c.orig	Wed Mar 21 14:02:08 2007
+++ modules/FvwmTaskBar/Mallocs.c	Wed Mar 21 14:02:25 2007
@@ -19,6 +19,7 @@
  * as long as the copyright is kept intact. */
 
 #include <FVWMconfig.h>
+#include <fvwm/fvwmlib.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>

and this patch seems to fix a -current compile problem:

--- fvwm/misc.h.orig	2009-03-27 09:02:02.000000000 -0700
+++ fvwm/misc.h	2009-03-27 09:02:19.000000000 -0700
@@ -320,7 +320,7 @@ void ButtonStyle(XEvent *eventp,Window w
 		 unsigned long context, char *action,int *Module);
 void SetColormapFocus(XEvent *eventp,Window w,FvwmWindow *tmp_win,
 		      unsigned long context, char *action,int* Module);
-inline void DrawPattern(Window, GC, GC, int, int,int);
+void DrawPattern(Window, GC, GC, int, int,int);
 Pixel    GetShadow(Pixel);
 Pixel    GetHilite(Pixel);
 
Since ports@ is the maintainer I'd figure I'd bounce it off the 
ports email list.  I used to be a ports committer (still src).

Thanks,

Doug A.


More information about the freebsd-ports mailing list