FreeBSD Bugzilla – Attachment 176246 Details for
Bug 213854
sysutils/screenfetch: fix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
screenfetch.patch (text/plain), 2.00 KB, created by
Dmitry Marakasov
on 2016-10-28 14:15:57 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2016-10-28 14:15:57 UTC
Size:
2.00 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 424623) >+++ Makefile (working copy) >@@ -10,7 +10,8 @@ > MAINTAINER= jgh@FreeBSD.org > COMMENT= Bash Screenshot Information Tool > >-LICENSE= GPLv3 >+LICENSE= GPLv3+ >+LICENSE_FILE= ${WRKSRC}/COPYING > > RUN_DEPENDS= bash:shells/bash \ > xdpyinfo:x11/xdpyinfo >@@ -18,6 +19,7 @@ > OPTIONS_DEFINE= DOCS > > NO_BUILD= yes >+NO_ARCH= yes > USE_GITHUB= yes > GH_ACCOUNT= KittyKatt > >@@ -28,9 +30,14 @@ > ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME:tl}-dev ${STAGEDIR}${PREFIX}/bin/${PORTNAME} > ${LN} -fs ${PORTNAME} ${STAGEDIR}${PREFIX}/bin/screenfetch > ${INSTALL_MAN} ${WRKSRC}/screenfetch.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 >+ >+do-install-DOCS-on: > @${MKDIR} ${STAGEDIR}${DOCSDIR} > .for file in ${PORTDOCS} > ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} > .endfor > >+do-test: >+ cd ${WRKSRC} && ./${PORTNAME:tl}-dev >+ > .include <bsd.port.mk> >Index: files/patch-screenfetch-dev >=================================================================== >--- files/patch-screenfetch-dev (nonexistent) >+++ files/patch-screenfetch-dev (working copy) >@@ -0,0 +1,33 @@ >+--- screenfetch-dev.orig 2015-07-14 12:32:02 UTC >++++ screenfetch-dev >+@@ -515,6 +515,14 @@ detectdistro () { >+ if [ "$distro" == "Unknown" ]; then >+ if [ $(uname -o 2>/dev/null) ]; then >+ case "$(uname -o)" in >++ "FreeBSD") >++ distro="FreeBSD" >++ fake_distro="${distro}" >++ ;; >++ "DragonFly") >++ distro="DragonFlyBSD" >++ fake_distro="${distro}" >++ ;; >+ "Cygwin") >+ distro="Cygwin" >+ fake_distro="${distro}" >+@@ -4151,11 +4159,10 @@ for i in "${display[@]}"; do >+ ! [[ $Win_theme ]] && detectwmtheme; >+ else >+ if [[ "${display[*]}" =~ "$i" ]]; then >+- if [[ "$errorSuppress" == "1" ]]; then detect${i} 2>/dev/null >+- else >+- exec 3> >(stderrOut) >+- detect${i} 2>&3 >+- exec 3>&- >++ if [[ "$errorSuppress" == "1" ]]; then >++ detect${i} 2>/dev/null >++ else >++ detect${i} >+ fi >+ fi >+ fi
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 213854
: 176246