commit b024d7d720a2527766ea4149d3e835793e73635b
Author: Jan Palus <[email protected]>
Date:   Tue Apr 26 23:56:45 2022 +0200

    x32 patch no longer needed
    
    cache_* vars changed from time_t to long

 elfutils.spec |  2 --
 x32.patch     | 26 --------------------------
 2 files changed, 28 deletions(-)
---
diff --git a/elfutils.spec b/elfutils.spec
index 826f9fd..f4b889f 100644
--- a/elfutils.spec
+++ b/elfutils.spec
@@ -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
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;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/elfutils.git/commitdiff/b024d7d720a2527766ea4149d3e835793e73635b

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to