Bug 34636 - XmHTML does not build: debug.c:113: initializer element is not constant
Summary: XmHTML does not build: debug.c:113: initializer element is not constant
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-05 11:50 UTC by Georg-W. Koltermann
Modified: 2002-07-07 09:13 UTC (History)
0 users

See Also:


Attachments
file.diff (1.94 KB, patch)
2002-02-05 11:50 UTC, Georg-W. Koltermann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Georg-W. Koltermann 2002-02-05 11:50:01 UTC
When trying to build XmHTML-1.1.7_1 on -current as of 7-JAN-2002, I got
the following error during build:

rm -f .libs/debug.lo
cc -O -pipe -DVERSION=1107 -DHAVE_REGEX_H -DHAVE_LIBJPEG -DHAVE_LIBPNG -DMotif -I. -I../include -I../include/common -I../../include -I../../include/common -I../../include/XmHTML -I/usr/X11R6/include -I/usr/local/include -c debug.c  -fPIC -DPIC -o .libs/debug.lo
debug.c:113: initializer element is not constant
gmake[2]: *** [debug.o] Fehler 1
gmake[2]: Verlassen des Verzeichnisses Verzeichnis »/usr/ports/x11-toolkits/xmhtml/work/XmHTML-1.1.7/lib/common«
gmake[1]: *** [common] Fehler 2
gmake[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/ports/x11-toolkits/xmhtml/work/XmHTML-1.1.7/lib«

Strangely enough, the build continued without rebuilding the remaining
files of this directory.  The make install aborted, of course, because
parts of the product had not been built.

Fix: I have made the following straightforward change to debug.c to get it
to compile.  I haven't tried to run it (and I don't know how, this port
is just a dependency that I need to build ports/math/grace).

How-To-Repeat: Try to build the port on a recent -current.
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2002-04-02 16:56:24 UTC
State Changed
From-To: open->closed

Committed, Thanks.