[Pkg-voip-commits] [yate] 03/03: fix pkg-config-bad-directive error
Victor Seva Lopez
maniac-guest at moszumanska.debian.org
Wed Aug 12 13:10:48 UTC 2015
This is an automated email from the git hooks/post-receive script.
maniac-guest pushed a commit to branch master
in repository yate.
commit 336309eec51cfa88616dcfc5e8cb9b72809c5cc6
Author: Victor Seva <vseva at sipwise.com>
Date: Wed Aug 12 14:34:40 2015 +0200
fix pkg-config-bad-directive error
---
debian/patches/pkg-config-bad-directive.patch | 10 ++++++++++
debian/patches/series | 1 +
2 files changed, 11 insertions(+)
diff --git a/debian/patches/pkg-config-bad-directive.patch b/debian/patches/pkg-config-bad-directive.patch
new file mode 100644
index 0000000..c46ccd2
--- /dev/null
+++ b/debian/patches/pkg-config-bad-directive.patch
@@ -0,0 +1,10 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -233,6 +233,7 @@
+ install -m 0644 @srcdir@/docs/man/$$i "$(DESTDIR)$(mandir)/man8/" ; \
+ done
+ @mkdir -p "$(DESTDIR)$(libdir)/pkgconfig/" && \
++ sed -i -e 's/-fno-check-new //g' -e 's/-fPIC //g' yate.pc && \
+ install -m 0644 yate.pc "$(DESTDIR)$(libdir)/pkgconfig/"
+ @mkdir -p "$(DESTDIR)$(incdir)/" && \
+ for i in $(INCS) ; do \
diff --git a/debian/patches/series b/debian/patches/series
index 72ec1a0..9f47ecb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ warning-unknown-architecture.patch
0002-Compile-daemon-as-PIE.patch
yate-r5911.patch
yate-r5927.patch
+pkg-config-bad-directive.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/yate.git
More information about the Pkg-voip-commits
mailing list