]> git.pld-linux.org Git - packages/gdb.git/blobdiff - buildid-locate-rpm-pld.patch
- fix build on x32
[packages/gdb.git] / buildid-locate-rpm-pld.patch
index 2a420393eafa3d97dcb532191e0e1a2fbd3e393e..a5712820f94e3982f338c72fee45fefcad2dcd01 100644 (file)
@@ -1,12 +1,16 @@
---- gdb-7.5.0.20120926/gdb/elfread.c.orig      2012-11-18 20:50:42.844619396 +0100
-+++ gdb-7.5.0.20120926/gdb/elfread.c   2012-11-18 20:52:37.756554669 +0100
-@@ -2177,9 +2177,8 @@
+--- gdb-7.7.1/gdb/build-id.c.old       2014-06-05 14:31:11.000000000 +0200
++++ gdb-7.7.1/gdb/build-id.c   2014-06-05 14:33:12.248235380 +0200
+@@ -1190,13 +1190,8 @@
        fprintf_unfiltered (gdb_stdlog,
                            _("Missing separate debuginfo for %s\n"), binary);
          if (debug != NULL)
 -        fprintf_unfiltered (gdb_stdlog, _("Try: %s %s\n"),
--                            "yum --disablerepo='*' --enablerepo='*debug*'"
--                            " install", debug);
+-#ifdef DNF_DEBUGINFO_INSTALL
+-                            "dnf"
+-#else
+-                            "yum"
+-#endif
+-                            " --enablerepo='*debug*' install", debug);
 +        fprintf_unfiltered (gdb_stdlog, _("Try to install package that provides `%s' file\n"),
 +                            debug);
        }
This page took 0.042344 seconds and 4 git commands to generate.