Package: opencl-headers Version: 1.2-2012.04.18-1 Severity: important Tags: patch
Hi, In debian/rules, target "get-orig-source", the cl.hpp headers is downloaded from the (forced) api 1.1 whereas it has been update for api 1.2 http://www.khronos.org/registry/cl/api/1.1/cl.hpp http://www.khronos.org/registry/cl/api/1.2/cl.hpp Please, update this file. In the long term, the simpler fix is probably to remove the specific case of headers_hpp and put cl.hpp into headers_1.1 But, for now, this would lead to two different upstream tarballs. So, in addition, a suffix is required. Regards, Vincent -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.3.0-trunk-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- no debconf information
diff --git a/debian/rules b/debian/rules index 2d40d55..9971835 100755 --- a/debian/rules +++ b/debian/rules @@ -5,20 +5,17 @@ api = 1.2 headers_1.0 = opencl.h cl_platform.h cl.h cl_ext.h cl_d3d10.h cl_gl.h cl_gl_ext.h -headers_1.1 = $(headers_1.0) +headers_1.1 = $(headers_1.0) cl.hpp headers_1.2 = $(headers_1.1) cl_dx9_media_sharing.h cl_d3d11.h -headers_hpp = cl.hpp -src_dir = khronos-opencl-headers-$(api).orig -src_file = khronos-opencl-headers-$(api).tar.gz +fix_version_1.2 = +fix1 +src_dir = khronos-opencl-headers-$(api)$(fix_version_$(api)).orig +src_file = khronos-opencl-headers-$(api)$(fix_version_$(api)).tar.gz get-orig-source: rm -rf $(src_dir) mkdir $(src_dir) set -e; cd $(src_dir) ; \ for h in $(headers_$(api)) ; do \ wget http://www.khronos.org/registry/cl/api/$(api)/$$h ; \ - done ; \ - for h in $(headers_hpp) ; do \ - wget http://www.khronos.org/registry/cl/api/1.1/$$h ; \ done tar cfz $(src_file) --owner=root --group=src $(src_dir) rm -rf $(src_dir)