Bug#837001: Fix for the naspro-core FTBFS
Control: tags -1 +patch
readdir_r() is deprecated in glibc 2.24, and the result is a FTBFS
when a package both uses readdir_r() and builds with -Werror
This works around the issue by making deprecation warnings non-fatal.
--- debian/rules.old 2016-10-21 16:26:50.000000000 +0000
+++ debian/rules 2016-10-21 16:27:10.000000000 +0000
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
+export DEB_CFLAGS_MAINT_APPEND = -Wno-error=deprecated-declarations
+
export NATURALDOCS=/usr/bin/naturaldocs
%:
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
Reply to: