diff --git a/ignore-auxv.diff b/ignore-auxv.diff index 6728aa0..b48a338 100644 --- a/ignore-auxv.diff +++ b/ignore-auxv.diff @@ -1,10 +1,10 @@ ---- ./lib/rpmrc.c.orig 2014-02-05 13:04:02.000000000 +0000 -+++ ./lib/rpmrc.c 2014-02-20 12:37:28.209816551 +0000 -@@ -83,10 +83,12 @@ struct rpmOption { +--- ./lib/rpmrc.c.orig 2014-07-03 15:11:48.572096075 +0000 ++++ ./lib/rpmrc.c 2014-09-17 12:04:27.330717791 +0000 +@@ -79,10 +79,12 @@ struct rpmOption { int localize; }; -+#if defined(__linux__) && defined(__powerpc__) ++#if defined(__linux__) && (defined(__powerpc__) || defined(__sparc__) || (defined(__arm__) && defined(__ARM_PCS_VFP))) static struct rpmat_s { const char *platform; uint64_t hwcap; @@ -13,21 +13,21 @@ typedef struct defaultEntry_s { char * name; -@@ -914,7 +916,7 @@ static int is_geode(void) +@@ -936,7 +938,7 @@ static int is_geode(void) #endif -#if defined(__linux__) -+#if defined(__linux__) && defined(__powerpc__) ++#if defined(__linux__) && (defined(__powerpc__) || defined(__sparc__) || (defined(__arm__) && defined(__ARM_PCS_VFP))) /** * Populate rpmat structure with auxv values */ -@@ -971,7 +973,7 @@ static void defaultMachine(const char ** +@@ -993,7 +995,7 @@ static void defaultMachine(rpmrcCtx ctx, canonEntry canon; int rc; -#if defined(__linux__) -+#if defined(__linux__) && defined(__powerpc__) ++#if defined(__linux__) && (defined(__powerpc__) || defined(__sparc__) || (defined(__arm__) && defined(__ARM_PCS_VFP))) /* Populate rpmat struct with hw info */ read_auxv(); #endif