]> git.pld-linux.org Git - packages/elfutils.git/commitdiff
x32 patch no longer needed
authorJan Palus <atler@pld-linux.org>
Tue, 26 Apr 2022 21:56:45 +0000 (23:56 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 26 Apr 2022 21:58:05 +0000 (23:58 +0200)
cache_* vars changed from time_t to long

elfutils.spec
x32.patch [deleted file]

index 826f9fdb6561ff1c775304072e0cddfcad34969a..f4b889f490b342f601e8e15d237213ff7e8b98cf 100644 (file)
@@ -18,7 +18,6 @@ Patch2:               %{name}-awk.patch
 Patch3:                %{name}-align.patch
 Patch4:                %{name}-paxflags.patch
 Patch5:                %{name}-sparc.patch
-Patch6:                x32.patch
 URL:           https://sourceware.org/elfutils/
 BuildRequires: autoconf >= 2.63
 BuildRequires: automake >= 1:1.11
@@ -182,7 +181,6 @@ Plik nagłówkowy biblioteki debuginfod.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
-%patch6 -p1
 
 %{__rm} po/stamp-po
 
diff --git a/x32.patch b/x32.patch
deleted file mode 100644 (file)
index 29ab02e..0000000
--- a/x32.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- elfutils-0.185/debuginfod/debuginfod-client.c.orig 2021-05-22 20:25:24.000000000 +0200
-+++ elfutils-0.185/debuginfod/debuginfod-client.c      2021-06-11 19:22:31.611417051 +0200
-@@ -267,7 +267,11 @@ debuginfod_init_cache (char *cache_path,
-   if (fd < 0)
-     return -errno;
-+#if defined(__x86_64__) && defined(__ILP32__)
-+  if (dprintf(fd, "%lld", cache_clean_default_interval_s) < 0)
-+#else
-   if (dprintf(fd, "%ld", cache_clean_default_interval_s) < 0)
-+#endif
-     return -errno;
-   /* init max age config file.  */
-@@ -275,7 +279,11 @@ debuginfod_init_cache (char *cache_path,
-       && (fd = open(maxage_path, O_CREAT | O_RDWR, DEFFILEMODE)) < 0)
-     return -errno;
-+#if defined(__x86_64__) && defined(__ILP32__)
-+  if (dprintf(fd, "%lld", cache_default_max_unused_age_s) < 0)
-+#else
-   if (dprintf(fd, "%ld", cache_default_max_unused_age_s) < 0)
-+#endif
-     return -errno;
-   return 0;
This page took 0.130739 seconds and 4 git commands to generate.