From d5efc8a0102f7470fef3120d6cf956f3e95d870f Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 17 Dec 2021 20:14:42 +0100 Subject: [PATCH] package/guile: drop first patch Drop first patch which is already included in guile since version 2.0.1: https://git.savannah.gnu.org/cgit/guile.git/commit/?id=ffd3e55cfd12a3559621e3130d613d319243512d Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- ...ch => 0001-calculate-csqrt_manually.patch} | 0 package/guile/0001-fix_arm_endianness.patch | 25 ------------------- ...efile.am-fix-build-without-makeinfo.patch} | 0 ...tem-base-target.scm-support-riscv32.patch} | 0 4 files changed, 25 deletions(-) rename package/guile/{0002-calculate-csqrt_manually.patch => 0001-calculate-csqrt_manually.patch} (100%) delete mode 100644 package/guile/0001-fix_arm_endianness.patch rename package/guile/{0003-Makefile.am-fix-build-without-makeinfo.patch => 0002-Makefile.am-fix-build-without-makeinfo.patch} (100%) rename package/guile/{0004-module-system-base-target.scm-support-riscv32.patch => 0003-module-system-base-target.scm-support-riscv32.patch} (100%) diff --git a/package/guile/0002-calculate-csqrt_manually.patch b/package/guile/0001-calculate-csqrt_manually.patch similarity index 100% rename from package/guile/0002-calculate-csqrt_manually.patch rename to package/guile/0001-calculate-csqrt_manually.patch diff --git a/package/guile/0001-fix_arm_endianness.patch b/package/guile/0001-fix_arm_endianness.patch deleted file mode 100644 index 67c0b606ee..0000000000 --- a/package/guile/0001-fix_arm_endianness.patch +++ /dev/null @@ -1,25 +0,0 @@ -Fix support for ARM endianness, otherwise it gives the error -"unknown CPU endianness" - -Signed-off-by: Pedro Aguilar - -diff -Nau guile-2.0.11.orig/module/system/base/target.scm guile-2.0.11/module/system/base/target.scm ---- guile-2.0.11.orig/module/system/base/target.scm 2013-02-28 09:42:45.000000000 +0100 -+++ guile-2.0.11/module/system/base/target.scm 2014-11-03 23:05:01.789338997 +0100 -@@ -70,7 +70,15 @@ - ((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu" - "mips" "mips64")) - (endianness big)) -- ((string-match "^arm.*el" cpu) -+ ((string-match "^arm.*el" cpu) -+ (endianness little)) -+ ((string-match "^arm.*eb" cpu) -+ (endianness big)) -+ ((string-prefix? "arm" cpu) ;ARMs are LE by default -+ (endianness little)) -+ ((string-match "^aarch64.*be" cpu) -+ (endianness big)) -+ ((string=? "aarch64" cpu) - (endianness little)) - (else - (error "unknown CPU endianness" cpu))))) diff --git a/package/guile/0003-Makefile.am-fix-build-without-makeinfo.patch b/package/guile/0002-Makefile.am-fix-build-without-makeinfo.patch similarity index 100% rename from package/guile/0003-Makefile.am-fix-build-without-makeinfo.patch rename to package/guile/0002-Makefile.am-fix-build-without-makeinfo.patch diff --git a/package/guile/0004-module-system-base-target.scm-support-riscv32.patch b/package/guile/0003-module-system-base-target.scm-support-riscv32.patch similarity index 100% rename from package/guile/0004-module-system-base-target.scm-support-riscv32.patch rename to package/guile/0003-module-system-base-target.scm-support-riscv32.patch