[Pkg-ofed-commits] [qlvnictools] 03/04: Imported Debian patch 0.0.1-2

Ana Beatriz Guerrero López ana at moszumanska.debian.org
Wed Jul 2 14:38:21 UTC 2014


This is an automated email from the git hooks/post-receive script.

ana pushed a commit to branch master
in repository qlvnictools.

commit 794d7f88d4ca0c0345cf8fc048f2d0660841eedd
Author: Roland Dreier <rbd at debian.org>
Date:   Mon Jan 14 10:36:54 2013 -0800

    Imported Debian patch 0.0.1-2
---
 debian/changelog                               |  7 +++++++
 debian/control                                 |  2 +-
 debian/patches/01-add-include-for-ntohll.patch | 17 +++++++++++++++++
 debian/patches/series                          |  1 +
 debian/rules                                   |  9 ++-------
 debian/source/format                           |  1 +
 6 files changed, 29 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b0e78b0..b15d93d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+qlvnictools (0.0.1-2) experimental; urgency=low
+
+  * 01-add-include-for-ntohll.patch: Add upstream include to fix FTBFS
+    due to missing declaration of ntohll().
+
+ -- Roland Dreier <rbd at debian.org>  Mon, 14 Jan 2013 10:36:54 -0800
+
 qlvnictools (0.0.1-1) unstable; urgency=low
 
   [Guy Coates]
diff --git a/debian/control b/debian/control
index 9d7fc4e..d1033cc 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: net
 Priority: extra
 Maintainer: OFED and Debian Developement and Discussion <pkg-ofed-devel at lists.alioth.debian.org>
 Uploaders: Benoit Mortier <benoit.mortier at opensides.be>, Guy Coates <gmpc at sanger.ac.uk>, Mario Lang <mlang at debian.org>
-Build-Depends: debhelper (>= 7), libibumad-dev, libibcommon-dev
+Build-Depends: debhelper (>= 7), libibumad-dev, libibcommon-dev, libibverbs-dev
 Standards-Version: 3.8.4
 Homepage: http://www.openfabrics.org
 DM-Upload-Allowed: yes
diff --git a/debian/patches/01-add-include-for-ntohll.patch b/debian/patches/01-add-include-for-ntohll.patch
new file mode 100644
index 0000000..fb4138e
--- /dev/null
+++ b/debian/patches/01-add-include-for-ntohll.patch
@@ -0,0 +1,17 @@
+Author: Ramachandra Kuchimanchi <ramachandrak at hosting.openfabrics.org>
+Description: QLogic VNIC: Add #include <infiniband/arch.h> to resolve reference to ntohll
+Origin: upstream, http://git.openfabrics.org/git?p=~ramachandrak%2Fqlvnictools.git;a=commitdiff_plain;h=e27eef767dd4bdd5a035225a25e89b919796e884
+
+diff --git a/ibvexdmtools/src/ib-vexdm.c b/ibvexdmtools/src/ib-vexdm.c
+index f863136..2e37ab2 100644
+--- a/ibvexdmtools/src/ib-vexdm.c
++++ b/ibvexdmtools/src/ib-vexdm.c
+@@ -51,6 +51,7 @@
+ #include <byteswap.h>
+ #include <errno.h>
+ #include <getopt.h>
++#include <infiniband/arch.h>
+ #include <infiniband/umad.h>
+ 
+ #include "ib-vexdm.h"
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..50735c5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-add-include-for-ntohll.patch
diff --git a/debian/rules b/debian/rules
index d84314c..c8c5b7c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,19 +9,14 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-
-
-
-
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
 	# Add here commands to configure the package.
-	cd qlgc_vnic_daemon ; ./configure --prefix=/usr --mandir=\$${prefix}/share/man
-	cd ibvexdmtools ; ./configure --prefix=/usr --mandir=\$${prefix}/share/man 
+	cd qlgc_vnic_daemon ; ./configure --prefix=/usr --mandir=\$${prefix}/share/man $(shell dpkg-buildflags --export=configure)
+	cd ibvexdmtools ; ./configure --prefix=/usr --mandir=\$${prefix}/share/man $(shell dpkg-buildflags --export=configure)
 	touch configure-stamp
 
-
 build: build-stamp
 
 build-stamp: configure-stamp  
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/qlvnictools.git



More information about the Pkg-ofed-commits mailing list