Compare commits
10 Commits
33535a5197
...
d6ca364d02
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6ca364d02 | ||
|
|
d594b05da2 | ||
|
|
f45ca6ead1 | ||
|
|
f7b7bcbe29 | ||
|
|
5e7871e57a | ||
|
|
87cd925dd0 | ||
|
|
091de6a7b3 | ||
|
|
f7d2ae9a1f | ||
|
|
bd2b0ca713 | ||
|
|
c8e7f5cfa6 |
31
0001-imake-1.0.2-for-abort.patch
Normal file
31
0001-imake-1.0.2-for-abort.patch
Normal file
@ -0,0 +1,31 @@
|
||||
From b7f12f0a3b7bbfa782e68490036861eb774c9e38 Mon Sep 17 00:00:00 2001
|
||||
From: houlifei <houlifei@uniontech.com>
|
||||
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);
|
||||
- if (len)
|
||||
- abort ();
|
||||
+ if (len) {
|
||||
+ /* handwave furiously */
|
||||
+ printf("#define DefaultLinuxCLibMajorVersion 6\n");
|
||||
+ printf("#define DefaultLinuxCLibMinorVersion 12\n");
|
||||
+ printf("#define DefaultLinuxCLibTeenyVersion 0\n");
|
||||
+ }
|
||||
}
|
||||
#endif
|
||||
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -0,0 +1,25 @@
|
||||
From 42e91e64378aad306614d1b9793933b83dcead6d Mon Sep 17 00:00:00 2001
|
||||
From: houlifei <houlifei@uniontech.com>
|
||||
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
|
||||
|
||||
@ -1,18 +0,0 @@
|
||||
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)
|
||||
|
||||
len = pclose (fp);
|
||||
remove (aout);
|
||||
- if (len)
|
||||
- abort ();
|
||||
+ if (len) {
|
||||
+ /* handwave furiously */
|
||||
+ printf("#define DefaultLinuxCLibMajorVersion 6\n");
|
||||
+ printf("#define DefaultLinuxCLibMinorVersion 12\n");
|
||||
+ printf("#define DefaultLinuxCLibTeenyVersion 0\n");
|
||||
+ }
|
||||
}
|
||||
#endif
|
||||
|
||||
Binary file not shown.
BIN
imake-1.0.9.tar.gz
Normal file
BIN
imake-1.0.9.tar.gz
Normal file
Binary file not shown.
33
imake.spec
33
imake.spec
@ -1,17 +1,19 @@
|
||||
Summary: imake source code configuration and build system
|
||||
Name: imake
|
||||
Version: 1.0.7
|
||||
Release: 16
|
||||
Version: 1.0.9
|
||||
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.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
|
||||
|
||||
Patch11: imake-1.0.2-abort.patch
|
||||
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,
|
||||
# <https://gitlab.freedesktop.org/xorg/util/cf/-/merge_requests/2>
|
||||
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
|
||||
|
||||
@ -31,8 +33,13 @@ Brunhoff at Tektronix.
|
||||
|
||||
%prep
|
||||
%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4
|
||||
|
||||
pushd xorg-cf-files-1.0.8
|
||||
%patch1 -p1 -b .ar
|
||||
popd
|
||||
|
||||
pushd %{name}-%{version}
|
||||
%patch11 -p1 -b .abort
|
||||
%patch2 -p1 -b .abort
|
||||
popd
|
||||
|
||||
%build
|
||||
@ -70,7 +77,13 @@ popd
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Thu Apr 3 2020 huanghaitao<huanghaitao8@huawei.com> - 1.0.7-17
|
||||
* Fri Jul 21 2023 houlifei <houlifei@uniontech.com> - 1.0.9-1
|
||||
- Upgrade to version 1.0.9
|
||||
|
||||
* Tue Jun 21 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.0.8-1
|
||||
- Upgrade to version 1.0.8
|
||||
|
||||
* Fri Apr 3 2020 huanghaitao<huanghaitao8@huawei.com> - 1.0.7-17
|
||||
- Delete patch
|
||||
|
||||
* Tue Dec 3 2019 caomeng<caomeng5@huawei.com> - 1.0.7-16
|
||||
|
||||
4
imake.yaml
Normal file
4
imake.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: git
|
||||
src_repo: https://gitlab.freedesktop.org/xorg/util/imake.git
|
||||
tag_prefix: imake-
|
||||
seperator: .
|
||||
Binary file not shown.
BIN
lndir-1.0.4.tar.gz
Normal file
BIN
lndir-1.0.4.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
BIN
makedepend-1.0.8.tar.gz
Normal file
BIN
makedepend-1.0.8.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
BIN
xorg-cf-files-1.0.8.tar.gz
Normal file
BIN
xorg-cf-files-1.0.8.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user