diff --git a/imake-1.0.2-abort.patch b/0001-imake-1.0.2-for-abort.patch similarity index 42% rename from imake-1.0.2-abort.patch rename to 0001-imake-1.0.2-for-abort.patch index 49ffdce4fc864536ad8534ac65d9016f4c9a6387..eaf3c80d1231c7e9c946e6015a6e689ba43856e9 100644 --- a/imake-1.0.2-abort.patch +++ b/0001-imake-1.0.2-for-abort.patch @@ -1,7 +1,17 @@ -diff -up imake-1.0.2/imake.c.jx imake-1.0.2/imake.c ---- imake-1.0.2/imake.c.jx 2006-05-15 16:28:14.000000000 -0400 -+++ imake-1.0.2/imake.c 2010-10-25 17:14:37.000000000 -0400 -@@ -1030,8 +1030,12 @@ get_libc_version(FILE *inFile) +From b7f12f0a3b7bbfa782e68490036861eb774c9e38 Mon Sep 17 00:00:00 2001 +From: houlifei +Date: Fri, 21 Jul 2023 17:00:20 +0800 +Subject: [PATCH] imake-1.0.2-for-abort + +--- + imake.c | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/imake.c b/imake.c +index 4597f6c..103d7ca 100644 +--- a/imake.c ++++ b/imake.c +@@ -1000,8 +1000,12 @@ get_libc_version(FILE *inFile) len = pclose (fp); remove (aout); @@ -16,3 +26,6 @@ diff -up imake-1.0.2/imake.c.jx imake-1.0.2/imake.c } #endif +-- +2.33.0 + diff --git a/0001-xorg-cf-files-1.0.6-for-Invoke-ar-cq-with-binutils.patch b/0001-xorg-cf-files-1.0.6-for-Invoke-ar-cq-with-binutils.patch new file mode 100644 index 0000000000000000000000000000000000000000..aa9ea8446881948e9a68e3c043023ed129a937ce --- /dev/null +++ b/0001-xorg-cf-files-1.0.6-for-Invoke-ar-cq-with-binutils.patch @@ -0,0 +1,25 @@ +From 42e91e64378aad306614d1b9793933b83dcead6d Mon Sep 17 00:00:00 2001 +From: houlifei +Date: Fri, 21 Jul 2023 17:20:54 +0800 +Subject: [PATCH] xorg-cf-files-1.0.6-for-Invoke-ar-cq-with-binutils + +--- + Imake.tmpl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Imake.tmpl b/Imake.tmpl +index 0f8832f..3467242 100644 +--- a/Imake.tmpl ++++ b/Imake.tmpl +@@ -1078,7 +1078,7 @@ TCLIBDIR = TclLibDir + #define ArCmdBase ar + #endif + #ifndef ArCmd +-#if HasLargeTmp || SystemV4 || HasGnuAr ++#if HasLargeTmp || SystemV4 || HasGnuAr || LinuxBinUtilsMajorVersion + #define ArCmd ArCmdBase cq + #else + #define ArCmd ArCmdBase clq +-- +2.33.0 + diff --git a/imake-1.0.8.tar.bz2 b/imake-1.0.8.tar.bz2 deleted file mode 100644 index 4620ef4c74c5b61725ba6b24747d1e9905829999..0000000000000000000000000000000000000000 Binary files a/imake-1.0.8.tar.bz2 and /dev/null differ diff --git a/imake-1.0.9.tar.gz b/imake-1.0.9.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..41a8a64c5872dd5a4ca149f88af6e9467076c589 Binary files /dev/null and b/imake-1.0.9.tar.gz differ diff --git a/imake.spec b/imake.spec index ec2962e52191e92afacfe4a462bc9bae7547d769..2520818902a2f72b8885eb7c56da48ac397b3a3e 100644 --- a/imake.spec +++ b/imake.spec @@ -1,19 +1,19 @@ Summary: imake source code configuration and build system Name: imake -Version: 1.0.8 +Version: 1.0.9 Release: 1 License: MIT URL: http://www.x.org -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 +Source0: https://www.x.org/pub/individual/util/imake-1.0.9.tar.gz +Source1: https://www.x.org/pub/individual/util/makedepend-1.0.8.tar.gz 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 +Source3: https://www.x.org/pub/individual/util/xorg-cf-files-1.0.8.tar.gz +Source4: https://www.x.org/pub/individual/util/lndir-1.0.4.tar.gz # 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 +Patch1: 0001-xorg-cf-files-1.0.6-for-Invoke-ar-cq-with-binutils.patch +Patch2: 0001-imake-1.0.2-for-abort.patch BuildRequires: pkgconfig gcc gcc-c++ xorg-x11-util-macros xorg-x11-proto-devel @@ -34,7 +34,7 @@ Brunhoff at Tektronix. %prep %setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4 -pushd xorg-cf-files-1.0.6 +pushd xorg-cf-files-1.0.8 %patch1 -p1 -b .ar popd @@ -77,6 +77,9 @@ popd %{_mandir}/man1/* %changelog +* Fri Jul 21 2023 houlifei - 1.0.9-1 +- Upgrade to version 1.0.9 + * Tue Jun 21 2022 SimpleUpdate Robot - 1.0.8-1 - Upgrade to version 1.0.8 diff --git a/lndir-1.0.3.tar.bz2 b/lndir-1.0.3.tar.bz2 deleted file mode 100644 index a8816ace961111ff5bf098aa842293e274a53b06..0000000000000000000000000000000000000000 Binary files a/lndir-1.0.3.tar.bz2 and /dev/null differ diff --git a/lndir-1.0.4.tar.gz b/lndir-1.0.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..018596cdc7759ee5fe4e5c0e55b0b6cd758170ec Binary files /dev/null and b/lndir-1.0.4.tar.gz differ diff --git a/makedepend-1.0.6.tar.bz2 b/makedepend-1.0.6.tar.bz2 deleted file mode 100644 index ca5756bd861f0e8339a6bf0e6b143598f08565d9..0000000000000000000000000000000000000000 Binary files a/makedepend-1.0.6.tar.bz2 and /dev/null differ diff --git a/makedepend-1.0.8.tar.gz b/makedepend-1.0.8.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..7740a668dd647025312bab4c376e00c92330e322 Binary files /dev/null and b/makedepend-1.0.8.tar.gz 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 deleted file mode 100644 index c7959874dd9d4f948d4b207fedcf44a09d12b09c..0000000000000000000000000000000000000000 --- a/xorg-cf-files-1.0.6-Imake.tmpl-Invoke-ar-cq-with-binutils.patch +++ /dev/null @@ -1,43 +0,0 @@ -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 - diff --git a/xorg-cf-files-1.0.6.tar.bz2 b/xorg-cf-files-1.0.6.tar.bz2 deleted file mode 100644 index 19610eb4fc3fafa893aaf5b808ce1f97022d15f2..0000000000000000000000000000000000000000 Binary files a/xorg-cf-files-1.0.6.tar.bz2 and /dev/null differ diff --git a/xorg-cf-files-1.0.8.tar.gz b/xorg-cf-files-1.0.8.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b896bf453eac0370ee76259247ab4992161a6a3b Binary files /dev/null and b/xorg-cf-files-1.0.8.tar.gz differ