File 0006-zypp-set-CXXFLAGS-and-use-std-c-0x-as-libzypp-does-b.patch of Package PackageKit

From 4c83afd82f9a7161f2a878fef9d82bde447eeb13 Mon Sep 17 00:00:00 2001
From: Michael Andres <ma@suse.de>
Date: Fri, 6 Jul 2012 11:39:15 +0200
Subject: [PATCH 6/9] zypp: set CXXFLAGS and use --std=c++0x as libzypp does
 (bnc#769764)

---
 backends/zypp/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

diff --git a/backends/zypp/Makefile.am b/backends/zypp/Makefile.am
index 4465910..afee825 100644
--- a/backends/zypp/Makefile.am
+++ b/backends/zypp/Makefile.am
@@ -10,6 +10,7 @@ libpk_backend_zypp_la_SOURCES =		\
 libpk_backend_zypp_la_LIBADD = $(PK_PLUGIN_LIBS)
 libpk_backend_zypp_la_LDFLAGS = -module -avoid-version $(ZYPP_LIBS)
 libpk_backend_zypp_la_CFLAGS = $(PK_PLUGIN_CFLAGS) $(WARNINGFLAGS_CPP)
+libpk_backend_zypp_la_CXXFLAGS = $(PK_PLUGIN_CXXFLAGS) --std=c++0x -Wall -Woverloaded-virtual -Wnon-virtual-dtor
 libpk_backend_zypp_la_CPPFLAGS = $(PK_PLUGIN_CFLAGS) $(ZYPP_CFLAGS) -Wno-deprecated
 
 EXTRA_DIST =		\
-- 
1.7.10.4