pkgsrc/sysutils/system-tools-backends/patches/patch-ae
jmcneill 0106c9b7c3 Initial import of system-tools-backends version 2.6.0.
The System Tools Backends (s-t-b for short) are a set of cross-platform
modules for Linux, FreeBSD and other Unix systems. The backends provide a
common DBus interface to all platforms to modify or read the system
configuration in a distro independent fashion. Historically, access to
system configuration has varied deeply across Unix flavours, and concreting
a bit more, across Linux distributions, making it near impossible to write
desktop tools that could work flawlessly in a cross-platform way. System
Tools Backends try to fill this gap, offering a generic and easy way for
desktop applications to read and modify configuration details.
2008-11-15 18:28:56 +00:00

20 lines
749 B
Text

$NetBSD: patch-ae,v 1.1.1.1 2008/11/15 18:28:56 jmcneill Exp $
--- Time/TimeDate.pm.orig 2008-03-09 09:21:45.000000000 -0400
+++ Time/TimeDate.pm
@@ -49,6 +49,7 @@ sub change_timedate
"Linux" => "date -u %02d%02d%02d%02d%04d.%02d",
"FreeBSD" => "date -u -f %%m%%d%%H%%M%%Y.%%S %02d%02d%02d%02d%04d.%02d",
"SunOS" => "date -u %02d%02d%02d%02d%04d.%02d",
+ "NetBSD" => "date -u %02d%02d%02d%02d%04d.%02d",
};
$command = sprintf ($$system_table {$Utils::Backend::tool{"system"}},
@@ -174,6 +175,7 @@ sub get_dist
"pld-1.0" => "redhat-6.2",
"vine-3.0" => "redhat-6.2",
"freebsd-5" => "redhat-6.2",
+ "netbsd-2" => "redhat-6.2",
"solaris-2.11" => "solaris-2.11",
);