FreeBSD Bugzilla – Attachment 219049 Details for
Bug 250591
[NEW PORT] emulators/libc6-shim: ABI-compatible glibc shim
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libc6
libc6.patch (text/plain), 3.06 KB, created by
Alex S
on 2020-10-25 04:50:23 UTC
(
hide
)
Description:
libc6
Filename:
MIME Type:
Creator:
Alex S
Created:
2020-10-25 04:50:23 UTC
Size:
3.06 KB
patch
obsolete
>diff --git emulators/Makefile emulators/Makefile >index 364aaaca10b1..0700ad7877dd 100644 >--- emulators/Makefile >+++ emulators/Makefile >@@ -61,6 +61,7 @@ > SUBDIR += kcemu > SUBDIR += klh10 > SUBDIR += lib765 >+ SUBDIR += libc6-shim > SUBDIR += libdsk > SUBDIR += libretro-ppsspp > SUBDIR += libspectrum >diff --git emulators/libc6-shim/Makefile emulators/libc6-shim/Makefile >new file mode 100644 >index 000000000000..355411148853 >--- /dev/null >+++ emulators/libc6-shim/Makefile >@@ -0,0 +1,49 @@ >+# $FreeBSD$ >+ >+PORTNAME= libc6-shim >+DISTVERSION= 20201024 >+CATEGORIES= emulators >+ >+MAINTAINER= iwtcex@gmail.com >+COMMENT= ABI-compatible glibc shim library >+ >+LICENSE= MIT >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+IGNORE_FreeBSD_11=not supported >+ONLY_FOR_ARCHS= amd64 >+ >+USE_RUBY= yes >+ >+USE_GITHUB= yes >+GH_ACCOUNT= shkhln >+GH_PROJECT= libc6-shim >+GH_TAGNAME= 6b6fa76812f7cb9625e24f12af99fcb9c46a0719 >+ >+post-patch: >+ ${REINPLACE_CMD} -e 's|../icds|../${DATADIR_REL}/icds|' ${WRKSRC}/bin/nv-sglrun >+ ${REINPLACE_CMD} -e 's|../lib64|../lib/${PORTNAME}|' -e 's|../lib32|../lib32/${PORTNAME}|' ${WRKSRC}/bin/with-glibc-shim >+ >+do-install: >+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} >+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib32/${PORTNAME} >+ ${MKDIR} ${STAGEDIR}${DATADIR}/icds/ocl >+ ${MKDIR} ${STAGEDIR}${DATADIR}/icds/vk >+ ${INSTALL_SCRIPT} \ >+ ${WRKSRC}/bin/nv-sglrun \ >+ ${WRKSRC}/bin/with-glibc-shim \ >+ ${STAGEDIR}${PREFIX}/bin >+ ${INSTALL_LIB} \ >+ ${WRKSRC}/build/lib64/libc6*.so \ >+ ${STAGEDIR}${PREFIX}/lib/${PORTNAME} >+ ${INSTALL_LIB} \ >+ ${WRKSRC}/build/lib32/libc6*.so \ >+ ${STAGEDIR}${PREFIX}/lib32/${PORTNAME} >+ ${INSTALL_DATA} \ >+ ${WRKSRC}/icds/ocl/nv.icd \ >+ ${STAGEDIR}${DATADIR}/icds/ocl >+ ${INSTALL_DATA} \ >+ ${WRKSRC}/icds/vk/nv.json \ >+ ${STAGEDIR}${DATADIR}/icds/vk >+ >+.include <bsd.port.mk> >diff --git emulators/libc6-shim/distinfo emulators/libc6-shim/distinfo >new file mode 100644 >index 000000000000..2f6fd7ea66eb >--- /dev/null >+++ emulators/libc6-shim/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1603542639 >+SHA256 (shkhln-libc6-shim-20201024-6b6fa76812f7cb9625e24f12af99fcb9c46a0719_GH0.tar.gz) = 6885cd5f26441c2644852b62c83ba8c34253a2d24dd5dcb04f4eaaadc4293a1e >+SIZE (shkhln-libc6-shim-20201024-6b6fa76812f7cb9625e24f12af99fcb9c46a0719_GH0.tar.gz) = 76397 >diff --git emulators/libc6-shim/pkg-descr emulators/libc6-shim/pkg-descr >new file mode 100644 >index 000000000000..1af5652d3a8c >--- /dev/null >+++ emulators/libc6-shim/pkg-descr >@@ -0,0 +1,5 @@ >+A shim library providing limited glibc ABI compatibility on top of FreeBSD libc. >+It allows loading shared objects compiled on Linux and dynamically linked to >+glibc into native FreeBSD processes. >+ >+WWW: https://github.com/shkhln/libc6-shim >diff --git emulators/libc6-shim/pkg-plist emulators/libc6-shim/pkg-plist >new file mode 100644 >index 000000000000..cce827c04939 >--- /dev/null >+++ emulators/libc6-shim/pkg-plist >@@ -0,0 +1,8 @@ >+bin/nv-sglrun >+bin/with-glibc-shim >+lib/libc6-shim/libc6-debug.so >+lib/libc6-shim/libc6.so >+lib32/libc6-shim/libc6-debug.so >+lib32/libc6-shim/libc6.so >+%%DATADIR%%/icds/ocl/nv.icd >+%%DATADIR%%/icds/vk/nv.json
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 250591
: 219049 |
219050