The attached patches are required for building the latest version 2.0.1 on FreeBSD. Without those patches it fails to compile with:
c++ -O2 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -I/usr/local/include/fox-1.6 -DHAVE_XFT_H -DHAVE_XRANDR_H=1 -DSTARTUP_NOTIFICATION -pthread -fstack-protector-strong -o xfw ../st/x.o ../st/st.o icons.o startupnotification.o xfeutils.o ComboBox.o ColorSelector.o CommandWindow.o DialogBox.o DirHistBox.o DirList.o File.o FileDialog.o FileDict.o FileList.o FontDialog.o HistInputDialog.o IconList.o InputDialog.o MessageBox.o OverwriteBox.o PathLinker.o StringList.o TextLabel.o WriteWindow.o XFileWrite.o ../libsn/sn-common.o ../libsn/sn-launchee.o ../libsn/sn-launcher.o ../libsn/sn-list.o ../libsn/sn-monitor.o ../libsn/sn-util.o ../libsn/sn-xmessages.o ../libsn/sn-xutils.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lutil -lfontconfig -lpng -lFOX-1.6 -L/usr/local/lib -lX11 -L/usr/local/lib -lfreetype -L/usr/local/lib -lXft -lX11 -L/usr/local/lib -lfreetype -L/usr/local/lib -lfontconfig -lfreetype -L/usr/local/lib -lXrender -lX11 -lXrandr -L/usr/local/lib -lxcb -L/usr/local/lib -lxcb-util -lxcb -L/usr/local/lib -lX11-xcb -lX11 -lxcb
main.cpp:490:73: error: use of undeclared identifier 'pkg_format'
490 | application->reg().writeUnsignedEntry("SETTINGS", "package_format", pkg_format);
| ^
1 error generated.
OK, thanks for the patch. It will be included in the next release.
Your patch is included in Xfe 2.1.