Skip to content

Commit 33c31d5

Browse files
committed
patch 7.4.1390
Problem: When building with GTK and glib-compile-resources cannot be found building Vim fails. (Michael Gehring) Solution: Make GLIB_COMPILE_RESOURCES empty instead of leaving it at "no". (nuko8, closes #655)
1 parent b2bd6a0 commit 33c31d5

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

src/auto/configure

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9052,7 +9052,7 @@ $as_echo_n "checking version of Gdk-Pixbuf... " >&6; }
90529052
gdk_pixbuf_version_minor=`echo $gdk_pixbuf_version | \
90539053
sed -e 's/[0-9][0-9]*\.\([0-9][0-9]*\)\.[0-9][0-9]*/\1/'`
90549054
if test "x$gdk_pixbuf_version_minor" != x -a \
9055-
$gdk_pixbuf_version_minor -ge 31 ; then
9055+
$gdk_pixbuf_version_minor -ge 31 ; then
90569056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: OK." >&5
90579057
$as_echo "OK." >&6; }
90589058
# Extract the first word of "glib-compile-resources", so it can be a program name with args.
@@ -9099,15 +9099,16 @@ fi
90999099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking glib-compile-resources" >&5
91009100
$as_echo_n "checking glib-compile-resources... " >&6; }
91019101
if test "x$GLIB_COMPILE_RESOURCES" = xno ; then
9102-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot be found in PATH." >&5
9102+
GLIB_COMPILE_RESOURCES=""
9103+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot be found in PATH." >&5
91039104
$as_echo "cannot be found in PATH." >&6; }
91049105
else
91059106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: usable." >&5
91069107
$as_echo "usable." >&6; }
9107-
$as_echo "#define USE_GRESOURCE 1" >>confdefs.h
9108+
$as_echo "#define USE_GRESOURCE 1" >>confdefs.h
91089109

9109-
GRESOURCE_SRC="auto/gui_gtk_gresources.c"
9110-
GRESOURCE_OBJ="objects/gui_gtk_gresources.o"
9110+
GRESOURCE_SRC="auto/gui_gtk_gresources.c"
9111+
GRESOURCE_OBJ="objects/gui_gtk_gresources.o"
91119112
fi
91129113
else
91139114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not usable." >&5

src/configure.in

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2610,17 +2610,18 @@ if test "x$GUITYPE" = "xGTK"; then
26102610
gdk_pixbuf_version_minor=`echo $gdk_pixbuf_version | \
26112611
sed -e 's/[[0-9]][[0-9]]*\.\([[0-9]][[0-9]]*\)\.[[0-9]][[0-9]]*/\1/'`
26122612
if test "x$gdk_pixbuf_version_minor" != x -a \
2613-
$gdk_pixbuf_version_minor -ge 31 ; then
2613+
$gdk_pixbuf_version_minor -ge 31 ; then
26142614
AC_MSG_RESULT([OK.])
26152615
AC_PATH_PROG(GLIB_COMPILE_RESOURCES,[glib-compile-resources],no)
26162616
AC_MSG_CHECKING([glib-compile-resources])
26172617
if test "x$GLIB_COMPILE_RESOURCES" = xno ; then
2618-
AC_MSG_RESULT([cannot be found in PATH.])
2618+
GLIB_COMPILE_RESOURCES=""
2619+
AC_MSG_RESULT([cannot be found in PATH.])
26192620
else
26202621
AC_MSG_RESULT([usable.])
2621-
AC_DEFINE(USE_GRESOURCE)
2622-
GRESOURCE_SRC="auto/gui_gtk_gresources.c"
2623-
GRESOURCE_OBJ="objects/gui_gtk_gresources.o"
2622+
AC_DEFINE(USE_GRESOURCE)
2623+
GRESOURCE_SRC="auto/gui_gtk_gresources.c"
2624+
GRESOURCE_OBJ="objects/gui_gtk_gresources.o"
26242625
fi
26252626
else
26262627
AC_MSG_RESULT([not usable.])

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,8 @@ static char *(features[]) =
748748

749749
static int included_patches[] =
750750
{ /* Add new patch number below this line */
751+
/**/
752+
1390,
751753
/**/
752754
1389,
753755
/**/

0 commit comments

Comments
 (0)