ports/98407: building x11-wm/fvwm95-i18n fails.

Tsurutani Naoki turutani at scphys.kyoto-u.ac.jp
Mon Jun 5 22:40:42 UTC 2006


Error messages are the following:
cc -I../../include -I/usr/X11R6/include -O -DXPM -DSHAPE -DI18N -DAPM -c Goodies.c
Goodies.c:472: error: conflicting types for 'CreateBatteryWindow'
Goodies.c:412: error: previous implicit declaration of 'CreateBatteryWindow' was here
*** Error code 1

Stop in /usr/local/work/usr/ports/x11-wm/fvwm95-i18n/work/fvwm95-2.0.43a-Autoconf/modules/FvwmTaskBar.
*** Error code 1

Stop in /usr/local/work/usr/ports/x11-wm/fvwm95-i18n/work/fvwm95-2.0.43a-Autoconf/modules.
*** Error code 1

Stop in /usr/local/work/usr/ports/x11-wm/fvwm95-i18n/work/fvwm95-2.0.43a-Autoconf.
*** Error code 1

Stop in /usr/ports/x11-wm/fvwm95-i18n.
---

This happend when compile with with "WITH_APM=yes".
But with "WITH_APM=no", this phenomenon also happen.
If simply type Enter Key to the question,
compile succeeds.
Here is an additional patch:
--- Makefile.orig     Fri Oct 14 04:31:51 2005
+++ Makefile	      Tue Jun  6 06:59:46 2006
@@ -63,7 +63,7 @@
     esac)
 .endif
 post-patch:
-.if defined(WITH_APM)
+.if defined(WITH_APM) && ${WITH_APM} == yes
     @${CAT} ${WRKDIR}/apmpatch/fvwm95-2.0.43a-Autoconf.I18N.apmpatch \
     | ${PATCH} -d ${WRKSRC}
 .endif

---
Tsurutani Naoki
turutani at scphys.kyoto-u.ac.jp



More information about the freebsd-ports-bugs mailing list