patches/vlc-22-remove-dirent.h-checks.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 3378 1133106f35d7
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3378
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
     1
From: RĂ©mi Denis-Courmont <[email protected]>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
     2
Date: Tue, 3 Aug 2010 16:00:32 +0000 (+0300)
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
     3
Subject: Remove useless <dirent.h> check
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
     4
X-Git-Url: http://git.videolan.org/gitweb.cgi?p=vlc.git;a=commitdiff_plain;h=1da8392047446063f48bfaa61c1dc08be4461df8;hp=744ff759b3e319b47fb4b2b58fac8e5d9d684d7a
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
     5
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
     6
Remove useless <dirent.h> check
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
     7
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
     8
note: removed configure.ac changes from original post
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
     9
---
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    10
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    11
diff --git a/modules/access/directory.c b/modules/access/directory.c
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    12
index 121f622..b778cf0 100644
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    13
--- a/modules/access/directory.c
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    14
+++ b/modules/access/directory.c
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    15
@@ -46,9 +46,6 @@
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    16
 #   include <io.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    17
 #endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    18
 
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    19
-#ifdef HAVE_DIRENT_H
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    20
-#   include <dirent.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    21
-#endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    22
 #ifdef __sun__
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    23
 static inline int dirfd (DIR *dir)
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    24
 {
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    25
diff --git a/modules/control/http/http.h b/modules/control/http/http.h
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    26
index 0eb33f4..ebf1efa 100644
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    27
--- a/modules/control/http/http.h
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    28
+++ b/modules/control/http/http.h
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    29
@@ -49,10 +49,6 @@
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    30
 #   include <io.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    31
 #endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    32
 
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    33
-#ifdef HAVE_DIRENT_H
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    34
-#   include <dirent.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    35
-#endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    36
-
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    37
 /* stat() support for large files on win32 */
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    38
 #if defined( WIN32 ) && !defined( UNDER_CE )
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    39
 #   define stat _stati64
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    40
diff --git a/modules/demux/mkv/mkv.hpp b/modules/demux/mkv/mkv.hpp
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    41
index 6b46c2a..296ef13 100644
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    42
--- a/modules/demux/mkv/mkv.hpp
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    43
+++ b/modules/demux/mkv/mkv.hpp
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    44
@@ -62,10 +62,6 @@
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    45
 #include <vector>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    46
 #include <algorithm>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    47
 
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    48
-#ifdef HAVE_DIRENT_H
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    49
-#   include <dirent.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    50
-#endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    51
-
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    52
 /* libebml and matroska */
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    53
 #include "ebml/EbmlHead.h"
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    54
 #include "ebml/EbmlSubHead.h"
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    55
diff --git a/modules/gui/skins2/src/theme_loader.cpp b/modules/gui/skins2/src/theme_loader.cpp
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    56
index d1f76f2..7a67113 100644
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    57
--- a/modules/gui/skins2/src/theme_loader.cpp
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    58
+++ b/modules/gui/skins2/src/theme_loader.cpp
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    59
@@ -42,11 +42,6 @@
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    60
 #   include <direct.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    61
 #endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    62
 
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    63
-#ifdef HAVE_DIRENT_H
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    64
-#   include <dirent.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    65
-#endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    66
-
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    67
-
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    68
 #if defined( HAVE_ZLIB_H )
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    69
 #   include <zlib.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    70
 #   include <errno.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    71
diff --git a/modules/gui/skins2/src/theme_repository.cpp b/modules/gui/skins2/src/theme_repository.cpp
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    72
index 1dc83b1..0e335c9 100644
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    73
--- a/modules/gui/skins2/src/theme_repository.cpp
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    74
+++ b/modules/gui/skins2/src/theme_repository.cpp
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    75
@@ -30,9 +30,6 @@
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    76
 #elif defined( WIN32 ) && !defined( UNDER_CE )
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    77
 #   include <direct.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    78
 #endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    79
-#ifdef HAVE_DIRENT_H
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    80
-#   include <dirent.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    81
-#endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    82
 
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    83
 #include <fstream>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    84
 
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    85
diff --git a/modules/misc/gnutls.c b/modules/misc/gnutls.c
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    86
index 5b7a82b..5c527d2 100644
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    87
--- a/modules/misc/gnutls.c
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    88
+++ b/modules/misc/gnutls.c
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    89
@@ -36,9 +36,6 @@
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    90
 
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    91
 #include <sys/types.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    92
 #include <errno.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    93
-#ifdef HAVE_DIRENT_H
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    94
-# include <dirent.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    95
-#endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    96
 #ifdef HAVE_SYS_STAT_H
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    97
 # include <sys/stat.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    98
 #endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
    99
diff --git a/src/extras/libc.c b/src/extras/libc.c
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   100
index 1be7fe8..b0d17d1 100644
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   101
--- a/src/extras/libc.c
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   102
+++ b/src/extras/libc.c
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   103
@@ -32,6 +32,7 @@
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   104
 #include <vlc_common.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   105
 
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   106
 #include <errno.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   107
+#include <dirent.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   108
 
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   109
 #undef iconv_t
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   110
 #undef iconv_open
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   111
@@ -42,10 +43,6 @@
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   112
 #   include <iconv.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   113
 #endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   114
 
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   115
-#ifdef HAVE_DIRENT_H
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   116
-#   include <dirent.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   117
-#endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   118
-
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   119
 #ifdef HAVE_FORK
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   120
 #   include <signal.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   121
 #   include <unistd.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   122
diff --git a/src/input/subtitles.c b/src/input/subtitles.c
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   123
index 3881d2f..9c6843d 100644
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   124
--- a/src/input/subtitles.c
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   125
+++ b/src/input/subtitles.c
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   126
@@ -35,10 +35,6 @@
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   127
 #include <vlc_fs.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   128
 #include <vlc_url.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   129
 
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   130
-#ifdef HAVE_DIRENT_H
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   131
-#   include <dirent.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   132
-#endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   133
-
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   134
 #ifdef HAVE_UNISTD_H
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   135
 #   include <unistd.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   136
 #endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   137
diff --git a/src/modules/modules.c b/src/modules/modules.c
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   138
index 15feab1..f6f0e75 100644
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   139
--- a/src/modules/modules.c
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   140
+++ b/src/modules/modules.c
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   141
@@ -39,10 +39,6 @@
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   142
 #include <string.h>                                              /* strdup() */
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   143
 #include <assert.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   144
 
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   145
-#ifdef HAVE_DIRENT_H
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   146
-#   include <dirent.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   147
-#endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   148
-
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   149
 #include <sys/types.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   150
 #ifdef HAVE_SYS_STAT_H
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   151
 #   include <sys/stat.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   152
--- a/src/text/filesystem.c.orig2 2010-11-07 02:52:49.965882930 +0100
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   153
+++ b/src/text/filesystem.c       2010-11-07 02:53:59.436312636 +0100
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   154
@@ -43,9 +43,7 @@
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   155
 #endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   156
 #include <errno.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   157
 #include <sys/types.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   158
-#ifdef HAVE_DIRENT_H
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   159
-#  include <dirent.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   160
-#endif
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   161
+#include <dirent.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   162
 #include <stddef.h>
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   163
 #ifdef HAVE_SYS_STAT_H
1133106f35d7 experimental/SFEvlc-1.1.4.1.spec: release to experimental, needs SFEqt47-gpp in new path layout and more work to find QT
tom68
parents:
diff changeset
   164
 # include <sys/stat.h>