File fix_dterror.patch of Package cde
diff -Nraub cde-2.5.1.ori/programs/dtfile/Makefile.am cde-2.5.1/programs/dtfile/Makefile.am
--- cde-2.5.1.ori/programs/dtfile/Makefile.am 2023-02-12 18:32:03.058383993 -0400
+++ cde-2.5.1/programs/dtfile/Makefile.am 2023-02-12 18:33:51.012621746 -0400
@@ -9,7 +9,7 @@
dist_config_DATA = dtfile.config
-dist_bin_SCRIPTS = dtfile_error dterror.ds
+dist_bin_SCRIPTS = dtfile_error
dtfile_CPPFLAGS = -I./dtcopy -DSHAPE -D_ILS_MACROS -DSUN_PERF \
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
diff -Nraub cde-2.5.1.ori/programs/types/Makefile.am cde-2.5.1/programs/types/Makefile.am
--- cde-2.5.1.ori/programs/types/Makefile.am 2023-02-12 18:32:03.121384131 -0400
+++ cde-2.5.1/programs/types/Makefile.am 2023-02-12 19:41:32.448367615 -0400
@@ -16,6 +16,8 @@
printerNN.dt sunOW.dt unsupported.dt user-prefs.dt uxstd.dt \
xclients.dt
+dist_bin_SCRIPTS = dterror.ds
+
CLEANFILES = $(BUILT_SOURCES)
# Use -C to GENCPP to preserve /* and */ sequences
@@ -140,3 +142,7 @@
$(RM) $@
$(GENCPP) -P -C -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@
+dterror.ds: error.ds
+ $(RM) $@
+ $(CP) $< $@
+