[libx11-guitest-perl] 07/09: new useless-dependency-on-libXext.patch
Florian Schlichting
fsfs at alioth.debian.org
Tue Aug 27 20:56:30 UTC 2013
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to branch master
in repository libx11-guitest-perl.
commit 40d5871d209b90427919aa7853e642c30462a5e6
Author: Florian Schlichting <fsfs at debian.org>
Date: Tue Aug 27 22:52:09 2013 +0200
new useless-dependency-on-libXext.patch
---
debian/patches/series | 1 +
debian/patches/useless-dependency-on-libXext.patch | 18 ++++++++++++++++++
2 files changed, 19 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 42ad5bf..b088e2f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
01-fix-spelling-error.diff
+useless-dependency-on-libXext.patch
ccflags.patch
diff --git a/debian/patches/useless-dependency-on-libXext.patch b/debian/patches/useless-dependency-on-libXext.patch
new file mode 100644
index 0000000..007fa9b
--- /dev/null
+++ b/debian/patches/useless-dependency-on-libXext.patch
@@ -0,0 +1,18 @@
+Description: do not link against libXext, we use none of its symbols
+Author: Florian Schlichting <fsfs at debian.org>
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=88194
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -46,9 +46,9 @@
+ my $un = `uname -a 2>&1` || "";
+ if ($un =~ /x86_64|amd64/i && $un !~ /OpenBSD/) {
+ # In case of x64, lets make sure we use x64 libs, system might have both.
+- return ['-L/usr/X11R6/lib64 -L/usr/X/lib64 -lXtst -lXext -lX11'];
++ return ['-L/usr/X11R6/lib64 -L/usr/X/lib64 -lXtst -lX11'];
+ } else {
+- return ['-L/usr/X11R6/lib -L/usr/X/lib -lXtst -lXext -lX11'];
++ return ['-L/usr/X11R6/lib -L/usr/X/lib -lXtst -lX11'];
+ }
+ }
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libx11-guitest-perl.git
More information about the Pkg-perl-cvs-commits
mailing list