summaryrefslogtreecommitdiff
path: root/desktop/icewm/patches/use_ICEWM_deprecated.patch
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2014-03-29 22:05:46 -0500
committerErik Hanson <erik@slackbuilds.org>2014-04-12 13:59:48 -0500
commitd711d3170082840c1eb1b92a5763da38dd8b5190 (patch)
treeb3035e9f16ad59662c5e40623befdeddf717e631 /desktop/icewm/patches/use_ICEWM_deprecated.patch
parentc2896b8c9ca4a49e913133f5638c05abfcd99054 (diff)
downloadslackbuilds-d711d3170082840c1eb1b92a5763da38dd8b5190.tar.gz
desktop/icewm: Reverted to 1.3.7 plus some more patches
Thanks again to Janusz Kuśnierek for assistance with this and for noting a couple of fairly major bugs wrt usability that make the revert desirable. 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.patch21
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 ********************************************************/