ports/180338: devel/opencl: new hashes (distinfo), minor changes
O. Hartmann
ohartman at zedat.fu-berlin.de
Sun Jul 28 09:00:01 UTC 2013
The following reply was made to PR ports/180338; it has been noted by GNATS.
From: "O. Hartmann" <ohartman at zedat.fu-berlin.de>
To: bug-followup at FreeBSD.org, ohartman at zedat.fu-berlin.de
Cc:
Subject: Re: ports/180338: devel/opencl: new hashes (distinfo), minor
changes
Date: Sun, 28 Jul 2013 10:56:02 +0200
--Sig_/oTY7=jFdIXNIwqg2O7BQnaD
Content-Type: multipart/mixed; boundary="MP_/G8mB5PxR/Czu1_MmdfCByAt"
--MP_/G8mB5PxR/Czu1_MmdfCByAt
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Too late, I realized that there is a mismatch in the patch itself I
sent over to the PR system, so find attached another patch that cleans
up the mess. I'm sorry for the noise.
I checked the following patch against the official port devel/opencl
which exists in the port's system and it worked for me on FreeBSD
10.0-CURRENT and 9.2-PRE.
Regards,
Oliver
--MP_/G8mB5PxR/Czu1_MmdfCByAt
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=opencl_patch_2.txt
diff -Nur opencl.orig/Makefile opencl/Makefile
--- opencl.orig/Makefile 2013-07-28 10:47:31.257914535 +0200
+++ opencl/Makefile 2013-07-28 10:51:56.373477017 +0200
@@ -3,7 +3,7 @@
=20
PORTNAME=3D opencl
PORTVERSION=3D 1.2
-PORTREVISION=3D 2
+PORTREVISION=3D 4
CATEGORIES=3D devel
MASTER_SITES=3D http://www.khronos.org/registry/cl/api/${PORTVERSION}/
DISTFILES=3D opencl.h cl_platform.h cl.h cl_ext.h cl_dx9_media_sharing.h \
@@ -12,21 +12,27 @@
EXTRACT_ONLY=3D
=20
MAINTAINER=3D ohartman at zedat.fu-berlin.de
-COMMENT=3D Open Computing Language (OpenCL) specifications V1.2
+COMMENT=3D Open Computing Language (OpenCL) specifications V1.2 (header fi=
les)
=20
CONFLICTS=3D opencl-1.[0-1]
=20
NO_BUILD=3D yes
-NO_WRKSUBDIR=3D yes
=20
-PLIST_DIRS=3D include/CL
+PLIST_DIRS+=3D include/CL
.for f in ${DISTFILES}
PLIST_FILES+=3Dinclude/CL/$f
.endfor
=20
+pre-patch:
+ @${MKDIR} ${WRKSRC}
+.for f in ${DISTFILES}
+ @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$f ${WRKSRC}/
+.endfor
+
do-install:
- ${MKDIR} ${PREFIX}/include/CL
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*.h ${PREFIX}/include/CL
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*.hpp ${PREFIX}/include/CL
+ @${MKDIR} ${PREFIX}/include/CL
+.for f in ${DISTFILES}
+ @${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/include/CL
+.endfor
=20
.include <bsd.port.mk>
diff -Nur opencl.orig/distinfo opencl/distinfo
--- opencl.orig/distinfo 2013-07-28 10:47:31.257914535 +0200
+++ opencl/distinfo 2013-07-28 10:48:11.710573608 +0200
@@ -4,8 +4,8 @@
SIZE (opencl/cl_platform.h) =3D 41127
SHA256 (opencl/cl.h) =3D a5465c2ed1a0687878c8f7aa25f94626d7cd3a3868163ecaa=
6e8b36d6ed52368
SIZE (opencl/cl.h) =3D 61545
-SHA256 (opencl/cl_ext.h) =3D 3eafb74bc1b9456fd0e12393bfe65e48c9b3246d3c36b=
9f69ac253f73e0b50c7
-SIZE (opencl/cl_ext.h) =3D 11540
+SHA256 (opencl/cl_ext.h) =3D d23a11d1daebe39c6f5a9743f356bb58cdf0bf5a2019c=
723a6e2dc1e7dcb0360
+SIZE (opencl/cl_ext.h) =3D 13646
SHA256 (opencl/cl_dx9_media_sharing.h) =3D 26fb40bac8e229747bdc27b350b836e=
3703c1e946cb40893f4c8ab2289203920
SIZE (opencl/cl_dx9_media_sharing.h) =3D 5157
SHA256 (opencl/cl_d3d10.h) =3D c7adb38a19663ee240977afc64903f4638d9c5c03ca=
478793c9f7a15c1c6ac2b
@@ -16,5 +16,5 @@
SIZE (opencl/cl_gl.h) =3D 7343
SHA256 (opencl/cl_gl_ext.h) =3D 4d663bbfc932ab405623e5f5d1bba3f438351d0ead=
65e1ccdd9bb769caf7a7d0
SIZE (opencl/cl_gl_ext.h) =3D 2630
-SHA256 (opencl/cl.hpp) =3D 006671ee638a29a95c19bf37fbbf71ec8df445d2ea46df8=
1f65faaff2d8a5133
-SIZE (opencl/cl.hpp) =3D 272297
+SHA256 (opencl/cl.hpp) =3D d7c8f5c17f88e098dc9f71d80e4b7408fab353e2828b0ba=
4d4bb55adaa427e83
+SIZE (opencl/cl.hpp) =3D 277155
diff -Nur opencl.orig/pkg-message opencl/pkg-message
--- opencl.orig/pkg-message 1970-01-01 01:00:00.000000000 +0100
+++ opencl/pkg-message 2013-07-28 10:50:18.318603859 +0200
@@ -0,0 +1,2 @@
+OpenCL is the first open, royalty-free standard for cross-platform,=20
+parallel programming of modern processors.
--MP_/G8mB5PxR/Czu1_MmdfCByAt--
--Sig_/oTY7=jFdIXNIwqg2O7BQnaD
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)
iQEcBAEBAgAGBQJR9NyjAAoJEOgBcD7A/5N83xYIAILNjsqHCLcr168z7NTLhteU
bYlRggGxjoNCaNglOZ6kJ0zyYs2qWSOz4g5pV2bkONZUPUWQqiw67onjvF8BOPGI
k7ilCnJLBNe8ZJxxK/y2l85BJayJxvUnuMIRnKPwaDRVFlMSLoEzg2ER8SFOM+PP
7EH0T579dULCCTLiOWM74kvwQCkC8xXSNgwPjg6V6kM3iW4pK5kTOzjIKEqFGxae
AL89i7diEs76+ZXDmbenqnhz2Xp+o0Og1okErdvFwucQlPtYuNUoV/B5C1IpQGsG
Q1aDVzUvuJqIqhjLwHxUZ74DdEjVOgIuEJTZS0R+793wxEUSrw5MvVwLpJYiWmg=
=J1xA
-----END PGP SIGNATURE-----
--Sig_/oTY7=jFdIXNIwqg2O7BQnaD--
More information about the freebsd-ports-bugs
mailing list