pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49586: Use BSD-ish icon for multimedia/minidlna on NetBSD

>Number:         49586
>Category:       pkg
>Synopsis:       Use BSD-ish icon for multimedia/minidlna on NetBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 19 18:05:01 +0000 2015
>Originator:     John D. Baker
>Release:        NetBSD-7.0_BETA/amd64, pkgsrc-2014Q4 (multimedia/minidlna from pkgsrc-HEAD)
NetBSD yggdrasil.technoskunk.fur 7.0_BETA NetBSD 7.0_BETA (YGGDRASIL) #36: Sat Jan 17 19:14:45 CST 2015  sysop%yggdrasil.technoskunk.fur@localhost:/r0/build/netbsd-7/obj/amd64/sys/arch/amd64/compile/YGGDRASIL amd64

Recently-updated multimedia/minidlna includes a custom icon for
FreeBSD.  Use it for NetBSD as well.
Update multimedia/minidlna to pkgsrc-HEAD and install/replace as needed.
Browse devices with a smart-share device like a smart(!) TV.
See that smug penguin representing your NetBSD server.
The following patch enables a BSD-flavored icon for NetBSD as well as

Use BSD-ish icon on NetBSD.

--- icons.c.orig	2014-08-26 16:09:22.000000000 -0500
+++ icons.c	2015-01-15 22:06:58.000000000 -0600
@@ -1101,7 +1101,7 @@ jpeg_lrg[] = "\xff\xd8\xff\xe1\x00\x18\x
-#elif __FreeBSD__
+#elif __FreeBSD__ || __NetBSD__
 /* Small Daemon PNG image */
 unsigned char
 png_sm[] =	"\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x29\x00\x00\x00\x30"

Home | Main Index | Thread Index | Old Index