Browse Source

Force CFLAGS to -I/usr/lib/pypy, to work around bug #799485.

Jelmer Vernooij 9 years ago
parent
commit
2a968e00d2
2 changed files with 5 additions and 1 deletions
  1. 3 0
      debian/changelog
  2. 2 1
      debian/rules

+ 3 - 0
debian/changelog

@@ -10,6 +10,9 @@ dulwich (0.11.2-1) UNRELEASED; urgency=medium
   * Fix python3 depends. Closes: #799185
   * Remove obsolete provides.
 
+  [ Jelmer Vernooij ]
+  * Force CFLAGS to -I/usr/lib/pypy, to work around bug #799485.
+
  -- Jelmer Vernooij <jelmer@debian.org>  Sat, 19 Sep 2015 00:19:21 +0000
 
 dulwich (0.11.1-1) unstable; urgency=medium

+ 2 - 1
debian/rules

@@ -14,7 +14,8 @@ pythonpath_dbg = $$(ls -d $(CURDIR)/build/lib_d.*-$(1) 2>/dev/null || ls -d $(CU
 
 override_dh_auto_build:
 	dh_auto_build
-	pypy setup.py build -b build-pypy
+	# Work around bug #799485
+	CFLAGS=-I/usr/lib/pypy pypy setup.py build -b build-pypy
 
 override_dh_auto_clean:
 	dh_auto_clean