Package: read-edid
Version: 2.0.0-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

Hello!

Since read-edid uses libx86 now, get-edid works on amd64.  I've requested
that read-edid gain amd64 on the p-a-s list (bug #534739), and the
attached patch turns on the build for amd64.

Thanks!

-Kees

-- 
Kees Cook                                            @debian.org
diff -u read-edid-2.0.0/Makefile.am read-edid-2.0.0/Makefile.am
--- read-edid-2.0.0/Makefile.am
+++ read-edid-2.0.0/Makefile.am
@@ -1,8 +1,8 @@
-if X86 
+#if X86 
 sbin_PROGRAMS = get-edid parse-edid
-else
-sbin_PROGRAMS = parse-edid
-endif
+#else
+#sbin_PROGRAMS = parse-edid
+#endif
 
 get_edid_SOURCES = get-edid.c
 get_edid_LDADD = -lx86
diff -u read-edid-2.0.0/debian/rules read-edid-2.0.0/debian/rules
--- read-edid-2.0.0/debian/rules
+++ read-edid-2.0.0/debian/rules
@@ -23,7 +23,7 @@
 build: configure build-stamp
 build-stamp:
 	dh_testdir
-ifeq ($(DEB_HOST_ARCH),i386)
+ifneq (,$(filter $(DEB_HOST_ARCH), i386 lpia amd64))
 	$(MAKE)
 else ifeq ($(DEB_HOST_ARCH),powerpc)
 	$(MAKE) parse-edid
@@ -56,7 +56,7 @@
 	dh_prep
 	dh_installdirs
 	install -m 755 -d debian/read-edid/usr/bin
-ifeq ($(DEB_HOST_ARCH),i386)
+ifneq (,$(filter $(DEB_HOST_ARCH), i386 lpia amd64))
 	install -m 755 -d debian/read-edid/usr/sbin
 	install -m 755 get-edid debian/read-edid/usr/sbin
 else ifeq ($(DEB_HOST_ARCH),powerpc)
diff -u read-edid-2.0.0/debian/control read-edid-2.0.0/debian/control
--- read-edid-2.0.0/debian/control
+++ read-edid-2.0.0/debian/control
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Maintainer: LIU Qi <liuq...@gmail.com>
-Build-Depends: debhelper (>= 7.0), texinfo, libx86-dev [i386], automake, autoconf 
+Build-Depends: debhelper (>= 7.0), texinfo, libx86-dev [i386 amd64 lpia], automake, autoconf
 Homepage: http://www.polypux.org/projects/read-edid/
 Standards-Version: 3.8.1
 

Reply via email to