patches/openldev-01-gccisms.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 356 abd8f57e4713
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
356
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     1
--- openldev/openldev/openldev-settings/openldev-settings.cc.orig	2007-07-28 16:23:03.779541561 +0700
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     2
+++ openldev/openldev/openldev-settings/openldev-settings.cc	2007-07-28 16:22:09.914588120 +0700
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     3
@@ -17,6 +17,7 @@
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     4
  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     5
  ***************************************************************************/
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     6
  
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     7
+#include <string.h>
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     8
 #include "openldev-settings.h"
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     9
 
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    10
 #define PATH "/apps/openldev"
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    11
--- openldev/openldev/openldev-settings/openldev-xml-parser.cc.orig	2007-07-28 16:23:16.878498689 +0700
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    12
+++ openldev/openldev/openldev-settings/openldev-xml-parser.cc	2007-07-28 16:23:42.389721172 +0700
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    13
@@ -17,6 +17,7 @@
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    14
  *   59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.              *
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    15
  ***************************************************************************/
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    16
 
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    17
+#include <string.h>
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    18
 #include "openldev-xml-parser.h"
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    19
 #include <cstring>
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    20
 
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    21
--- openldev/openldev/openldev-widgets/openldev-output-build.cc.orig	2007-07-28 16:27:37.347871150 +0700
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    22
+++ openldev/openldev/openldev-widgets/openldev-output-build.cc	2007-07-28 16:27:58.065346607 +0700
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    23
@@ -18,6 +18,8 @@
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    24
  ***************************************************************************/
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    25
 
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    26
 #include "openldev-output-build.h"
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    27
+#include <sys/types.h>
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    28
+#include <signal.h>
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    29
 
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    30
 void erase (OutputBuild*);
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    31
 void add_row (OutputBuild*, string, string);
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    32
--- openldev/openldev/openldev-widgets/openldev-status-bar.h.orig	2007-07-28 16:25:58.049632548 +0700
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    33
+++ openldev/openldev/openldev-widgets/openldev-status-bar.h	2007-07-28 16:26:28.831440646 +0700
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    34
@@ -58,17 +58,17 @@
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    35
   \param bar A StatusBar object.
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    36
   \param message The message to show on the status bar.
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    37
 */
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    38
-void openldev_status_bar_set_message (StatusBar *bar, gint bar, gchar *message);
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    39
+void openldev_status_bar_set_message (StatusBar *statusbar, gint bar, gchar *message);
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    40
 
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    41
 /*! Set the current message on the status bar. This message is locked, so other parts of the application cannot edit it. Make sure to unlock the message when you are done! This will append a message on the stack, so when you unlock the message, it will revert to the prior.
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    42
   \param bar A StatusBar object.
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    43
   \param message The message to show on the status bar.
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    44
 */
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    45
-void openldev_status_bar_lock_message (StatusBar *bar, gint bar, gchar *message);
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    46
+void openldev_status_bar_lock_message (StatusBar *statusbar, gint bar, gchar *message);
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    47
 
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    48
 /*! Unlock the status bar message and revert to the prior message. Make sure you do this when locking is no longer necessary!
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    49
   \param bar A StatusBar object.
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    50
 */
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    51
-void openldev_status_bar_unlock_message (StatusBar *bar, gint bar);
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    52
+void openldev_status_bar_unlock_message (StatusBar *statusbar, gint bar);
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    53
 
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    54
 #endif
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    55
--- openldev/openldev/openldev-widgets/openldev-output-terminal.cc.orig	2007-07-28 16:28:23.452744610 +0700
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    56
+++ openldev/openldev/openldev-widgets/openldev-output-terminal.cc	2007-07-28 16:28:45.931186632 +0700
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    57
@@ -18,6 +18,7 @@
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    58
  ***************************************************************************/
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    59
 
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    60
 #include "openldev-output-terminal.h"
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    61
+#include <string.h>
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    62
 
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    63
 static void terminal_class_init (TerminalClass *klass);
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    64
 static void terminal_init (Terminal *term);
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    65
--- openldev/plugins/insert-info/insert-info.cc.orig	2007-07-28 16:31:53.992779235 +0700
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    66
+++ openldev/plugins/insert-info/insert-info.cc	2007-07-28 16:32:55.111341396 +0700
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    67
@@ -180,6 +180,7 @@
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    68
   if (event->type == GDK_KEY_PRESS ||
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    69
       event->type == GDK_KEY_RELEASE)
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    70
   refresh_date (gtk_entry_get_text (GTK_ENTRY (widget)), (GtkWidget*) data);
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    71
+  return(true);
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    72
 }
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    73
 
abd8f57e4713 2007-07-28 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    74
 // Insert user name