Source: jemalloc Version: 3.6.0-11 Severity: normal Tags: patch upstream fixed-upstream User: debian-ri...@lists.debian.org Usertags: riscv64 Forwarded: https://github.com/jemalloc/jemalloc/pull/1081
Hello, We need support in this package for RISC-V, to bootstrap the riscv64 architecture. Patches have been submitted upstream months ago, targetting development versions: https://github.com/jemalloc/jemalloc/commit/749caf14ae73a9ab1c48e538a8af09addbb35ee7 (the file was named differently before, I didn't bother to get the VCS history to chase all commits, but it's clear enough). Since we're still including older versions in unstable (and even experimental), and in Debian we can get by by defining LG_QUANTUM in d/rules, instead of patching the upstream source code I propose a patch for debian/rules instead, attached. It would be great if you could include it as a patch and release a new version for unstable. If we can help by NMUing the package or anything else, please let me/us know. Thanks and cheers. -- Manuel A. Fernandez Montecelo <m...@debian.org>
--- a/debian/rules 2017-08-25 17:51:57.000000000 +0200 +++ b/debian/rules 2018-03-07 22:41:08.615157261 +0100 @@ -6,7 +6,7 @@ include /usr/share/dpkg/architecture.mk include /usr/share/dpkg/pkg-info.mk -ifneq (,$(findstring $(DEB_HOST_ARCH),sh3 sparc sparc64)) +ifneq (,$(findstring $(DEB_HOST_ARCH),riscv64 sh3 sparc sparc64)) DEB_CPPFLAGS_MAINT_APPEND += -DLG_QUANTUM=4 endif