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

glondu pushed a commit to branch master
in repository ocaml-ctypes.

commit 4f2e2db4bca74c46e658359fa33d812a65ffa5a0
Author: Stephane Glondu <st...@glondu.net>
Date:   Fri Feb 12 12:39:06 2016 +0100

    Fix FTBFS on autobuilders
---
 ...se-CURDIR-instead-of-PWD-in-Makefile.test.patch | 25 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 26 insertions(+)

diff --git 
a/debian/patches/0001-Use-CURDIR-instead-of-PWD-in-Makefile.test.patch 
b/debian/patches/0001-Use-CURDIR-instead-of-PWD-in-Makefile.test.patch
new file mode 100644
index 0000000..be893f3
--- /dev/null
+++ b/debian/patches/0001-Use-CURDIR-instead-of-PWD-in-Makefile.test.patch
@@ -0,0 +1,25 @@
+From: Stephane Glondu <st...@glondu.net>
+Date: Fri, 12 Feb 2016 12:37:52 +0100
+Subject: Use $(CURDIR) instead of $(PWD) in Makefile.test
+
+The PWD variable is not guaranteed to exist, whereas CURDIR is
+implicitly defined by make. This fixes failures on Debian
+autobuilders.
+---
+ Makefile.tests | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.tests b/Makefile.tests
+index 99dea48..4465459 100644
+--- a/Makefile.tests
++++ b/Makefile.tests
+@@ -2,7 +2,7 @@
+ 
+ VPATH += tests
+ 
+-CFLAGS += -I $(PWD)/src/ctypes -I $(PWD)/tests
++CFLAGS += -I $(CURDIR)/src/ctypes -I $(CURDIR)/tests
+ 
+ # tests-common subproject
+ tests-common.dir = tests/tests-common
+-- 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..75bd98a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Use-CURDIR-instead-of-PWD-in-Makefile.test.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-ocaml-maint/packages/ocaml-ctypes.git

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to