bug-enscript
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-enscript] [bug #56921] enscript git version does not build


From: Bill McGonigle
Subject: [bug-enscript] [bug #56921] enscript git version does not build
Date: Fri, 10 Feb 2023 16:34:29 -0500 (EST)

Follow-up Comment #1, bug #56921 (project enscript):

afm.c will build with -DPROTOTYPES

src/util.c needs langinfo.h included.

I'm trying to debug a segfault on Debian Stable and can build with:

  ./configure --prefix=/usr --sysconfdir=/etc CFLAGS=-DPROTOTYPES
  make

to get a replacement binary (using my same config files) with the patch
below.

But, yeah, the current git still won't build today with:

gcc version 10.2.1 20210110 (Debian 10.2.1-6) 



-----

diff --git a/src/util.c b/src/util.c
index d53d8f0..8b04529 100644
--- a/src/util.c
+++ b/src/util.c
@@ -23,6 +23,7 @@
  */
 
 #include "gsint.h"
+#include "langinfo.h"
 
 /*
  * Types and definitions.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56921>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]