- Fix build with gcc 4.7 - Fix build with new X11 headers OBS-URL: https://build.opensuse.org/request/show/121755 OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=21
22 lines
711 B
Diff
22 lines
711 B
Diff
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 ********************************************************/
|