Subject: Patches to compile fvwm on AIX 4.1.5

From: [email-masked]
Date: Sun, 26 Sep 1999 13:46:19 -0500 (CDT)

Full_Name: Harald Dunkel
Version: 2.3.8
CVS_Date: 
OS: AIX 4.1.5
X_Server: AIXWindows
Submission from: (NULL) (146.225.224.201)

Hi folks,

The following patches are needed to compile fvwm2 on AIX 4.1.5 using
IBM's C compiler. I have verified these patches on SunOS 5.5.1 and
HP-UX B.10.20.

Have fun

Harri
---------------------------------------------------------------------------
*** ./libs/fvwmsignal.h.orig    Sun May 23 07:40:22 1999
--- ./libs/fvwmsignal.h Sun Sep 26 19:03:24 1999
***************
*** 31,36 ****
--- 31,39 ----
  
  #include <signal.h>
  #include <sys/time.h>
+ #if HAVE_SYS_SELECT_H
+ #include <sys/select.h>
+ #endif
  
  /***************************************************************************
   * Global variables
*** ./modules/FvwmButtons/FvwmButtons.h.orig    Wed Sep 15 22:32:42 1999
--- ./modules/FvwmButtons/FvwmButtons.h Sun Sep 26 19:10:21 1999
***************
*** 226,236 ****
  extern char *imagePath;
  extern int fd[];
  
- extern int screen;
  extern int new_desk;
  extern GC  NormalGC;
  extern GC  ShadowGC;
- extern int x,y,xneg,yneg,w,h; /* Dirty... */
  
  /* ------------------------------ I18N_MB stuff
---------------------------- */
  #ifdef I18N_MB
--- 226,234 ----
*** ./modules/FvwmPager/FvwmPager.c.orig        Wed Sep 15 23:10:52 1999
--- ./modules/FvwmPager/FvwmPager.c     Sun Sep 26 19:14:51 1999
***************
*** 58,64 ****

  char *MyName;
- int fd_width;
  int fd[2];
  
  PagerStringList *FindDeskStrings(int desk);
--- 58,63 ----
*** ./modules/FvwmScript/Widgets/Tools.h.orig   Thu Sep 16 21:05:21 1999
--- ./modules/FvwmScript/Widgets/Tools.h        Sun Sep 26 19:20:06 1999
***************
*** 14,19 ****
--- 14,22 ----
   */
  
  #include "../types.h"
+ #if HAVE_SYS_SELECT_H
+ #include <sys/select.h>
+ #endif
  
  extern Display *dpy;
  extern int screen;
*** ./modules/FvwmScroll/FvwmScroll.c.orig      Sun Sep 19 15:58:53 1999
--- ./modules/FvwmScroll/FvwmScroll.c   Sun Sep 26 19:31:07 1999
***************
*** 38,44 ****
  #include "FvwmScroll.h"
  
  char *MyName;
! int fd_width;
  int fd[2];
  
  Display *dpy;                 /* which display are we talking to */
--- 38,44 ----
  #include "FvwmScroll.h"
  
  char *MyName;
! fd_set_size_t fd_width;
  int fd[2];
  
  Display *dpy;                 /* which display are we talking to */

--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [email-masked].
To report problems, send mail to [email-masked]