ndndump: Fix compilation issue
diff --git a/ndndump/Makefile b/ndndump/Makefile
index 1092c97..86bf867 100644
--- a/ndndump/Makefile
+++ b/ndndump/Makefile
@@ -2,15 +2,15 @@
GIT_URL=https://github.com/named-data/ndndump
# Tag name or commit hash for checkout
-GIT_VERSION=483aae5f92fb9beb9fd883424b3aa28bcb8ce822
+GIT_VERSION=0ce60362a285f42cf2ecbeea8cff0c7919d28d72
# Package name
NAME=ndndump
# Package version
-VERSION=0.5.2
+VERSION=0.5.3
# PPA version
-PPA_VERSION=2
+PPA_VERSION=4
include ../packaging.mk
diff --git a/ndndump/debian/changelog b/ndndump/debian/changelog
index a4ee43c..9d8ebdb 100644
--- a/ndndump/debian/changelog
+++ b/ndndump/debian/changelog
@@ -1,3 +1,31 @@
+ndndump (0.5.3-ppa4~DISTRO) DISTRO; urgency=low
+
+ * New version based on 0ce60362a285f42cf2ecbeea8cff0c7919d28d72
+ (https://github.com/named-data/ndndump)
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu> Thu, 18 Dec 2014 23:14:22 -0800
+
+ndndump (0.5.3-ppa3~DISTRO) DISTRO; urgency=low
+
+ * New version based on 0ce60362a285f42cf2ecbeea8cff0c7919d28d72
+ (https://github.com/named-data/ndndump)
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu> Thu, 18 Dec 2014 23:08:47 -0800
+
+ndndump (0.5.3-ppa2~DISTRO) DISTRO; urgency=low
+
+ * New version based on 0ce60362a285f42cf2ecbeea8cff0c7919d28d72
+ (https://github.com/named-data/ndndump)
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu> Thu, 18 Dec 2014 23:05:16 -0800
+
+ndndump (0.5.3-ppa1~DISTRO) DISTRO; urgency=low
+
+ * New version based on 0ce60362a285f42cf2ecbeea8cff0c7919d28d72
+ (https://github.com/named-data/ndndump)
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu> Thu, 18 Dec 2014 22:57:08 -0800
+
ndndump (0.5.2-ppa2~DISTRO) DISTRO; urgency=low
* New version based on 483aae5f92fb9beb9fd883424b3aa28bcb8ce822
diff --git a/ndndump/debian/rules b/ndndump/debian/rules
index 79f988d..a136bd9 100755
--- a/ndndump/debian/rules
+++ b/ndndump/debian/rules
@@ -10,12 +10,14 @@
# export DH_VERBOSE=1
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
+CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
+CXXFLAGS += -std=c++11
%:
dh $@ --parallel
override_dh_auto_configure:
- ./waf configure --prefix=/usr
+ CXXFLAGS="$(CXXFLAGS)" LINKFLAGS="$(LDFLAGS)" ./waf configure --prefix=/usr
override_dh_auto_build:
./waf build
diff --git a/ndndump/debian/rules.precise b/ndndump/debian/rules.precise
new file mode 100755
index 0000000..5c20f62
--- /dev/null
+++ b/ndndump/debian/rules.precise
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+# export DH_VERBOSE=1
+
+LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
+CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
+CXXFLAGS += -std=c++0x
+
+%:
+ dh $@ --parallel
+
+override_dh_auto_configure:
+ CXXFLAGS="$(CXXFLAGS)" LINKFLAGS="$(LDFLAGS)" ./waf configure --prefix=/usr
+
+override_dh_auto_build:
+ ./waf build
+
+override_dh_auto_install:
+ ./waf install --destdir=debian/tmp
+
+override_dh_auto_clean:
+ ./waf distclean
+
+override_dh_clean:
+ dh_clean
+ ./waf distclean
+ rm -rf .waf-1*
+ rm -rf .waf3-1*
+ rm -f .waf-tools/*.pyc
+
+override_dh_auto_test: