Package: shaperd
Version: 0.2.1-5.1
Severity: normal
Tags: patch
Hi,
Attached is the diff for my shaperd 0.2.1-5.2 NMU.
diff -u shaperd-0.2.1/src/main.cpp shaperd-0.2.1/src/main.cpp
--- shaperd-0.2.1/src/main.cpp
+++ shaperd-0.2.1/src/main.cpp
@@ -7,6 +7,7 @@
#include <queue>
#include <stdio.h>
#include <string.h>
+#include <cstdlib>
extern "C" {
#include <errno.h>
diff -u shaperd-0.2.1/debian/changelog shaperd-0.2.1/debian/changelog
--- shaperd-0.2.1/debian/changelog
+++ shaperd-0.2.1/debian/changelog
@@ -1,3 +1,11 @@
+shaperd (0.2.1-5.2) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTBFS with GCC 4.3 (Closes: #461704).
+ * Add LSB header to init script (Closes: #468750).
+
+ -- Luk Claes <[EMAIL PROTECTED]> Sun, 09 Mar 2008 17:17:03 +0000
+
shaperd (0.2.1-5.1) unstable; urgency=high
* Non-maintainer upload.
diff -u shaperd-0.2.1/debian/shaperd.init shaperd-0.2.1/debian/shaperd.init
--- shaperd-0.2.1/debian/shaperd.init
+++ shaperd-0.2.1/debian/shaperd.init
@@ -2,6 +2,14 @@
# /etc/init.d/shaperd
# (C) 2001. RISKO Gergely (based on skeleton example)
+### BEGIN INIT INFO
+# Provides: shaperd
+# Required-Start: $remote_fs $syslog
+# Required-Stop: $remote_fs $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+### END INIT INFO
+
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/shaperd
NAME=shaperd
only in patch2:
unchanged:
--- shaperd-0.2.1.orig/src/bwadm.hpp
+++ shaperd-0.2.1/src/bwadm.hpp
@@ -2,7 +2,9 @@
#define _BWADM_HPP_
#include "time.hpp"
-#include <list.h>
+#include <list>
+
+using namespace std;
struct classinfo {
public: