Package: duma Version: 2.5.15-1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu karmic ubuntu-patch
In Ubuntu, we've applied the attached patch to achieve the following: * Fix FTBS: add CFLAGS+="-U_FORTIFY_SOURCE" in debian/rules since Ubuntu default -D_FORTIFY_SOURCE=2 clashes with duma overloading all standard memory allocation functions. We thought you might be interested in doing the same. This patch may be helpful for building the package with different default settings. -- System Information: Debian Release: 5.0 APT prefers jaunty-updates APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 'jaunty-proposed'), (500, 'jaunty-backports'), (500, 'jaunty') Architecture: i386 (i686) Kernel: Linux 2.6.28-12-generic (SMP w/2 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u duma-2.5.15/debian/rules duma-2.5.15/debian/rules --- duma-2.5.15/debian/rules +++ duma-2.5.15/debian/rules @@ -6,4 +6,6 @@ DEB_MAKE_INSTALL_TARGET=install prefix=$(DEB_DESTDIR)/usr +CFLAGS+="-U_FORTIFY_SOURCE" + cleanbuilddir:: rm -rf createconf createconf.o