diff options
author | Robby Workman | 2012-05-11 17:40:56 +0200 |
---|---|---|
committer | Erik Hanson | 2012-05-14 20:13:58 +0200 |
commit | deaf02228bd43019564c1b35c534c2c43058e1c9 (patch) | |
tree | 8fe22d9313cb0642dc5b77f3cd5825a8f519294f /desktop/icewm/patches/use_ICEWM_deprecated.patch | |
parent | 612fd0840acaf2daf9a943fbb6a9f56ba1b9513a (diff) | |
download | slackbuilds-deaf02228bd43019564c1b35c534c2c43058e1c9.tar.gz |
desktop/icewm: Included a couple of build fix patches
These are only needed for -current, but they don't hurt anything
for 13.37 and they reduce the workload later when getting all of
the repo ready for slackware-next.
Thanks to Morten Langlo for the fontconfig patch.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/icewm/patches/use_ICEWM_deprecated.patch')
-rw-r--r-- | desktop/icewm/patches/use_ICEWM_deprecated.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/desktop/icewm/patches/use_ICEWM_deprecated.patch b/desktop/icewm/patches/use_ICEWM_deprecated.patch new file mode 100644 index 0000000000..3533d31e34 --- /dev/null +++ b/desktop/icewm/patches/use_ICEWM_deprecated.patch @@ -0,0 +1,21 @@ +Description: Don't use "deprecated" as identifier, will FTBFS if another + library defines functions as deprecated. +Author: Andreas Moog <amoog@ubuntu.com> +Bug: https://sourceforge.net/tracker/?func=detail&aid=3494034&group_id=31&atid=100031 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/935179 +Forwarded: Yes + +--- icewm-1.3.7.orig/src/base.h ++++ icewm-1.3.7/src/base.h +@@ -2,9 +2,9 @@ + #define __BASE_H + + #if ( __GNUC__ == 3 && __GNUC_MINOR__ > 0 ) || __GNUC__ > 3 +-#define deprecated __attribute__((deprecated)) ++#define ICEWM_deprecated __attribute__((deprecated)) + #else +-#define deprecated ++#define ICEWM_deprecated + #endif + + /*** Atomar Data Types ********************************************************/ |