Description: Use signed chars on all architectures
 It looks like this package except char to be signed, like on linux/amd64 and
 OSX/arm64.  However, char is unsigned on linux/arm64 and elsewhere.  This
 patch passes -fsigned-char to the compiler to use signed chars on all
 architectures.
Author: Charles Plessy <plessy@debian.org>
Bug-Debian: https://bugs.debian.org/1064135
Forwarded: https://github.com/kaneplusplus/bigmemory/issues/115
Last-Update: 2025-05-12

--- r-cran-bigmemory-4.6.4.orig/configure
+++ r-cran-bigmemory-4.6.4/configure
@@ -39,3 +39,4 @@ fi
 
 echo "${FLAGS}" > src/Makevars
 echo "${LIBS}" >> src/Makevars
+echo "PKG_CXXFLAGS=-fsigned-char" >> src/Makevars
