patches/gobby-01-prototype.diff
author trisk
Sat, 18 Aug 2007 12:48:34 +0000
changeset 415 719739929d2d
permissions -rw-r--r--
2007-08-18 Albert Lee <[email protected]> * SFEavahi.spec: Bump to 0.6.21, add avahi-01-dbus.diff * SFEcairomm.spec: Bump to 1.4.2 * SFEf-spot.spec: Bump to 0.4.0, add f-spot-01-solaris.diff * SFEgd.spec: Bump to 2.0.35 * SFEglibmm.spec: Bump to 2.12.10 * SFEgobby.spec: *NEW* Gobby distributed editor * SFEgraphviz.spec: Bump to 2.14, update dependencies * SFEgtkmm.spec: Bump to 2.10.11 * SFEguile.spec: Bump to 1.8.2 * SFEjokosher.spec: Update dependencies and paths * SFElibdaemon.spec: Bump to 0.12 * SFElibxmlpp.spec: Bump to 2.19.1 * SFEnet6.spec: Bump to 1.3.5, add URL * SFEobby.spec: Bump to 0.4.4, add URL * patches/avahi-01-avahi-utils_stdb.c-prototype.diff: Remove, merged upstream * patches/avahi-01-dbus.diff: *NEW* Allow dbus backwards compatibility * patches/f-spot-01-solaris.diff: *NEW* Patch for Solaris compatibility * patches/ffmpeg-03-v4l2.diff: Try v4l2 read if mmap fails * patches/gobby-01-prototype.diff: *NEW* Add missing includes * patches/gobby-02-const.diff: *NEW* Preserve const-correctness * patches/gobby-03-auto_ptr.diff: *NEW* Fix auto_ptr assignments * patches/graphviz-01-tclsh.diff: Remove, merged upstream * patches/graphviz-02-ruby-lib.diff: Remove, not needed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
415
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     1
--- gobby-0.4.4.orig/src/ipc.cpp	2007年  6月 15日 五 16:02:16
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     2
+++ gobby-0.4.4/src/ipc.cpp	2007年  8月 17日 五 19:19:10
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     3
@@ -26,6 +26,9 @@
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     4
 
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     5
 #include <glibmm/pattern.h>
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     6
 #include <sys/stat.h>
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     7
+#ifndef WIN32
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     8
+#include <unistd.h>
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     9
+#endif
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    10
 #include "ipc.hpp"
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    11
 
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    12
 namespace
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    13
--- gobby-0.4.4.orig/src/main.cpp	2007年  6月 15日 五 17:52:32
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    14
+++ gobby-0.4.4/src/main.cpp	2007年  8月 17日 五 22:07:41
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    15
@@ -17,6 +17,7 @@
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    16
  */
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    17
 
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    18
 #include <iostream>
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    19
+#include <locale.h>
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    20
 #include <gtkmm/main.h>
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    21
 #include <gtkmm/messagedialog.h>
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    22
 #include <glibmm/optionentry.h>