Adjust python to the moved bzip2-header.

* the header for bzip2 has been moved out of its subdir recently,
  so python was no longer building the bz2 module
This commit is contained in:
Oliver Tappe
2013-10-16 16:24:39 +02:00
parent 94877c4f68
commit 8d6506b5c9

View File

@@ -408,19 +408,6 @@ index ce4fbdc..aba9464 100644
SCRIPTDIR= $(prefix)/lib
# Detailed destination directories
diff --git a/Modules/bz2module.c b/Modules/bz2module.c
index cfd8d71..89d9002 100644
--- a/Modules/bz2module.c
+++ b/Modules/bz2module.c
@@ -9,7 +9,7 @@ Copyright (c) 2002 Python Software Foundation; All Rights Reserved
#include "Python.h"
#include <stdio.h>
-#include <bzlib.h>
+#include <bzip2/bzlib.h>
#include "structmember.h"
#ifdef WITH_THREAD
diff --git a/Modules/resource.c b/Modules/resource.c
index 9993b93..f8befde 100644
--- a/Modules/resource.c