|
|
00b3bd |
diff -rup binutils.orig/bfd/Makefile.am binutils-2.38/bfd/Makefile.am
|
|
|
00b3bd |
--- binutils.orig/bfd/Makefile.am 2022-02-09 14:10:42.659300681 +0000
|
|
|
00b3bd |
+++ binutils-2.38/bfd/Makefile.am 2022-02-09 14:12:40.562532916 +0000
|
|
|
00b3bd |
@@ -977,8 +977,8 @@ DISTCLEANFILES = $(BUILD_CFILES) $(BUILD
|
|
|
00b3bd |
bfdver.h: $(srcdir)/version.h $(srcdir)/development.sh $(srcdir)/Makefile.in
|
|
|
00b3bd |
$(AM_V_GEN)\
|
|
|
00b3bd |
bfd_version=`echo "$(VERSION)" | $(SED) -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$$/\1\2\3\4\5/'` ;\
|
|
|
00b3bd |
- bfd_version_string="\"$(VERSION)\"" ;\
|
|
|
00b3bd |
- bfd_soversion="$(VERSION)" ;\
|
|
|
00b3bd |
+ bfd_version_string="\"$(VERSION)-%{release}\"" ;\
|
|
|
00b3bd |
+ bfd_soversion="$(VERSION)-%{release}" ;\
|
|
|
00b3bd |
bfd_version_package="\"$(PKGVERSION)\"" ;\
|
|
|
00b3bd |
report_bugs_to="\"$(REPORT_BUGS_TO)\"" ;\
|
|
|
00b3bd |
. $(srcdir)/development.sh ;\
|
|
|
00b3bd |
@@ -989,7 +989,7 @@ bfdver.h: $(srcdir)/version.h $(srcdir)/
|
|
|
00b3bd |
fi ;\
|
|
|
00b3bd |
$(SED) -e "s,@bfd_version@,$$bfd_version," \
|
|
|
00b3bd |
-e "s,@bfd_version_string@,$$bfd_version_string," \
|
|
|
00b3bd |
- -e "s,@bfd_version_package@,$$bfd_version_package," \
|
|
|
00b3bd |
+ -e "s,@bfd_version_package@,\"version \"," \
|
|
|
00b3bd |
-e "s,@report_bugs_to@,$$report_bugs_to," \
|
|
|
00b3bd |
< $(srcdir)/version.h > $@; \
|
|
|
00b3bd |
echo "$${bfd_soversion}" > libtool-soversion
|
|
|
00b3bd |
diff -rup binutils.orig/bfd/Makefile.in binutils-2.38/bfd/Makefile.in
|
|
|
00b3bd |
--- binutils.orig/bfd/Makefile.in 2022-02-09 14:10:42.653300720 +0000
|
|
|
00b3bd |
+++ binutils-2.38/bfd/Makefile.in 2022-02-09 14:19:03.362040188 +0000
|
|
|
00b3bd |
@@ -2094,8 +2094,8 @@ stmp-lcoff-h: $(LIBCOFF_H_FILES) $(MKDOC
|
|
|
00b3bd |
bfdver.h: $(srcdir)/version.h $(srcdir)/development.sh $(srcdir)/Makefile.in
|
|
|
00b3bd |
$(AM_V_GEN)\
|
|
|
00b3bd |
bfd_version=`echo "$(VERSION)" | $(SED) -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$$/\1\2\3\4\5/'` ;\
|
|
|
00b3bd |
- bfd_version_string="\"$(VERSION)\"" ;\
|
|
|
00b3bd |
- bfd_soversion="$(VERSION)" ;\
|
|
|
00b3bd |
+ bfd_version_string="\"$(VERSION)-%{release}\"" ;\
|
|
|
00b3bd |
+ bfd_soversion="$(VERSION)-%{release}" ;\
|
|
|
00b3bd |
bfd_version_package="\"$(PKGVERSION)\"" ;\
|
|
|
00b3bd |
report_bugs_to="\"$(REPORT_BUGS_TO)\"" ;\
|
|
|
00b3bd |
. $(srcdir)/development.sh ;\
|
|
|
00b3bd |
@@ -2106,7 +2106,7 @@ bfdver.h: $(srcdir)/version.h $(srcdir)/
|
|
|
00b3bd |
fi ;\
|
|
|
00b3bd |
$(SED) -e "s,@bfd_version@,$$bfd_version," \
|
|
|
00b3bd |
-e "s,@bfd_version_string@,$$bfd_version_string," \
|
|
|
00b3bd |
- -e "s,@bfd_version_package@,$$bfd_version_package," \
|
|
|
00b3bd |
+ -e "s,@bfd_version_package@,\"version \"," \
|
|
|
00b3bd |
-e "s,@report_bugs_to@,$$report_bugs_to," \
|
|
|
00b3bd |
< $(srcdir)/version.h > $@; \
|
|
|
00b3bd |
echo "$${bfd_soversion}" > libtool-soversion
|