- add ignore-auxv.diff:

* avoid auxv parsing for any platform other than powerpc
- add config-guess-sub-update.diff
  * update config.guess/sub for aarch64 support

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=249
This commit is contained in:
2013-02-20 17:32:28 +00:00
committed by Git OBS Bridge
parent d8f9c1315a
commit b688b17ada
5 changed files with 1208 additions and 1 deletions

33
ignore-auxv.diff Normal file
View File

@@ -0,0 +1,33 @@
--- lib/rpmrc.c
+++ lib/rpmrc.c
@@ -79,10 +79,12 @@
int localize;
};
+#if defined(__linux__) && defined(__powerpc__)
static struct rpmat_s {
const char *platform;
uint64_t hwcap;
} rpmat;
+#endif
typedef struct defaultEntry_s {
char * name;
@@ -907,7 +909,7 @@
#endif
-#if defined(__linux__)
+#if defined(__linux__) && defined(__powerpc__)
/**
* Populate rpmat structure with parsed info from /proc/self/auxv
*/
@@ -957,7 +959,7 @@
canonEntry canon;
int rc;
-#if defined(__linux__)
+#if defined(__linux__) && defined(__powerpc__)
/* Populate rpmat struct with hw info */
parse_auxv();
#endif