[libclang-perl] 01/03: Create patch to use clang-3.8 instead of clang-3.5
Lucas Kanashiro
kanashiro.duarte at gmail.com
Wed Nov 4 19:08:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
kanashiro-guest pushed a commit to branch master
in repository libclang-perl.
commit 8b6e37892df10260da5f8498ebe23093a9e7e86d
Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
Date: Wed Nov 4 16:56:40 2015 -0200
Create patch to use clang-3.8 instead of clang-3.5
---
debian/changelog | 6 ++++++
debian/patches/series | 1 +
debian/patches/use-clang-3.8.patch | 30 ++++++++++++++++++++++++++++++
3 files changed, 37 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index b2d51d7..aa3d691 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libclang-perl (0.09-3) unstable; urgency=low
+
+ * Add patch to use clang-3.8 instead of 3.5 (Closes: #803645)
+
+ -- Lucas Kanashiro <kanashiro.duarte at gmail.com> Sat, 04 Nov 2015 16:59:38 -0300
+
libclang-perl (0.09-2) unstable; urgency=medium
* Team upload.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..cb5b514
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-clang-3.8.patch
diff --git a/debian/patches/use-clang-3.8.patch b/debian/patches/use-clang-3.8.patch
new file mode 100644
index 0000000..226c524
--- /dev/null
+++ b/debian/patches/use-clang-3.8.patch
@@ -0,0 +1,30 @@
+Description: use clang-3.8 instead of clang-3.5
+ clang-3.5 will be removed from Debian archive and libclang-perl depends on
+ it. So, this patch use clang-3.8 instead of clang-3.5
+Forwarded: yes
+Bug: https://github.com/ghedo/p5-Clang/pull/8
+Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
+Last-Update: 2015-11-04
+
+--- a/inc/MakeMaker.pm
++++ b/inc/MakeMaker.pm
+@@ -8,7 +8,7 @@ extends 'Dist::Zilla::Plugin::MakeMaker:
+ override _build_MakeFile_PL_template => sub {
+ my ($self) = @_;
+ my $template = "use Devel::CheckLib;\n";
+- $template .= "check_lib_or_exit(libpath => '/usr/lib/llvm-3.5/lib', lib => 'clang');\n";
++ $template .= "check_lib_or_exit(libpath => '/usr/lib/llvm-3.8/lib', lib => 'clang');\n";
+
+ return $template.super();
+ };
+@@ -16,8 +16,8 @@ override _build_MakeFile_PL_template =>
+ override _build_WriteMakefile_args => sub {
+ return +{
+ %{ super() },
+- LIBS => '-L/usr/lib/llvm-3.5/lib -lclang',
+- INC => '-I. -I/usr/lib/llvm-3.5/include',
++ LIBS => '-L/usr/lib/llvm-3.8/lib -lclang',
++ INC => '-I. -I/usr/lib/llvm-3.8/include',
+ OBJECT => '$(O_FILES)',
+ }
+ };
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclang-perl.git
More information about the Pkg-perl-cvs-commits
mailing list