[Pkg-opencl-devel] [beignet] 04/47: Imported Debian patch 0.0.0+git2013.04.01+d1b234c-4
Andreas Beckmann
anbe at moszumanska.debian.org
Fri Oct 31 21:45:46 UTC 2014
This is an automated email from the git hooks/post-receive script.
anbe pushed a commit to branch master
in repository beignet.
commit ee3ff5ecd21a5590781a2a65b0b4ccc93d2e2140
Author: Simon Richter <sjr at debian.org>
Date: Fri Apr 12 11:22:36 2013 +0200
Imported Debian patch 0.0.0+git2013.04.01+d1b234c-4
---
debian/changelog | 6 ++++++
debian/patches/glibc-memalign | 19 +++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 26 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 0038165..669a002 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+beignet (0.0.0+git2013.04.01+d1b234c-4) unstable; urgency=low
+
+ * Build fix for kfreebsd-*
+
+ -- Simon Richter <sjr at debian.org> Fri, 12 Apr 2013 11:22:36 +0200
+
beignet (0.0.0+git2013.04.01+d1b234c-3) unstable; urgency=low
* Adjust Build-Depends, Architecture list
diff --git a/debian/patches/glibc-memalign b/debian/patches/glibc-memalign
new file mode 100644
index 0000000..cbb25b7
--- /dev/null
+++ b/debian/patches/glibc-memalign
@@ -0,0 +1,19 @@
+commit 3be62a8aacd8cd18484b381ab9536160c7de7119
+Author: Simon Richter <Simon.Richter at hogyros.de>
+Date: Fri Apr 12 11:21:19 2013 +0200
+
+ Accept glibc's implementation of memalign()
+
+Index: beignet-0.0.0+git2013.04.01+d1b234c/backend/src/sys/alloc.cpp
+===================================================================
+--- beignet-0.0.0+git2013.04.01+d1b234c.orig/backend/src/sys/alloc.cpp 2013-03-29 11:40:11.000000000 +0100
++++ beignet-0.0.0+git2013.04.01+d1b234c/backend/src/sys/alloc.cpp 2013-04-12 11:22:24.421303851 +0200
+@@ -271,7 +271,7 @@
+ /// Linux Platform
+ ////////////////////////////////////////////////////////////////////////////////
+
+-#if defined(__LINUX__)
++#if defined(__LINUX__) || defined(__GLIBC__)
+
+ #include <unistd.h>
+ #include <sys/mman.h>
diff --git a/debian/patches/series b/debian/patches/series
index 29353dc..23d5ea9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ implement-gefa
missing-header
respect-flags
device-info-query
+glibc-memalign
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/beignet.git
More information about the Pkg-opencl-devel
mailing list