-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'wip-testing' of https://github.com/sgidevnet/sgug-rse i…
…nto mach/revisit-tdnf
- Loading branch information
Showing
4 changed files
with
41 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- /usr/people/vladimir/tmp/mips-irix-tdep.c 2021-11-18 15:21:59.857384191 +0000 | ||
+++ gdb-7.6.2/gdb/mips-irix-tdep.c 2021-11-18 15:06:29.784909361 +0000 | ||
@@ -28,6 +28,10 @@ | ||
#include "trad-frame.h" | ||
#include "tramp-frame.h" | ||
|
||
+#ifndef ELFOSABI_IRIX | ||
+#define ELFOSABI_IRIX 8 | ||
+#endif | ||
+ | ||
static void | ||
mips_irix_elf_osabi_sniff_abi_tag_sections (bfd *abfd, asection *sect, | ||
void *obj) | ||
@@ -63,6 +67,9 @@ | ||
|
||
elfosabi = elf_elfheader (abfd)->e_ident[EI_OSABI]; | ||
|
||
+ if (elfosabi == ELFOSABI_IRIX) | ||
+ return GDB_OSABI_IRIX; | ||
+ | ||
if (elfosabi == ELFOSABI_NONE) | ||
{ | ||
/* When elfosabi is ELFOSABI_NONE (0), then the ELF structures in the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- tdnf-3.0.0-beta/client/plugins.c.orig 2021-11-19 14:57:30.307988836 +0000 | ||
+++ tdnf-3.0.0-beta/client/plugins.c 2021-11-19 14:57:15.299176437 +0000 | ||
@@ -197,7 +197,7 @@ | ||
} | ||
if (pPlugin->pModule) | ||
{ | ||
- dlclose(pPlugin->pModule); | ||
+ //dlclose(pPlugin->pModule); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Summary: dnf/yum equivalent using C libs | ||
Name: tdnf | ||
Version: 3.1.5 | ||
Release: 2%{?dist} | ||
Release: 3%{?dist} | ||
Vendor: VMware, Inc. | ||
Distribution: Photon | ||
License: LGPLv2.1,GPLv2 | ||
|
@@ -23,6 +23,7 @@ Patch106: cli-termios.sgifixes.patch | |
# mach's crappy interpolation patch | ||
# Patch106: tdnf-client-rpmtrans.sgifixes.patch | ||
# Patch107: tdnf-printfprecision.sgifixes.patch | ||
Patch108: tdnf-no-dlclose-plugins.patch | ||
|
||
Requires: rpm-libs | ||
Requires: libcurl | ||
|
@@ -116,7 +117,7 @@ rm cmake/FindOpenSSL.cmake | |
|
||
%build | ||
mkdir build && cd build | ||
export CFLAGS="-I%{_includedir}/libdicl-0.1 -DLIBDICL_NEED_GETOPT $RPM_OPT_FLAGS" | ||
export CFLAGS="-I%{_includedir}/libdicl-0.1 -DLIBDICL_NEED_GETOPT $RPM_OPT_FLAGS -g" | ||
export LDFLAGS="-ldicl-0.1 $RPM_LD_FLAGS" | ||
cmake \ | ||
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ | ||
|
@@ -190,7 +191,7 @@ find %{buildroot} -name '*.pyc' -delete | |
%config(noreplace) %{_sysconfdir}/%{name}/automatic.conf | ||
|
||
%changelog | ||
* Wed Nov 17 2021 David Stancu <[email protected]> - 3.1.5-2 | ||
* Wed Nov 17 2021 David Stancu <[email protected]> - 3.1.5-3 | ||
- rse update to 3.1.5 | ||
* Wed Oct 06 2021 Oliver Kurth <[email protected]> 3.1.5-1 | ||
- update to 3.1.5 | ||
|