Bug#118381: kfilereplace: kfilereplace.cpp needs stdlib.h
Package: kfilereplace
Version: 0.6.1-7.1
Severity: important
Tags: patch
With newer versions of g++ one needs to include <stdlib.h> to use
exit(3). Here is a patch which will allow kfilereplace to build
on ia64, and possibly other architectures.
diff -Naur kfilereplace-0.6.1.orig/kfilereplace/kfilereplace.cpp kfilereplace-0.6.1/kfilereplace/kfilereplace.cpp
--- kfilereplace-0.6.1.orig/kfilereplace/kfilereplace.cpp Thu Mar 29 17:05:45 2001
+++ kfilereplace-0.6.1/kfilereplace/kfilereplace.cpp Mon Nov 5 19:46:44 2001
@@ -62,6 +62,7 @@
#include <unistd.h>
#include <stdio.h>
#include <stdarg.h>
+#include <stdlib.h>
// Global Thread data
bool g_bThreadRunning = false;
I hope to hear from you soon. If I receive no word I will NMU
kfilereplace to fix this bug in seven days time, as per the
guidelines set for porters in the Debian Developer's Reference.
Thank you.
--
Doug Porter <dsp@waterspout.com>
Reply to: