diff --git a/imake-1.0.7.tar.bz2 b/imake-1.0.7.tar.bz2 deleted file mode 100644 index 950f78d1cf154f089f8d16491c4ef10588d38bf5..0000000000000000000000000000000000000000 Binary files a/imake-1.0.7.tar.bz2 and /dev/null differ diff --git a/imake-1.0.8.tar.bz2 b/imake-1.0.8.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..4620ef4c74c5b61725ba6b24747d1e9905829999 Binary files /dev/null and b/imake-1.0.8.tar.bz2 differ diff --git a/imake.spec b/imake.spec index fd1cd9dc7703a71406548ae628b53ed3b5f9d2ae..ec2962e52191e92afacfe4a462bc9bae7547d769 100644 --- a/imake.spec +++ b/imake.spec @@ -1,17 +1,19 @@ Summary: imake source code configuration and build system Name: imake -Version: 1.0.7 -Release: 17 +Version: 1.0.8 +Release: 1 License: MIT URL: http://www.x.org -Source0: https://www.x.org/pub/individual/util/imake-1.0.7.tar.bz2 -Source1: https://www.x.org/pub/individual/util/makedepend-1.0.4.tar.bz2 +Source0: https://www.x.org/pub/individual/util/imake-1.0.8.tar.bz2 +Source1: https://www.x.org/pub/individual/util/makedepend-1.0.6.tar.bz2 Source2: https://www.x.org/pub/individual/util/gccmakedep-1.0.3.tar.bz2 Source3: https://www.x.org/pub/individual/util/xorg-cf-files-1.0.6.tar.bz2 -Source4: https://www.x.org/pub/individual/util/lndir-1.0.3.tar.bz2 - -Patch11: imake-1.0.2-abort.patch +Source4: https://www.x.org/pub/individual/util/lndir-1.0.3.tar.bz2 +# Adapt ar invocation to binutils 2.36, bug #1943274, in upstream after 1.0.6, +# +Patch1: xorg-cf-files-1.0.6-Imake.tmpl-Invoke-ar-cq-with-binutils.patch +Patch2: imake-1.0.2-abort.patch BuildRequires: pkgconfig gcc gcc-c++ xorg-x11-util-macros xorg-x11-proto-devel @@ -31,8 +33,13 @@ Brunhoff at Tektronix. %prep %setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4 + +pushd xorg-cf-files-1.0.6 +%patch1 -p1 -b .ar +popd + pushd %{name}-%{version} -%patch11 -p1 -b .abort +%patch2 -p1 -b .abort popd %build @@ -70,6 +77,9 @@ popd %{_mandir}/man1/* %changelog +* Tue Jun 21 2022 SimpleUpdate Robot - 1.0.8-1 +- Upgrade to version 1.0.8 + * Fri Apr 3 2020 huanghaitao - 1.0.7-17 - Delete patch diff --git a/makedepend-1.0.4.tar.bz2 b/makedepend-1.0.4.tar.bz2 deleted file mode 100644 index 9cc8c37873afd321bbe01632d019f30c20972bf9..0000000000000000000000000000000000000000 Binary files a/makedepend-1.0.4.tar.bz2 and /dev/null differ diff --git a/makedepend-1.0.6.tar.bz2 b/makedepend-1.0.6.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..ca5756bd861f0e8339a6bf0e6b143598f08565d9 Binary files /dev/null and b/makedepend-1.0.6.tar.bz2 differ diff --git a/xorg-cf-files-1.0.6-Imake.tmpl-Invoke-ar-cq-with-binutils.patch b/xorg-cf-files-1.0.6-Imake.tmpl-Invoke-ar-cq-with-binutils.patch new file mode 100644 index 0000000000000000000000000000000000000000..c7959874dd9d4f948d4b207fedcf44a09d12b09c --- /dev/null +++ b/xorg-cf-files-1.0.6-Imake.tmpl-Invoke-ar-cq-with-binutils.patch @@ -0,0 +1,43 @@ +From a6d4d6223ef75119d5373fa4cc04161bcdb4e769 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Mon, 29 Mar 2021 10:45:10 +0200 +Subject: [PATCH] Imake.tmpl: Invoke "ar cq" with binutils +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +GNU binutils 2.36 repurposed "l" modifier. It used to be ignored, now +it specifies the dependencies of a static library to be recorded in an +archive. + +That broke nas which uses imake as a build configiration tool: + +$ ar clq libdia.a dispatch.o dixutils.o events.o globals.o main.o resource.o swapreq.o tables.o swaprep.o audispatch.o auswap.o autables.o auevents.o auutil.o auconfig.o auprocess.o nasconf.o lex.o gram.o +ar: libdeps specified more than once + +This patch changes AR command from "ar clq" to "ar cq" if binutils are +used. + + + +Signed-off-by: Petr Písař +--- + Imake.tmpl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Imake.tmpl b/Imake.tmpl +index 9d02cb6..3f89ebf 100644 +--- a/Imake.tmpl ++++ b/Imake.tmpl +@@ -1078,7 +1078,7 @@ TCLIBDIR = TclLibDir + #define ArCmdBase ar + #endif + #ifndef ArCmd +-#if HasLargeTmp || SystemV4 ++#if HasLargeTmp || SystemV4 || LinuxBinUtilsMajorVersion + #define ArCmd ArCmdBase cq + #else + #define ArCmd ArCmdBase clq +-- +2.26.3 +