/[packages]/cauldron/libmp3splt/current/SOURCES/libmp3splt-0.7.3-remove-unneeded-ltdl.h-includes.patch
ViewVC logotype

Contents of /cauldron/libmp3splt/current/SOURCES/libmp3splt-0.7.3-remove-unneeded-ltdl.h-includes.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 287367 - (show annotations) (download)
Sun Sep 2 18:30:18 2012 UTC (11 years, 7 months ago) by wally
File size: 1375 byte(s)
- add a patch to remove unneeded includes (originally from ALT Linux)
- split out i18n files
- clean .spec a bit
1 From 3b0593548cc93b5b830311634e50e1fcbf1759c2 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= <wally@mageia.org>
3 Date: Sun, 2 Sep 2012 18:00:27 +0000
4 Subject: [PATCH] Remove unneeded ltdl.h includes
5
6 Patch originally from Alexander Myltsev @ ALT Linux.
7
8 ---
9 include/libmp3splt/mp3splt.h | 5 -----
10 src/mp3splt.c | 2 --
11 src/plugins.c | 2 --
12 3 files changed, 9 deletions(-)
13
14 diff --git a/include/libmp3splt/mp3splt.h b/include/libmp3splt/mp3splt.h
15 index 2c17c62..f6dd3ff 100644
16 --- a/include/libmp3splt/mp3splt.h
17 +++ b/include/libmp3splt/mp3splt.h
18 @@ -36,11 +36,6 @@
19 #include <stdlib.h>
20 #include <stdio.h>
21
22 -//libtool 1.4e is buggy on mingw if we include ltdl.h
23 -#ifndef __WIN32__
24 -#include <ltdl.h>
25 -#endif
26 -
27 /**
28 * @file mp3splt.h
29 *
30 diff --git a/src/mp3splt.c b/src/mp3splt.c
31 index 5fa4476..5bfbb08 100644
32 --- a/src/mp3splt.c
33 +++ b/src/mp3splt.c
34 @@ -67,8 +67,6 @@ Documentation can be found at several points:
35 #include <sys/stat.h>
36 #include <string.h>
37
38 -#include <ltdl.h>
39 -
40 #include "splt.h"
41
42 int global_debug = SPLT_FALSE;
43 diff --git a/src/plugins.c b/src/plugins.c
44 index c919de9..e6d03ea 100644
45 --- a/src/plugins.c
46 +++ b/src/plugins.c
47 @@ -38,8 +38,6 @@ Loading and unloading of plug-ins
48 #include <dirent.h>
49 #include <errno.h>
50
51 -#include <ltdl.h>
52 -
53 #ifdef __WIN32__
54 #include <direct.h>
55 #endif
56 --
57 1.7.12
58

  ViewVC Help
Powered by ViewVC 1.1.30