URL:
<https://savannah.gnu.org/bugs/?61036>
Summary: [PATCH] xditview.am: add library to facilitate
compilation with additional options
Project: GNU troff
Submitted by: bjarniig
Submitted on: Thu 12 Aug 2021 11:56:58 PM UTC
Category: Device - others
Severity: 3 - Normal
Item Group: Build/Installation
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
>From aecc6b9999b2036d8d42e57788a9766dcb798825 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <[email protected]>
Date: Thu, 12 Aug 2021 13:36:19 +0000
Subject: [PATCH] xditview.am: add library to facilitate compilation with
additional options
The compiler options '-O...', '-D_FORTIFY_SOURCE=2' and
'-DGNULIB_NAMESPACE=gnulib' cause an error as "fprintf" is replaced by
"rpl_fprintf", and the needed subroutines are not found.
Signed-off-by: Bjarni Ingi Gislason <[email protected]>
---
src/devices/xditview/xditview.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/devices/xditview/xditview.am
b/src/devices/xditview/xditview.am
index 00794d03..edd40c34 100644
--- a/src/devices/xditview/xditview.am
+++ b/src/devices/xditview/xditview.am
@@ -42,7 +42,7 @@ bin_PROGRAMS += gxditview
gxditview_CPPFLAGS = $(AM_CPPFLAGS) $(X_CFLAGS) -Dlint \
-I$(top_builddir)/src/devices/xditview
gxditview_LDADD = $(X_LIBS) $(X_PRE_LIBS) -lXaw -lXmu -lXt -lX11 \
- $(X_EXTRA_LIBS) $(LIBM) libxutil.a lib/libgnu.a
+ $(X_EXTRA_LIBS) $(LIBM) libxutil.a libgroff.a lib/libgnu.a
XDITVIEW_GENHDRS = src/devices/xditview/GXditview-ad.h
gxditview_SOURCES = $(GXDITVIEWSOURCES)
nodist_gxditview_SOURCES = $(XDITVIEW_GENHDRS)
--
2.30.2
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61036>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/