Control: tags 1066565 + patch Control: tags 1066565 + pending
Dear maintainer, I've prepared an NMU for fvwm1 (versioned as 1.24r-57.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. Regards.
diff -u fvwm1-1.24r/debian/changelog fvwm1-1.24r/debian/changelog --- fvwm1-1.24r/debian/changelog +++ fvwm1-1.24r/debian/changelog @@ -1,3 +1,12 @@ +fvwm1 (1.24r-57.1) unstable; urgency=medium + + * Non-maintainer upload. + + [Joenio Marques da Costa and Marcos Talau] + * Fix build with GCC 14. (Closes: #1066565) + + -- Marcos Talau <ta...@debian.org> Thu, 10 Jul 2025 11:11:39 -0300 + fvwm1 (1.24r-57) unstable; urgency=medium * Bump standards version to 4.5.0. diff -u fvwm1-1.24r/libs/SendInfo.c fvwm1-1.24r/libs/SendInfo.c --- fvwm1-1.24r/libs/SendInfo.c +++ fvwm1-1.24r/libs/SendInfo.c @@ -1,6 +1,7 @@ #include <stdio.h> #include <ctype.h> #include <string.h> +#include <unistd.h> /*********************************************************************** * diff -u fvwm1-1.24r/libs/SendText.c fvwm1-1.24r/libs/SendText.c --- fvwm1-1.24r/libs/SendText.c +++ fvwm1-1.24r/libs/SendText.c @@ -1,6 +1,8 @@ #include <stdio.h> #include <ctype.h> #include <string.h> +#include <unistd.h> + /************************************************************************ * * Sends arbitrary text to fvwm diff -u fvwm1-1.24r/modules/FvwmAudio/FvwmAudio.c fvwm1-1.24r/modules/FvwmAudio/FvwmAudio.c --- fvwm1-1.24r/modules/FvwmAudio/FvwmAudio.c +++ fvwm1-1.24r/modules/FvwmAudio/FvwmAudio.c @@ -66,6 +66,8 @@ #include <unistd.h> #include <ctype.h> #include <stdlib.h> +#include <time.h> + #include "../../configure.h" #include "../../fvwm/module.h" #include "../../version.h" @@ -478,7 +480,7 @@ if (sound_table[sound]) { - memset(buf,NULL,BUFSIZE); + memset(buf, (int) NULL, BUFSIZE); /* * Don't use audio_play_dir if it's NULL or if the sound file only in patch2: unchanged: --- fvwm1-1.24r.orig/fvwm/functions.c +++ fvwm1-1.24r/fvwm/functions.c @@ -52,7 +52,7 @@ extern XEvent Event; extern FvwmWindow *Tmp_win; extern int menuFromFrameOrWindowOrTitlebar; -extern DoHandlePageing; +extern Bool DoHandlePageing; extern char **g_argv; only in patch2: unchanged: --- fvwm1-1.24r.orig/libs/ReadPacket.c +++ fvwm1-1.24r/libs/ReadPacket.c @@ -1,5 +1,7 @@ #include <stdio.h> #include <stdlib.h> +#include <unistd.h> + #include "fvwmlib.h" #include "../fvwm/module.h" only in patch2: unchanged: --- fvwm1-1.24r.orig/libs/fvwmlib.h +++ fvwm1-1.24r/libs/fvwmlib.h @@ -2,6 +2,7 @@ int mystrncasecmp(char *a, char *b,int n); char *CatString3(char *a, char *b, char *c); int mygethostname(char *client, int namelen); +int mygetostype(char *buf, int max); void SendText(int *fd,char *message,unsigned long window); void SendInfo(int *fd,char *message,unsigned long window); char *safemalloc(int); @@ -10,3 +11,4 @@ void CopyString(char **dest, char *source); void sleep_a_little(int n); int GetFdWidth(void); +void InitVariables(void); only in patch2: unchanged: --- fvwm1-1.24r.orig/libs/wild.c +++ fvwm1-1.24r/libs/wild.c @@ -1,4 +1,5 @@ #include <stdio.h> +#include <string.h> #ifndef TRUE #define TRUE 1 only in patch2: unchanged: --- fvwm1-1.24r.orig/modules/FvwmBacker/Mallocs.c +++ fvwm1-1.24r/modules/FvwmBacker/Mallocs.c @@ -25,6 +25,8 @@ #include <string.h> #include <sys/time.h> +#include "Mallocs.h" + #ifdef BROKEN_SUN_HEADERS #include "../../fvwm/sun_headers.h" #endif only in patch2: unchanged: --- fvwm1-1.24r.orig/modules/FvwmBacker/root_bits.c +++ fvwm1-1.24r/modules/FvwmBacker/root_bits.c @@ -38,6 +38,8 @@ #include <X11/Xutil.h> #include <X11/Xatom.h> #include <stdio.h> +#include <stdlib.h> + #include "X11/bitmaps/gray" char *index(); only in patch2: unchanged: --- fvwm1-1.24r.orig/modules/FvwmBanner/FvwmBanner.c +++ fvwm1-1.24r/modules/FvwmBanner/FvwmBanner.c @@ -24,6 +24,7 @@ #include <unistd.h> #include <ctype.h> #include <stdlib.h> +#include <time.h> #include <X11/StringDefs.h> #include <X11/Intrinsic.h> only in patch2: unchanged: --- fvwm1-1.24r.orig/modules/FvwmClean/FvwmClean.c +++ fvwm1-1.24r/modules/FvwmClean/FvwmClean.c @@ -27,6 +27,8 @@ #include <unistd.h> #include <ctype.h> #include <stdlib.h> +#include <time.h> + #include "../../fvwm/module.h" #include "FvwmClean.h" only in patch2: unchanged: --- fvwm1-1.24r.orig/modules/FvwmWinList/ButtonArray.c +++ fvwm1-1.24r/modules/FvwmWinList/ButtonArray.c @@ -14,9 +14,11 @@ #include <stdlib.h> #include <stdio.h> +#include <string.h> #include <X11/Xlib.h> #include "ButtonArray.h" #include "Mallocs.h" +#include "FvwmWinList.h" #ifndef min #define min(a,b) (((a)<(b)) ? (a) : (b)) only in patch2: unchanged: --- fvwm1-1.24r.orig/modules/FvwmWinList/FvwmWinList.h +++ fvwm1-1.24r/modules/FvwmWinList/FvwmWinList.h @@ -1,3 +1,5 @@ +#include <X11/Xmd.h> + #include "../../libs/fvwmlib.h" /* FvwmWinList Module for Fvwm. * only in patch2: unchanged: --- fvwm1-1.24r.orig/modules/FvwmWinList/List.c +++ fvwm1-1.24r/modules/FvwmWinList/List.c @@ -17,6 +17,7 @@ #include <stdlib.h> #include "List.h" #include "Mallocs.h" +#include "FvwmWinList.h" #include "../../fvwm/module.h" only in patch2: unchanged: --- fvwm1-1.24r.orig/modules/FvwmWinList/Mallocs.c +++ fvwm1-1.24r/modules/FvwmWinList/Mallocs.c @@ -25,6 +25,8 @@ #include <string.h> #include <sys/time.h> +#include "Mallocs.h" + #ifdef BROKEN_SUN_HEADERS #include "../../fvwm/sun_headers.h" #endif only in patch2: unchanged: --- fvwm1-1.24r.orig/xpmroot/xpmroot.c +++ fvwm1-1.24r/xpmroot/xpmroot.c @@ -10,6 +10,7 @@ #include <stdio.h> #include <signal.h> +#include <stdlib.h> #include <string.h> #include <X11/Xos.h> #include <X11/Xatom.h>