[mednafen] 04/07: Allow building with multiple installed versions of liblzo2-dev.

Stephen Kitt skitt at moszumanska.debian.org
Sun Jul 24 18:56:44 UTC 2016


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

skitt pushed a commit to branch master
in repository mednafen.

commit 40db96509754cc84a55318490fd38f0ea51e86ba
Author: Stephen Kitt <steve at sk2.org>
Date:   Sun Jul 24 18:56:57 2016 +0200

    Allow building with multiple installed versions of liblzo2-dev.
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 45039f4..2b8d306 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ mednafen (0.9.38.7+dfsg-2) UNRELEASED; urgency=medium
   * Disambiguate a call to abs() to allow building with GCC 6 (closes:
     #831205).
   * Fix spelling of "occured".
+  * Allow building with multiple installed versions of liblzo2-dev.
 
  -- Stephen Kitt <skitt at debian.org>  Fri, 22 Jan 2016 19:02:45 +0100
 
diff --git a/debian/rules b/debian/rules
index e46afb1..2455874 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-liblzo2_source := $(shell dpkg-query -W -f='$${source:Package} (= $${source:Version})' liblzo2-dev)
+liblzo2_source := $(shell dpkg-query -W -f='$${source:Package} (= $${source:Version})\n' liblzo2-dev | head -n 1)
 
 
 %:

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



More information about the Pkg-games-commits mailing list