Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ykoba:m17n
uim_backports
fix-build_various.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-build_various.patch of Package uim_backports
--- ./configure.ac.orig 2018-05-12 06:26:13.000000000 +0900 +++ ./configure.ac 2024-08-29 10:20:23.691947541 +0900 @@ -578,7 +578,8 @@ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include <stdio.h> -int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');} +#include <stdlib.h> +int main(void){char b[5];snprintf(b,5,"123456789");return b[4]!='\0';} ]])], [AC_MSG_RESULT(yes)], [ @@ -601,6 +602,7 @@ [AC_LANG_SOURCE([[ #include <sys/types.h> #include <stdio.h> +#include <stdlib.h> #include <stdarg.h> int x_snprintf(char *str,size_t count,const char *fmt,...) @@ -673,6 +675,7 @@ fi dnl cred related +AC_CHECK_TYPES([struct sockcred], [], [],[[#include <sys/socket.h>]]) AC_CACHE_CHECK([for struct cmsgcred], ac_cv_have_struct_cmsgcred, [ AC_TRY_COMPILE( [ @@ -864,7 +867,7 @@ if test "x$enable_gnome3_applet" = xyes; then AC_ARG_WITH([libpanel-applet-dir], [], [LIBPANEL_APPLET_DIR=$withval], [LIBPANEL_APPLET_DIR=""]) - if test "$LIBPANEL_APPLET_DIR" == ""; then + if test "$LIBPANEL_APPLET_DIR" = ""; then LIBPANEL_APPLET_DIR=`$PKG_CONFIG --variable=libpanel_applet_dir libpanel-applet` fi AC_SUBST(LIBPANEL_APPLET_DIR) @@ -1171,6 +1174,7 @@ AM_CONDITIONAL(DEFAULT_TOOLKIT_QT, test "x$default_toolkit" = xqt) AM_CONDITIONAL(DEFAULT_TOOLKIT_QT4, test "x$default_toolkit" = xqt4) AM_CONDITIONAL(DEFAULT_TOOLKIT_QT5, test "x$default_toolkit" = xqt5) +AC_SUBST(default_toolkit) AC_ARG_ENABLE(fep, AC_HELP_STRING([--disable-fep], @@ -1311,8 +1315,8 @@ if test "x$with_libedit" = xyes; then libedit_path=/usr else - with_libedit=yes libedit_path="$with_libedit" + with_libedit=yes fi saved_CPPFLAGS=$CPPFLAGS --- ./xim/main.cpp.orig 2017-08-14 09:07:27.000000000 +0900 +++ ./xim/main.cpp 2024-08-18 02:48:53.812877110 +0900 @@ -65,7 +65,7 @@ int scr_width, scr_height; int host_byte_order; -#define VERSION_NAME "uim-xim under the way! Version "PACKAGE_VERSION"\n" +#define VERSION_NAME "uim-xim under the way! Version " PACKAGE_VERSION "\n" const char *version_name=VERSION_NAME; const char *usage= "--help , --version :Show usage or version\n"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor