2014-07-04 13:05:43 +02:00
|
|
|
---
|
|
|
|
WINGs/Examples/colorpick.c | 4 ++++
|
|
|
|
WINGs/Examples/fontl.c | 4 ++++
|
|
|
|
WINGs/Examples/puzzle.c | 4 ++++
|
|
|
|
WINGs/Extras/test.c | 4 ++++
|
|
|
|
WINGs/Extras/wtabledelegates.c | 4 ++++
|
|
|
|
WINGs/Extras/wtableview.c | 4 ++++
|
|
|
|
WINGs/Tests/mywidget.c | 4 ++++
|
|
|
|
WINGs/Tests/testmywidget.c | 4 ++++
|
|
|
|
WINGs/Tests/wmfile.c | 4 ++++
|
|
|
|
WINGs/Tests/wmquery.c | 4 ++++
|
|
|
|
WINGs/Tests/wtest.c | 4 ++++
|
|
|
|
WINGs/array.c | 4 ++++
|
|
|
|
WINGs/bagtree.c | 4 ++++
|
|
|
|
WINGs/configuration.c | 4 ++++
|
|
|
|
WINGs/data.c | 4 ++++
|
|
|
|
WINGs/dragcommon.c | 4 ++++
|
|
|
|
WINGs/dragdestination.c | 4 ++++
|
|
|
|
WINGs/dragsource.c | 4 ++++
|
|
|
|
WINGs/error.c | 4 ++++
|
|
|
|
WINGs/findfile.c | 4 ++++
|
|
|
|
WINGs/handlers.c | 4 ++++
|
|
|
|
WINGs/hashtable.c | 4 ++++
|
|
|
|
WINGs/memory.c | 4 ++++
|
|
|
|
WINGs/misc.c | 4 ++++
|
|
|
|
WINGs/notification.c | 4 ++++
|
|
|
|
WINGs/proplist.c | 4 ++++
|
|
|
|
WINGs/selection.c | 4 ++++
|
|
|
|
WINGs/string.c | 4 ++++
|
|
|
|
WINGs/tree.c | 4 ++++
|
|
|
|
WINGs/userdefaults.c | 4 ++++
|
|
|
|
WINGs/usleep.c | 4 ++++
|
|
|
|
WINGs/wapplication.c | 4 ++++
|
|
|
|
WINGs/wappresource.c | 4 ++++
|
|
|
|
WINGs/wballoon.c | 4 ++++
|
|
|
|
WINGs/wbox.c | 4 ++++
|
|
|
|
WINGs/wbrowser.c | 4 ++++
|
|
|
|
WINGs/wbutton.c | 4 ++++
|
|
|
|
WINGs/wcolor.c | 4 ++++
|
|
|
|
WINGs/wcolorpanel.c | 4 ++++
|
|
|
|
WINGs/wcolorwell.c | 4 ++++
|
|
|
|
WINGs/wevent.c | 4 ++++
|
|
|
|
WINGs/wfilepanel.c | 4 ++++
|
|
|
|
WINGs/wfont.c | 4 ++++
|
|
|
|
WINGs/wfontpanel.c | 4 ++++
|
|
|
|
WINGs/wframe.c | 4 ++++
|
|
|
|
WINGs/widgets.c | 4 ++++
|
|
|
|
WINGs/winputmethod.c | 4 ++++
|
|
|
|
WINGs/wlabel.c | 4 ++++
|
|
|
|
WINGs/wlist.c | 4 ++++
|
|
|
|
WINGs/wmenuitem.c | 4 ++++
|
|
|
|
WINGs/wmisc.c | 4 ++++
|
|
|
|
WINGs/wpanel.c | 4 ++++
|
|
|
|
WINGs/wpixmap.c | 4 ++++
|
|
|
|
WINGs/wpopupbutton.c | 4 ++++
|
|
|
|
WINGs/wprogressindicator.c | 4 ++++
|
|
|
|
WINGs/wruler.c | 4 ++++
|
|
|
|
WINGs/wscroller.c | 4 ++++
|
|
|
|
WINGs/wscrollview.c | 4 ++++
|
|
|
|
WINGs/wslider.c | 4 ++++
|
|
|
|
WINGs/wsplitview.c | 4 ++++
|
|
|
|
WINGs/wtabview.c | 4 ++++
|
|
|
|
WINGs/wtext.c | 4 ++++
|
|
|
|
WINGs/wtextfield.c | 4 ++++
|
|
|
|
WINGs/wutil.c | 4 ++++
|
|
|
|
WINGs/wview.c | 4 ++++
|
|
|
|
WINGs/wwindow.c | 4 ++++
|
|
|
|
WPrefs.app/Appearance.c | 4 ++++
|
|
|
|
WPrefs.app/Configurations.c | 4 ++++
|
|
|
|
WPrefs.app/Expert.c | 4 ++++
|
|
|
|
WPrefs.app/Focus.c | 4 ++++
|
|
|
|
WPrefs.app/FontSimple.c | 4 ++++
|
|
|
|
WPrefs.app/Icons.c | 4 ++++
|
|
|
|
WPrefs.app/KeyboardSettings.c | 4 ++++
|
|
|
|
WPrefs.app/Menu.c | 4 ++++
|
|
|
|
WPrefs.app/MenuPreferences.c | 4 ++++
|
|
|
|
WPrefs.app/MouseSettings.c | 4 ++++
|
|
|
|
WPrefs.app/Paths.c | 4 ++++
|
|
|
|
WPrefs.app/Preferences.c | 4 ++++
|
|
|
|
WPrefs.app/TexturePanel.c | 4 ++++
|
|
|
|
WPrefs.app/Themes.c | 4 ++++
|
|
|
|
WPrefs.app/WPrefs.c | 4 ++++
|
|
|
|
WPrefs.app/WindowHandling.c | 4 ++++
|
|
|
|
WPrefs.app/Workspace.c | 4 ++++
|
|
|
|
WPrefs.app/double.c | 4 ++++
|
|
|
|
WPrefs.app/editmenu.c | 4 ++++
|
|
|
|
WPrefs.app/main.c | 4 ++++
|
|
|
|
WPrefs.app/xmodifier.c | 4 ++++
|
|
|
|
configure.ac | 5 +++--
|
|
|
|
src/actions.c | 4 ++++
|
|
|
|
src/appicon.c | 4 ++++
|
|
|
|
src/application.c | 4 ++++
|
|
|
|
src/appmenu.c | 4 ++++
|
|
|
|
src/balloon.c | 4 ++++
|
|
|
|
src/client.c | 4 ++++
|
|
|
|
src/colormap.c | 4 ++++
|
|
|
|
src/cycling.c | 4 ++++
|
|
|
|
src/defaults.c | 4 ++++
|
|
|
|
src/dialog.c | 4 ++++
|
|
|
|
src/dock.c | 4 ++++
|
|
|
|
src/dockedapp.c | 4 ++++
|
|
|
|
src/event.c | 4 ++++
|
|
|
|
src/framewin.c | 4 ++++
|
|
|
|
src/geomview.c | 4 ++++
|
|
|
|
src/icon.c | 4 ++++
|
|
|
|
src/main.c | 4 ++++
|
|
|
|
src/menu.c | 4 ++++
|
|
|
|
src/misc.c | 4 ++++
|
|
|
|
src/monitor.c | 4 ++++
|
|
|
|
src/motif.c | 4 ++++
|
|
|
|
src/moveres.c | 4 ++++
|
|
|
|
src/osdep_bsd.c | 4 ++++
|
|
|
|
src/osdep_darwin.c | 4 ++++
|
|
|
|
src/osdep_linux.c | 4 ++++
|
|
|
|
src/osdep_stub.c | 4 ++++
|
|
|
|
src/pixmap.c | 4 ++++
|
|
|
|
src/placement.c | 4 ++++
|
|
|
|
src/properties.c | 4 ++++
|
|
|
|
src/resources.c | 4 ++++
|
|
|
|
src/rootmenu.c | 4 ++++
|
|
|
|
src/screen.c | 4 ++++
|
|
|
|
src/session.c | 4 ++++
|
|
|
|
src/shutdown.c | 4 ++++
|
|
|
|
src/stacking.c | 4 ++++
|
|
|
|
src/startup.c | 4 ++++
|
|
|
|
src/superfluous.c | 4 ++++
|
|
|
|
src/switchmenu.c | 4 ++++
|
|
|
|
src/switchpanel.c | 4 ++++
|
|
|
|
src/texture.c | 4 ++++
|
|
|
|
src/usermenu.c | 4 ++++
|
|
|
|
src/wcore.c | 4 ++++
|
|
|
|
src/wdefaults.c | 4 ++++
|
|
|
|
src/window.c | 4 ++++
|
|
|
|
src/winmenu.c | 4 ++++
|
|
|
|
src/winspector.c | 4 ++++
|
|
|
|
src/wmspec.c | 4 ++++
|
|
|
|
src/workspace.c | 4 ++++
|
|
|
|
src/xdnd.c | 4 ++++
|
|
|
|
src/xinerama.c | 4 ++++
|
|
|
|
src/xmodifier.c | 4 ++++
|
|
|
|
src/xutil.c | 4 ++++
|
|
|
|
test/notest.c | 4 ++++
|
|
|
|
test/wtest.c | 4 ++++
|
|
|
|
util/convertfonts.c | 4 ++++
|
|
|
|
util/fontconv.c | 4 ++++
|
|
|
|
util/geticonset.c | 4 ++++
|
|
|
|
util/getstyle.c | 4 ++++
|
|
|
|
util/seticons.c | 4 ++++
|
|
|
|
util/setstyle.c | 4 ++++
|
|
|
|
util/wdread.c | 4 ++++
|
|
|
|
util/wdwrite.c | 4 ++++
|
|
|
|
util/wmagnify.c | 4 ++++
|
|
|
|
util/wmgenmenu.c | 4 ++++
|
|
|
|
util/wmmenugen.c | 4 ++++
|
|
|
|
util/wmmenugen_misc.c | 4 ++++
|
|
|
|
util/wmmenugen_parse_wmconfig.c | 4 ++++
|
|
|
|
util/wmmenugen_parse_xdg.c | 4 ++++
|
|
|
|
util/wxcopy.c | 4 ++++
|
|
|
|
wmlib/app.c | 4 ++++
|
|
|
|
wmlib/command.c | 4 ++++
|
|
|
|
wmlib/event.c | 4 ++++
|
|
|
|
wmlib/menu.c | 4 ++++
|
|
|
|
wrlib/alpha_combine.c | 4 ++++
|
|
|
|
wrlib/gif.c | 26 +++++++++++++++++++++++---
|
|
|
|
wrlib/tests/testdraw.c | 4 ++++
|
|
|
|
wrlib/tests/testgrad.c | 4 ++++
|
|
|
|
wrlib/tests/testrot.c | 4 ++++
|
|
|
|
wrlib/tests/view.c | 4 ++++
|
|
|
|
167 files changed, 686 insertions(+), 5 deletions(-)
|
|
|
|
|
|
|
|
Index: WindowMaker-0.95.5/WINGs/Examples/colorpick.c
|
|
|
|
===================================================================
|
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/Examples/colorpick.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/Examples/colorpick.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <WINGs/WINGs.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/Examples/fontl.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/Examples/fontl.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/Examples/fontl.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdint.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/Examples/puzzle.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/Examples/puzzle.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/Examples/puzzle.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <WINGs/WINGs.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/Extras/test.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/Extras/test.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/Extras/test.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <WINGs/WINGs.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdint.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/Extras/wtabledelegates.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/Extras/wtabledelegates.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/Extras/wtabledelegates.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <WINGs/WINGsP.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/Extras/wtableview.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/Extras/wtableview.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/Extras/wtableview.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <WINGs/WINGsP.h>
|
|
|
|
#include <X11/cursorfont.h>
|
|
|
|
#include <stdint.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/Tests/mywidget.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/Tests/mywidget.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/Tests/mywidget.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -13,6 +13,10 @@
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <WINGs/WINGsP.h>
|
|
|
|
|
|
|
|
/*
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/Tests/testmywidget.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/Tests/testmywidget.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/Tests/testmywidget.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <WINGs/WINGs.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/Tests/wmfile.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/Tests/wmfile.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/Tests/wmfile.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -11,6 +11,10 @@
|
|
|
|
-----------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <WINGs/WINGs.h>
|
|
|
|
|
|
|
|
#include <unistd.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/Tests/wmquery.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/Tests/wmquery.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/Tests/wmquery.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -3,6 +3,10 @@
|
|
|
|
* Author: Len Trigg <trigg@cs.waikato.ac.nz>
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <WINGs/WINGs.h>
|
|
|
|
|
|
|
|
#include <unistd.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/Tests/wtest.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/Tests/wtest.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/Tests/wtest.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -2,6 +2,10 @@
|
|
|
|
* WINGs test application
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <WINGs/WINGs.h>
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/array.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/array.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/array.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -8,6 +8,10 @@
|
|
|
|
* proper credit is always appreciated :)
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/bagtree.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/bagtree.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/bagtree.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/configuration.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/configuration.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/configuration.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/data.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/data.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/data.c
|
2013-09-26 21:21:16 +02:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* MA 02110-1301, USA.
|
2013-01-18 11:00:22 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <string.h>
|
|
|
|
#include "WUtil.h"
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/dragcommon.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/dragcommon.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/dragcommon.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
#define XDND_SOURCE_VERSION(dragInfo) dragInfo->protocolVersion
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/dragdestination.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/dragdestination.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/dragdestination.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
#include <X11/Xatom.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/dragsource.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/dragsource.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/dragsource.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/error.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/error.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/error.c
|
2013-09-26 21:21:16 +02:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* MA 02110-1301, USA.
|
2013-01-18 11:00:22 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <stdarg.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/findfile.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/findfile.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/findfile.c
|
2013-09-26 21:21:16 +02:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* MA 02110-1301, USA.
|
2013-01-18 11:00:22 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include "WUtil.h"
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/handlers.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/handlers.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/handlers.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -3,6 +3,10 @@
|
|
|
|
* WINGs internal handlers: timer, idle and input handlers
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/hashtable.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/hashtable.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/hashtable.c
|
2013-09-26 21:21:16 +02:00
|
|
|
@@ -1,5 +1,9 @@
|
|
|
|
#include <config.h>
|
2013-01-18 11:00:22 +01:00
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/memory.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/memory.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/memory.c
|
2013-09-26 21:21:16 +02:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* MA 02110-1301, USA.
|
2013-01-18 11:00:22 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
#include "WUtil.h"
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/misc.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/misc.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/misc.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,6 +1,10 @@
|
|
|
|
|
|
|
|
/* Miscelaneous helper functions */
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
WMRange wmkrange(int start, int count)
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/notification.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/notification.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/notification.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <assert.h>
|
|
|
|
#include <stdio.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/proplist.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/proplist.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/proplist.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/selection.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/selection.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/selection.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
#include <X11/Xatom.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/string.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/string.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/string.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -6,6 +6,10 @@
|
|
|
|
# undef _XOPEN_SOURCE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <string.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/tree.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/tree.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/tree.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
#include "WUtil.h"
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/userdefaults.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/userdefaults.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/userdefaults.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <strings.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/usleep.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/usleep.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/usleep.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <errno.h>
|
|
|
|
#include <time.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wapplication.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wapplication.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wapplication.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <X11/Xlocale.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wappresource.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wappresource.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wappresource.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <unistd.h>
|
|
|
|
|
|
|
|
#include "WINGsP.h"
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wballoon.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wballoon.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wballoon.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wbox.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wbox.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wbox.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
typedef struct {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wbrowser.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wbrowser.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wbrowser.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
#include <math.h> /* for : double rint (double) */
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wbutton.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wbutton.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wbutton.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
typedef struct W_Button {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wcolor.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wcolor.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wcolor.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
#include "wconfig.h"
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wcolorpanel.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wcolorpanel.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wcolorpanel.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -23,6 +23,10 @@
|
|
|
|
* - Resizing
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
#include "WINGsP.h"
|
|
|
|
#include "rgb.h"
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wcolorwell.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wcolorwell.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wcolorwell.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
#define XDND_COLOR_DATA_TYPE "application/X-color"
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wevent.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wevent.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wevent.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -3,6 +3,10 @@
|
|
|
|
* This event handling stuff was inspired on Tk.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
/* table to map event types to event masks */
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wfilepanel.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wfilepanel.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wfilepanel.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wfont.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wfont.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wfont.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
#include "wconfig.h"
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wfontpanel.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wfontpanel.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wfontpanel.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
#include "WUtil.h"
|
|
|
|
#include "wconfig.h"
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wframe.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wframe.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wframe.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
typedef struct W_Frame {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/widgets.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/widgets.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/widgets.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/winputmethod.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/winputmethod.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/winputmethod.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
|
|
|
|
#include "WINGsP.h"
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wlabel.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wlabel.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wlabel.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
typedef struct W_Label {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wlist.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wlist.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wlist.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
char *WMListDidScrollNotification = "WMListDidScrollNotification";
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wmenuitem.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wmenuitem.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wmenuitem.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
typedef struct W_MenuItem {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wmisc.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wmisc.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wmisc.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
#include <wraster.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wpanel.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wpanel.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wpanel.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
#include <X11/keysym.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wpixmap.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wpixmap.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wpixmap.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
#include <wraster.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wpopupbutton.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wpopupbutton.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wpopupbutton.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
typedef struct W_PopUpButton {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wprogressindicator.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wprogressindicator.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wprogressindicator.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -5,6 +5,10 @@
|
|
|
|
* - centralized drawing into one pain function
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
typedef struct W_ProgressIndicator {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wruler.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wruler.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wruler.c
|
2013-09-26 21:21:16 +02:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* MA 02110-1301, USA.
|
2013-01-18 11:00:22 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wscroller.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wscroller.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wscroller.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -7,6 +7,10 @@
|
|
|
|
# undef _XOPEN_SOURCE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
#include <math.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wscrollview.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wscrollview.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wscrollview.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
typedef struct W_ScrollView {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wslider.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wslider.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wslider.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
#undef STRICT_NEXT_BEHAVIOUR
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wsplitview.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wsplitview.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wsplitview.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
/*
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wtabview.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wtabview.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wtabview.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
typedef struct W_TabView {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wtext.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wtext.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wtext.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,6 +1,10 @@
|
|
|
|
|
|
|
|
/* WINGs WMText: multi-line/font/color/graphic text widget, by Nwanua. */
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <X11/keysym.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wtextfield.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wtextfield.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wtextfield.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wutil.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wutil.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wutil.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -3,6 +3,10 @@
|
|
|
|
* Handle events for non-GUI based applications
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
void WHandleEvents()
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wview.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wview.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wview.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WINGsP.h"
|
|
|
|
|
|
|
|
#include <X11/Xresource.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WINGs/wwindow.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WINGs/wwindow.c
|
|
|
|
+++ WindowMaker-0.95.5/WINGs/wwindow.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <X11/Xmd.h>
|
|
|
|
|
|
|
|
#include "WINGsP.h"
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/Appearance.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/Appearance.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/Appearance.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
|
|
|
|
#include <unistd.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/Configurations.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/Configurations.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/Configurations.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
|
|
|
|
typedef struct _Panel {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/Expert.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/Expert.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/Expert.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
|
2013-01-18 18:20:53 +01:00
|
|
|
/* This structure containts the list of all the check-buttons to display in the
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/Focus.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/Focus.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/Focus.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
|
|
|
|
typedef struct _Panel {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/FontSimple.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/FontSimple.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/FontSimple.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <fontconfig/fontconfig.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/Icons.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/Icons.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/Icons.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
|
|
|
|
typedef struct _Panel {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/KeyboardSettings.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/KeyboardSettings.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/KeyboardSettings.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
|
|
|
|
typedef struct _Panel {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/Menu.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/Menu.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/Menu.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
#include <assert.h>
|
|
|
|
#include <ctype.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/MenuPreferences.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/MenuPreferences.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/MenuPreferences.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
|
|
|
|
typedef struct _Panel {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/MouseSettings.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/MouseSettings.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/MouseSettings.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -20,6 +20,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
|
|
|
|
#include <X11/Xutil.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/Paths.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/Paths.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/Paths.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <assert.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/Preferences.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/Preferences.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/Preferences.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
|
|
|
|
typedef struct _Panel {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/TexturePanel.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/TexturePanel.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/TexturePanel.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -20,6 +20,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/Themes.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/Themes.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/Themes.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
|
|
|
|
#include <unistd.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/WPrefs.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/WPrefs.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/WPrefs.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
#include <assert.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/WindowHandling.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/WindowHandling.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/WindowHandling.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
|
|
|
|
typedef struct _Panel {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/Workspace.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/Workspace.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/Workspace.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
|
|
|
|
typedef struct _Panel {
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/double.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/double.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/double.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -4,6 +4,10 @@
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <WINGs/WINGsP.h>
|
2013-09-26 21:21:16 +02:00
|
|
|
#include "WPrefs.h"
|
2013-01-18 11:00:22 +01:00
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/editmenu.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/editmenu.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/editmenu.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <WINGs/WINGsP.h>
|
|
|
|
#include <WINGs/WUtil.h>
|
|
|
|
#include <stdlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/main.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/main.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/main.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "WPrefs.h"
|
|
|
|
|
|
|
|
#include <assert.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/WPrefs.app/xmodifier.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/WPrefs.app/xmodifier.c
|
|
|
|
+++ WindowMaker-0.95.5/WPrefs.app/xmodifier.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -31,6 +31,10 @@ Perpetrator: Sudish Joseph <sj@eng.minds
|
|
|
|
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
Boston, MA 02110-1301 USA. */
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <string.h>
|
|
|
|
#include <strings.h>
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/configure.ac
|
|
|
|
===================================================================
|
|
|
|
--- WindowMaker-0.95.5.orig/configure.ac
|
|
|
|
+++ WindowMaker-0.95.5/configure.ac
|
|
|
|
@@ -67,8 +67,9 @@ dnl AC_CANONICAL_HOST -- already done by
|
|
|
|
|
|
|
|
dnl Checks for programs.
|
|
|
|
dnl ===================
|
|
|
|
-AC_ISC_POSIX
|
|
|
|
-AC_PROG_CC
|
|
|
|
+AC_PROG_CC_STDC
|
|
|
|
+AC_USE_SYSTEM_EXTENSIONS
|
|
|
|
+AC_SYS_LARGEFILE
|
|
|
|
AC_PROG_LN_S
|
|
|
|
AC_PROG_GCC_TRADITIONAL
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
Index: WindowMaker-0.95.5/src/actions.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/actions.c
|
|
|
|
+++ WindowMaker-0.95.5/src/actions.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -20,6 +20,10 @@
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/appicon.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/appicon.c
|
|
|
|
+++ WindowMaker-0.95.5/src/appicon.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -20,6 +20,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/application.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/application.c
|
|
|
|
+++ WindowMaker-0.95.5/src/application.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/appmenu.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/appmenu.c
|
|
|
|
+++ WindowMaker-0.95.5/src/appmenu.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/balloon.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/balloon.c
|
|
|
|
+++ WindowMaker-0.95.5/src/balloon.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#ifdef BALLOON_TEXT
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/client.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/client.c
|
|
|
|
+++ WindowMaker-0.95.5/src/client.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -17,6 +17,10 @@
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/colormap.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/colormap.c
|
|
|
|
+++ WindowMaker-0.95.5/src/colormap.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -23,6 +23,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include "WindowMaker.h"
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/cycling.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/cycling.c
|
|
|
|
+++ WindowMaker-0.95.5/src/cycling.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/defaults.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/defaults.c
|
|
|
|
+++ WindowMaker-0.95.5/src/defaults.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -20,6 +20,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/dialog.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/dialog.c
|
|
|
|
+++ WindowMaker-0.95.5/src/dialog.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -20,6 +20,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/dock.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/dock.c
|
|
|
|
+++ WindowMaker-0.95.5/src/dock.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -20,6 +20,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/dockedapp.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/dockedapp.c
|
|
|
|
+++ WindowMaker-0.95.5/src/dockedapp.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/event.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/event.c
|
|
|
|
+++ WindowMaker-0.95.5/src/event.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#ifdef HAVE_INOTIFY
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/framewin.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/framewin.c
|
|
|
|
+++ WindowMaker-0.95.5/src/framewin.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/geomview.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/geomview.c
|
|
|
|
+++ WindowMaker-0.95.5/src/geomview.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <WINGs/WINGsP.h>
|
|
|
|
|
2013-09-26 21:21:16 +02:00
|
|
|
#include "geomview.h"
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/icon.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/icon.c
|
|
|
|
+++ WindowMaker-0.95.5/src/icon.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/main.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/main.c
|
|
|
|
+++ WindowMaker-0.95.5/src/main.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#ifdef HAVE_INOTIFY
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/menu.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/menu.c
|
|
|
|
+++ WindowMaker-0.95.5/src/menu.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -20,6 +20,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/misc.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/misc.c
|
|
|
|
+++ WindowMaker-0.95.5/src/misc.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -17,6 +17,10 @@
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/monitor.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/monitor.c
|
|
|
|
+++ WindowMaker-0.95.5/src/monitor.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <stdlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/motif.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/motif.c
|
|
|
|
+++ WindowMaker-0.95.5/src/motif.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#ifdef MWM_HINTS
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/moveres.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/moveres.c
|
|
|
|
+++ WindowMaker-0.95.5/src/moveres.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/osdep_bsd.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/osdep_bsd.c
|
|
|
|
+++ WindowMaker-0.95.5/src/osdep_bsd.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -11,6 +11,10 @@
|
|
|
|
#else /* OPENBSD || NETBSD */
|
|
|
|
# include <sys/param.h>
|
|
|
|
#endif
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <sys/sysctl.h>
|
|
|
|
|
|
|
|
#include <assert.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/osdep_darwin.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/osdep_darwin.c
|
|
|
|
+++ WindowMaker-0.95.5/src/osdep_darwin.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/sysctl.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/osdep_linux.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/osdep_linux.c
|
|
|
|
+++ WindowMaker-0.95.5/src/osdep_linux.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/osdep_stub.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/osdep_stub.c
|
|
|
|
+++ WindowMaker-0.95.5/src/osdep_stub.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <sys/utsname.h>
|
|
|
|
|
|
|
|
#include <WINGs/WUtil.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/pixmap.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/pixmap.c
|
|
|
|
+++ WindowMaker-0.95.5/src/pixmap.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/placement.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/placement.c
|
|
|
|
+++ WindowMaker-0.95.5/src/placement.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/properties.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/properties.c
|
|
|
|
+++ WindowMaker-0.95.5/src/properties.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/resources.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/resources.c
|
|
|
|
+++ WindowMaker-0.95.5/src/resources.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/rootmenu.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/rootmenu.c
|
|
|
|
+++ WindowMaker-0.95.5/src/rootmenu.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -20,6 +20,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/screen.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/screen.c
|
|
|
|
+++ WindowMaker-0.95.5/src/screen.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/session.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/session.c
|
|
|
|
+++ WindowMaker-0.95.5/src/session.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -57,6 +57,10 @@
|
|
|
|
* if the Die message is received, exit.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/shutdown.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/shutdown.c
|
|
|
|
+++ WindowMaker-0.95.5/src/shutdown.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/stacking.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/stacking.c
|
|
|
|
+++ WindowMaker-0.95.5/src/stacking.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/startup.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/startup.c
|
|
|
|
+++ WindowMaker-0.95.5/src/startup.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/superfluous.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/superfluous.c
|
|
|
|
+++ WindowMaker-0.95.5/src/superfluous.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/switchmenu.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/switchmenu.c
|
|
|
|
+++ WindowMaker-0.95.5/src/switchmenu.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/switchpanel.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/switchpanel.c
|
|
|
|
+++ WindowMaker-0.95.5/src/switchpanel.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
2013-09-26 21:21:16 +02:00
|
|
|
#include <stdint.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/texture.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/texture.c
|
|
|
|
+++ WindowMaker-0.95.5/src/texture.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/usermenu.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/usermenu.c
|
|
|
|
+++ WindowMaker-0.95.5/src/usermenu.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -56,6 +56,10 @@
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#ifdef USER_MENU
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/wcore.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/wcore.c
|
|
|
|
+++ WindowMaker-0.95.5/src/wcore.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/wdefaults.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/wdefaults.c
|
|
|
|
+++ WindowMaker-0.95.5/src/wdefaults.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/window.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/window.c
|
|
|
|
+++ WindowMaker-0.95.5/src/window.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/winmenu.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/winmenu.c
|
|
|
|
+++ WindowMaker-0.95.5/src/winmenu.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/winspector.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/winspector.c
|
|
|
|
+++ WindowMaker-0.95.5/src/winspector.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -20,6 +20,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/wmspec.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/wmspec.c
|
|
|
|
+++ WindowMaker-0.95.5/src/wmspec.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -28,6 +28,10 @@
|
|
|
|
* return to be Success is not enough. -Dan
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/workspace.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/workspace.c
|
|
|
|
+++ WindowMaker-0.95.5/src/workspace.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/xdnd.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/xdnd.c
|
|
|
|
+++ WindowMaker-0.95.5/src/xdnd.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,5 +1,9 @@
|
|
|
|
/* Many part of code are ripped of an example from JX's site */
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#ifdef XDND
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/xinerama.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/xinerama.c
|
|
|
|
+++ WindowMaker-0.95.5/src/xinerama.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include "xinerama.h"
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/xmodifier.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/xmodifier.c
|
|
|
|
+++ WindowMaker-0.95.5/src/xmodifier.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -27,6 +27,10 @@ Perpetrator: Sudish Joseph <sj@eng.minds
|
|
|
|
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
Boston, MA 02110-1301 USA. */
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wconfig.h"
|
|
|
|
|
|
|
|
#include <string.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/src/xutil.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/src/xutil.c
|
|
|
|
+++ WindowMaker-0.95.5/src/xutil.c
|
2013-09-26 21:21:16 +02:00
|
|
|
@@ -19,6 +19,10 @@
|
|
|
|
* MA 02110-1301, USA.
|
2013-01-18 11:00:22 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <X11/Xutil.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/test/notest.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/test/notest.c
|
|
|
|
+++ WindowMaker-0.95.5/test/notest.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -3,6 +3,10 @@
|
|
|
|
* TODO: remake
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
#include <X11/Xutil.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/test/wtest.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/test/wtest.c
|
|
|
|
+++ WindowMaker-0.95.5/test/wtest.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -8,6 +8,10 @@
|
|
|
|
* TODO: remake
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/util/convertfonts.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/util/convertfonts.c
|
|
|
|
+++ WindowMaker-0.95.5/util/convertfonts.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -23,6 +23,10 @@
|
|
|
|
#define _GNU_SOURCE /* getopt_long */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <sys/stat.h>
|
|
|
|
|
|
|
|
#include <getopt.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/util/fontconv.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/util/fontconv.c
|
|
|
|
+++ WindowMaker-0.95.5/util/fontconv.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/util/geticonset.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/util/geticonset.c
|
|
|
|
+++ WindowMaker-0.95.5/util/geticonset.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -23,6 +23,10 @@
|
|
|
|
#define _GNU_SOURCE /* getopt_long */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <getopt.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/util/getstyle.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/util/getstyle.c
|
|
|
|
+++ WindowMaker-0.95.5/util/getstyle.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -23,6 +23,10 @@
|
|
|
|
#define _GNU_SOURCE /* getopt_long */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/util/seticons.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/util/seticons.c
|
|
|
|
+++ WindowMaker-0.95.5/util/seticons.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -23,6 +23,10 @@
|
|
|
|
#define _GNU_SOURCE /* getopt_long */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <getopt.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/util/setstyle.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/util/setstyle.c
|
|
|
|
+++ WindowMaker-0.95.5/util/setstyle.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -23,6 +23,10 @@
|
|
|
|
#define _GNU_SOURCE /* getopt_long */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <sys/stat.h>
|
|
|
|
|
|
|
|
#include <getopt.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/util/wdread.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/util/wdread.c
|
|
|
|
+++ WindowMaker-0.95.5/util/wdread.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -28,6 +28,10 @@
|
|
|
|
* WindowMaker defaults DB reader
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <getopt.h>
|
|
|
|
#include <limits.h>
|
|
|
|
#include <stdio.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/util/wdwrite.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/util/wdwrite.c
|
|
|
|
+++ WindowMaker-0.95.5/util/wdwrite.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -28,6 +28,10 @@
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <getopt.h>
|
|
|
|
#include <limits.h>
|
|
|
|
#include <stdio.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/util/wmagnify.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/util/wmagnify.c
|
|
|
|
+++ WindowMaker-0.95.5/util/wmagnify.c
|
2013-09-26 21:21:16 +02:00
|
|
|
@@ -7,6 +7,10 @@
|
2013-01-18 11:00:22 +01:00
|
|
|
*/
|
2013-09-26 21:21:16 +02:00
|
|
|
#include <config.h>
|
2013-01-18 11:00:22 +01:00
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <X11/Xproto.h>
|
|
|
|
|
|
|
|
#include <WINGs/WINGs.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/util/wmgenmenu.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/util/wmgenmenu.c
|
|
|
|
+++ WindowMaker-0.95.5/util/wmgenmenu.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -4,6 +4,10 @@
|
|
|
|
#define _GNU_SOURCE /* getopt_long */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <getopt.h>
|
|
|
|
#include <limits.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/util/wmmenugen.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/util/wmmenugen.c
|
|
|
|
+++ WindowMaker-0.95.5/util/wmmenugen.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/util/wmmenugen_misc.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/util/wmmenugen_misc.c
|
|
|
|
+++ WindowMaker-0.95.5/util/wmmenugen_misc.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -20,6 +20,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <libgen.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/util/wmmenugen_parse_wmconfig.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/util/wmmenugen_parse_wmconfig.c
|
|
|
|
+++ WindowMaker-0.95.5/util/wmmenugen_parse_wmconfig.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -20,6 +20,10 @@
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/util/wmmenugen_parse_xdg.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/util/wmmenugen_parse_xdg.c
|
|
|
|
+++ WindowMaker-0.95.5/util/wmmenugen_parse_xdg.c
|
2013-01-18 11:00:22 +01:00
|
|
|
@@ -36,6 +36,10 @@
|
|
|
|
* Basic validation of the .desktop file is done.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/util/wxcopy.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/util/wxcopy.c
|
|
|
|
+++ WindowMaker-0.95.5/util/wxcopy.c
|
2013-09-26 21:21:16 +02:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* MA 02110-1301, USA.
|
2013-01-18 11:00:22 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/wmlib/app.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/wmlib/app.c
|
|
|
|
+++ WindowMaker-0.95.5/wmlib/app.c
|
2013-09-26 21:21:16 +02:00
|
|
|
@@ -20,6 +20,10 @@
|
|
|
|
* MA 02110-1301, USA.
|
2013-01-18 11:00:22 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/wmlib/command.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/wmlib/command.c
|
|
|
|
+++ WindowMaker-0.95.5/wmlib/command.c
|
2013-09-26 21:21:16 +02:00
|
|
|
@@ -20,6 +20,10 @@
|
|
|
|
* MA 02110-1301, USA.
|
2013-01-18 11:00:22 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/wmlib/event.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/wmlib/event.c
|
|
|
|
+++ WindowMaker-0.95.5/wmlib/event.c
|
2013-09-26 21:21:16 +02:00
|
|
|
@@ -20,6 +20,10 @@
|
|
|
|
* MA 02110-1301, USA.
|
2013-01-18 11:00:22 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <X11/Xlib.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/wmlib/menu.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/wmlib/menu.c
|
|
|
|
+++ WindowMaker-0.95.5/wmlib/menu.c
|
2013-09-26 21:21:16 +02:00
|
|
|
@@ -20,6 +20,10 @@
|
|
|
|
* MA 02110-1301, USA.
|
2013-01-18 11:00:22 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/wrlib/alpha_combine.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/wrlib/alpha_combine.c
|
|
|
|
+++ WindowMaker-0.95.5/wrlib/alpha_combine.c
|
2013-09-26 21:21:16 +02:00
|
|
|
@@ -18,6 +18,10 @@
|
|
|
|
* MA 02110-1301, USA.
|
2013-01-18 11:00:22 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "wraster.h"
|
|
|
|
|
|
|
|
void RCombineAlpha(unsigned char *d, unsigned char *s, int s_has_alpha,
|
2014-07-04 13:05:43 +02:00
|
|
|
Index: WindowMaker-0.95.5/wrlib/gif.c
|
2013-01-18 18:20:53 +01:00
|
|
|
===================================================================
|
2014-07-04 13:05:43 +02:00
|
|
|
--- WindowMaker-0.95.5.orig/wrlib/gif.c
|
|
|
|
+++ WindowMaker-0.95.5/wrlib/gif.c
|
2013-09-26 21:21:16 +02:00
|
|
|
@@ -52,17 +52,24 @@ RImage *RLoadGIF(const char *file, int i
|
2013-01-18 11:00:22 +01:00
|
|
|
unsigned char rmap[256];
|
|
|
|
unsigned char gmap[256];
|
|
|
|
unsigned char bmap[256];
|
|
|
|
+ int dgiferr;
|
|
|
|
|
|
|
|
if (index < 0)
|
|
|
|
index = 0;
|
|
|
|
|
|
|
|
/* default error message */
|
|
|
|
RErrorCode = RERR_BADINDEX;
|
|
|
|
-
|
|
|
|
+#if defined(GIFLIB_MAJOR) && (GIFLIB_MAJOR >= 5)
|
|
|
|
+ gif = DGifOpenFileName(file, &dgiferr);
|
|
|
|
+#else
|
|
|
|
gif = DGifOpenFileName(file);
|
|
|
|
-
|
|
|
|
+#endif
|
|
|
|
if (!gif) {
|
|
|
|
+#if defined(GIFLIB_MAJOR) && (GIFLIB_MAJOR >= 5)
|
|
|
|
+ switch (dgiferr) {
|
|
|
|
+#else
|
|
|
|
switch (GifLastError()) {
|
|
|
|
+#endif
|
|
|
|
case D_GIF_ERR_OPEN_FAILED:
|
|
|
|
RErrorCode = RERR_OPEN;
|
|
|
|
break;
|
2014-07-04 13:05:43 +02:00
|
|
|
@@ -77,7 +84,11 @@ RImage *RLoadGIF(const char *file, int i
|
|
|
|
}
|
|
|
|
|
|
|
|
if (gif->SWidth < 1 || gif->SHeight < 1) {
|
|
|
|
+#if defined(GIFLIB_MAJOR) && (GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5)
|
|
|
|
+ DGifCloseFile(gif, NULL);
|
|
|
|
+#else
|
|
|
|
DGifCloseFile(gif);
|
|
|
|
+#endif
|
|
|
|
RErrorCode = RERR_BADIMAGEFILE;
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
@@ -199,7 +210,11 @@ RImage *RLoadGIF(const char *file, int i
|
2013-01-18 11:00:22 +01:00
|
|
|
/* yuck! */
|
|
|
|
goto did_not_get_any_errors;
|
|
|
|
giferr:
|
|
|
|
+#if defined(GIFLIB_MAJOR) && (GIFLIB_MAJOR >= 5)
|
|
|
|
+ switch (gif->Error) {
|
|
|
|
+#else
|
|
|
|
switch (GifLastError()) {
|
|
|
|
+#endif
|
|
|
|
case D_GIF_ERR_OPEN_FAILED:
|
|
|
|
RErrorCode = RERR_OPEN;
|
|
|
|
break;
|
2014-07-04 13:05:43 +02:00
|
|
|
@@ -219,8 +234,13 @@ RImage *RLoadGIF(const char *file, int i
|
|
|
|
if (buffer)
|
|
|
|
free(buffer);
|
|
|
|
|
|
|
|
- if (gif)
|
|
|
|
+ if (gif) {
|
|
|
|
+#if defined(GIFLIB_MAJOR) && (GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5)
|
|
|
|
+ DGifCloseFile(gif, NULL);
|
|
|
|
+#else
|
|
|
|
DGifCloseFile(gif);
|
|
|
|
+#endif
|
|
|
|
+ }
|
|
|
|
|
|
|
|
return image;
|
|
|
|
}
|
|
|
|
Index: WindowMaker-0.95.5/wrlib/tests/testdraw.c
|
|
|
|
===================================================================
|
|
|
|
--- WindowMaker-0.95.5.orig/wrlib/tests/testdraw.c
|
|
|
|
+++ WindowMaker-0.95.5/wrlib/tests/testdraw.c
|
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
#include "wraster.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
Index: WindowMaker-0.95.5/wrlib/tests/testgrad.c
|
|
|
|
===================================================================
|
|
|
|
--- WindowMaker-0.95.5.orig/wrlib/tests/testgrad.c
|
|
|
|
+++ WindowMaker-0.95.5/wrlib/tests/testgrad.c
|
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
#include "wraster.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
Index: WindowMaker-0.95.5/wrlib/tests/testrot.c
|
|
|
|
===================================================================
|
|
|
|
--- WindowMaker-0.95.5.orig/wrlib/tests/testrot.c
|
|
|
|
+++ WindowMaker-0.95.5/wrlib/tests/testrot.c
|
|
|
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
#include "wraster.h"
|
|
|
|
#include <stdlib.h>
|
|
|
|
Index: WindowMaker-0.95.5/wrlib/tests/view.c
|
|
|
|
===================================================================
|
|
|
|
--- WindowMaker-0.95.5.orig/wrlib/tests/view.c
|
|
|
|
+++ WindowMaker-0.95.5/wrlib/tests/view.c
|
|
|
|
@@ -1,3 +1,7 @@
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
|
|
+#include "config.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
#include "wraster.h"
|
|
|
|
#include <stdlib.h>
|