Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-src_main.cpp,v 1.1 2015/02/15 14:09:38 ryoon Exp $
https://sourceforge.net/p/xfe/bugs/198/
--- src/main.cpp.orig 2014-12-05 12:13:04.000000000 +0000
+++ src/main.cpp
@@ -301,13 +301,14 @@ int main(int argc,char *argv[])
textdomain(PACKAGE);
#endif
+ FXString cmd;
#if defined(linux)
// For package query on Linux systems, try to guess if the default package format is deb or rpm:
// - if dpkg exists then the system uses deb packages
// - else if rpm exists, then the system uses rpm packages
// - else another (unsupported) package manager is used
- FXString cmd, str;
+ FXString str;
cmd="dpkg --version";
str=getCommandOutput(cmd);