Browse Source

upgrading package: vifm 0.7.2a -> 0.7.3

master
parent
commit
e5bc7bfc20
  1. 38
      vifm/vifm.patch
  2. 6
      vifm/vifm.spec

38
vifm/vifm.patch

@ -1,36 +1,36 @@
Index: src/sort.c
--- src/sort.c.orig 2012-02-19 13:54:57.000000000 +0100
+++ src/sort.c 2012-02-20 21:47:03.000000000 +0100
@@ -42,7 +42,7 @@
--- src/sort.c.orig 2012-06-03 13:15:30.000000000 +0200
+++ src/sort.c 2012-06-05 10:19:09.000000000 +0200
@@ -43,7 +43,7 @@
static int sort_type;
static int sort_dir_list(const void *one, const void *two);
-#if defined(_WIN32) || defined(__APPLE__)
+#if defined(_WIN32) || defined(__APPLE__) || defined(__FreeBSD__)
-#if defined(_WIN32) || defined(__APPLE__) || defined(__CYGWIN__)
+#if defined(_WIN32) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__FreeBSD__)
#ifndef TEST
static
#endif
@@ -95,14 +95,14 @@
@@ -96,14 +96,14 @@
if(!cfg.sort_numbers)
return strcmp(s, t);
else
-#if defined(_WIN32) || defined(__APPLE__)
+#if defined(_WIN32) || defined(__APPLE__) || defined(__FreeBSD__)
-#if defined(_WIN32) || defined(__APPLE__) || defined(__CYGWIN__)
+#if defined(_WIN32) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__FreeBSD__)
return vercmp(s, t);
#else
return strverscmp(s, t);
#endif
}
-#if defined(_WIN32) || defined(__APPLE__)
+#if defined(_WIN32) || defined(__APPLE__) || defined(__FreeBSD__)
-#if defined(_WIN32) || defined(__APPLE__) || defined(__CYGWIN__)
+#if defined(_WIN32) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__FreeBSD__)
#ifndef TEST
static
#endif
Index: src/utils.c
--- src/utils.c.orig 2012-02-19 13:54:57.000000000 +0100
+++ src/utils.c 2012-02-20 21:46:15.000000000 +0100
@@ -43,7 +43,7 @@
Index: src/utils/utils.c
--- src/utils/utils.c.orig 2012-06-03 13:15:30.000000000 +0200
+++ src/utils/utils.c 2012-06-05 10:18:47.000000000 +0200
@@ -36,7 +36,7 @@
#include <sys/wait.h> /* waitpid() */
#endif
@ -39,7 +39,7 @@ Index: src/utils.c
#include <mntent.h> /* getmntent() */
#endif
@@ -535,7 +535,7 @@
@@ -257,7 +257,7 @@
int
is_on_slow_fs(const char *full_path)
{
@ -48,9 +48,9 @@ Index: src/utils.c
return 0;
#else
FILE *f;
Index: src/utils.h
--- src/utils.h.orig 2012-02-19 13:54:57.000000000 +0100
+++ src/utils.h 2012-02-20 21:45:56.000000000 +0100
Index: src/utils/utils.h
--- src/utils/utils.h.orig 2012-06-03 13:15:30.000000000 +0200
+++ src/utils/utils.h 2012-06-05 10:18:47.000000000 +0200
@@ -24,6 +24,7 @@
#include <windef.h>
#endif
@ -58,4 +58,4 @@ Index: src/utils.h
+#include <stdio.h>
#include <regex.h>
#include <limits.h> /* PATH_MAX */
#include <sys/types.h> /* mode_t */

6
vifm/vifm.spec

@ -22,8 +22,8 @@
##
# package version
%define V_dist 0.7.2a
%define V_subdir 0.7.2
%define V_dist 0.7.3
%define V_subdir 0.7.3
# package information
Name: vifm
@ -36,7 +36,7 @@ Class: EVAL
Group: Terminal
License: GPL
Version: %{V_dist}
Release: 20120515
Release: 20120605
# list of sources
Source0: http://switch.dl.sourceforge.net/vifm/vifm-%{V_dist}.tar.bz2

Loading…
Cancel
Save