mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 15:10:35 -04:00
2: Add sf.net to MASTER_SITE. 3: make other ports BROKEN on 4-X. PR: ports/70326 Submitted by: maintainer
95 lines
4 KiB
Text
95 lines
4 KiB
Text
--- src/scim_event.cpp.orig Wed Aug 4 19:20:29 2004
|
|
+++ src/scim_event.cpp Wed Aug 4 19:20:49 2004
|
|
@@ -25,6 +25,7 @@
|
|
#define Uses_SCIM_EVENT
|
|
#include "scim_private.h"
|
|
#include "scim.h"
|
|
+#include <cstdio>
|
|
|
|
namespace scim {
|
|
|
|
--- src/scim_global_config.cpp.orig Wed Aug 4 19:22:06 2004
|
|
+++ src/scim_global_config.cpp Wed Aug 4 19:22:10 2004
|
|
@@ -32,6 +32,7 @@
|
|
#include <sys/stat.h>
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
+#include <cstdio>
|
|
|
|
#include "scim_private.h"
|
|
#include "scim.h"
|
|
--- modules/IMEngine/scim_socket_imengine.cpp.orig Wed Aug 4 19:25:53 2004
|
|
+++ modules/IMEngine/scim_socket_imengine.cpp Wed Aug 4 19:26:50 2004
|
|
@@ -39,6 +39,7 @@
|
|
#include "scim.h"
|
|
#include "scim_socket_imengine.h"
|
|
#include <unistd.h>
|
|
+#include <cstdio>
|
|
|
|
#define scim_module_init socket_LTX_scim_module_init
|
|
#define scim_module_exit socket_LTX_scim_module_exit
|
|
--- modules/Config/scim_gconf_config.cpp.orig Wed Aug 4 19:42:16 2004
|
|
+++ modules/Config/scim_gconf_config.cpp Wed Aug 4 19:49:22 2004
|
|
@@ -34,6 +34,7 @@
|
|
#include "scim_private.h"
|
|
#include "scim.h"
|
|
#include "scim_gconf_config.h"
|
|
+#include <cstdio>
|
|
|
|
#define scim_module_init gconf_LTX_scim_module_init
|
|
#define scim_module_exit gconf_LTX_scim_module_exit
|
|
@@ -496,11 +498,11 @@
|
|
std::vector <String> strs;
|
|
if (scim_split_string_list (strs, str, ':') == 2) {
|
|
time_t sec = (time_t) strtol (strs [0].c_str (), 0, 10);
|
|
- suseconds_t usec = (suseconds_t) strtol (strs [1].c_str (), 0, 10);
|
|
+ long usec = (long) strtol (strs [1].c_str (), 0, 10);
|
|
// The config file is newer, so load it.
|
|
if (m_update_timestamp.tv_sec < sec || (m_update_timestamp.tv_sec == sec && m_update_timestamp.tv_usec < usec)) {
|
|
m_update_timestamp.tv_sec = (time_t) sec;
|
|
- m_update_timestamp.tv_usec = (suseconds_t) usec;
|
|
+ m_update_timestamp.tv_usec = (long) usec;
|
|
m_need_reload = true;
|
|
}
|
|
}
|
|
--- modules/Config/scim_simple_config.cpp.orig Wed Aug 4 19:50:05 2004
|
|
+++ modules/Config/scim_simple_config.cpp Wed Aug 4 19:50:46 2004
|
|
@@ -596,13 +596,13 @@
|
|
std::vector <String> strs;
|
|
if (scim_split_string_list (strs, it->second, ':') == 2) {
|
|
time_t sec = (time_t) strtol (strs [0].c_str (), 0, 10);
|
|
- suseconds_t usec = (suseconds_t) strtol (strs [1].c_str (), 0, 10);
|
|
+ long usec = (long) strtol (strs [1].c_str (), 0, 10);
|
|
|
|
// The config file is newer, so load it.
|
|
if (m_update_timestamp.tv_sec < sec || (m_update_timestamp.tv_sec == sec && m_update_timestamp.tv_usec < usec)) {
|
|
m_config.swap (config);
|
|
m_update_timestamp.tv_sec = (time_t) sec;
|
|
- m_update_timestamp.tv_usec = (suseconds_t) usec;
|
|
+ m_update_timestamp.tv_usec = (long) usec;
|
|
return true;
|
|
}
|
|
}
|
|
--- modules/Config/scim_socket_config.cpp.orig Wed Aug 4 19:51:15 2004
|
|
+++ modules/Config/scim_socket_config.cpp Wed Aug 4 19:51:44 2004
|
|
@@ -581,7 +581,7 @@
|
|
std::vector <String> strs;
|
|
if (scim_split_string_list (strs, str, ':') == 2) {
|
|
time_t sec = (time_t) strtol (strs [0].c_str (), 0, 10);
|
|
- suseconds_t usec = (suseconds_t) strtol (strs [1].c_str (), 0, 10);
|
|
+ long usec = (long) strtol (strs [1].c_str (), 0, 10);
|
|
|
|
// The config file is newer, so load it.
|
|
if (m_update_timestamp.tv_sec < sec ||
|
|
--- modules/IMEngine/Makefile.in.orig Thu Aug 5 16:55:50 2004
|
|
+++ modules/IMEngine/Makefile.in Thu Aug 5 16:57:34 2004
|
|
@@ -74,8 +74,7 @@
|
|
libgenerictable.la
|
|
am_table_la_OBJECTS = scim_table_imengine.lo
|
|
table_la_OBJECTS = $(am_table_la_OBJECTS)
|
|
-@SCIM_BUILD_IMENGINE_TABLE_TRUE@am__EXEEXT_1 = \
|
|
-@SCIM_BUILD_IMENGINE_TABLE_TRUE@ scim-make-table$(EXEEXT)
|
|
+@SCIM_BUILD_IMENGINE_TABLE_TRUE@am__EXEEXT_1 =
|
|
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
|
PROGRAMS = $(bin_PROGRAMS)
|
|
am_scim_make_table_OBJECTS = scim_make_table.$(OBJEXT)
|