Skip to content

Commit 8e6ae13

Browse files
committed
groff: use CPPFLAGS to ensure separate CONFIG_CACHE usage
1 parent 0904e98 commit 8e6ae13

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/groff/SPECS/groff.spec

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Summary: A document formatting system
44
Name: groff
55
Version: 1.22.4
6-
Release: 22%{?dist}
6+
Release: 23%{?dist}
77
License: GPLv3+ and GFDL and BSD and MIT
88
URL: http://www.gnu.org/software/groff/
99
Source: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
@@ -108,6 +108,8 @@ for file in NEWS src/devices/grolbp/grolbp.1.man doc/webpage.ms \
108108
done
109109

110110
%build
111+
# Avoid sharing config cache entries (causes problems)
112+
export CPPFLAGS="-DGROFF_HAVE_UNIQ_CONFIG_CACHE"
111113
%configure \
112114
--docdir=%{_pkgdocdir} \
113115
--with-appresdir=%{_datadir}/X11/app-defaults \
@@ -429,6 +431,9 @@ chmod 755 %{buildroot}%{_datadir}/groff/%{version}/font/devlj4/generate/special.
429431
%doc %{_pkgdocdir}/pdf/
430432

431433
%changelog
434+
* Thu Aug 06 2020 Daniel Hams <[email protected]> - 1.22.4-23
435+
- Use a standalone config cache for groff - otherwise the X11 pieces are missing and the build will fail.
436+
432437
* Fri Apr 10 2020 Daniel Hams <[email protected]> - 1.22.4-22
433438
- Move over to sgug-rse libX11
434439

0 commit comments

Comments
 (0)