mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* configure.in: Don't need to patch libtool for darwin anymore.
Patch by David Reiser. * src/gnome-utils/dialog-preferences.c: fix non-C99 construct so the file builds again. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14288 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
877ddc61d9
commit
ecf8603602
@ -1,3 +1,10 @@
|
||||
2006-06-01 Derek Atkins <derek@ihtfp.com>
|
||||
|
||||
* configure.in: Don't need to patch libtool for darwin anymore.
|
||||
Patch by David Reiser.
|
||||
* src/gnome-utils/dialog-preferences.c: fix non-C99 construct so
|
||||
the file builds again.
|
||||
|
||||
2006-06-01 Andreas Köhler <andi5.py@gmx.net>
|
||||
|
||||
* src/gnome-utils/dialog-preferences.c: Do not try to find
|
||||
|
17
configure.in
17
configure.in
@ -213,14 +213,15 @@ case $host_os in
|
||||
update to latest darwin])
|
||||
;;
|
||||
darwin*)
|
||||
AC_CHECK_HEADERS(popt.h)
|
||||
AC_MSG_RESULT([yes, patching libtool to always build dylibs])
|
||||
mv libtool libtool.old
|
||||
${SED} -e 's/^deplibs_check_method.*/deplibs_check_method=pass_all/g' \
|
||||
-e 's|^library_names_spec.*|library_names_spec="\\$libname\\$release\\$versuffix.dylib \\$libname\\$release\\${major}.dylib \\$libname.dylib"|g' \
|
||||
-e 's|^soname_spec.*|soname_spec="\\$libname\\$release\\$major.dylib"|g' \
|
||||
< libtool.old > libtool
|
||||
rm libtool.old
|
||||
AC_MSG_RESULT([yes, moving on...])
|
||||
# AC_CHECK_HEADERS(popt.h)
|
||||
# AC_MSG_RESULT([yes, patching libtool to always build dylibs])
|
||||
# mv libtool libtool.old
|
||||
# ${SED} -e 's/^deplibs_check_method.*/deplibs_check_method=pass_all/g' \
|
||||
# -e 's|^library_names_spec.*|library_names_spec="\\$libname\\$release\\$versuffix.dylib \\$libname\\$release\\${major}.dylib \\$libname.dylib"|g' \
|
||||
# -e 's|^soname_spec.*|soname_spec="\\$libname\\$release\\$major.dylib"|g' \
|
||||
# < libtool.old > libtool
|
||||
# rm libtool.old
|
||||
;;
|
||||
*)
|
||||
AC_MSG_RESULT(no)
|
||||
|
@ -335,7 +335,7 @@ struct copy_data {
|
||||
static GtkWidget *
|
||||
gnc_prefs_find_page (GtkNotebook *notebook, const gchar *name)
|
||||
{
|
||||
int n_pages;
|
||||
int n_pages, i;
|
||||
GtkWidget *child;
|
||||
const gchar *child_name;
|
||||
|
||||
@ -346,7 +346,7 @@ gnc_prefs_find_page (GtkNotebook *notebook, const gchar *name)
|
||||
|
||||
n_pages = gtk_notebook_get_n_pages (notebook);
|
||||
|
||||
for (int i=0; i<n_pages; i++) {
|
||||
for (i=0; i<n_pages; i++) {
|
||||
child = gtk_notebook_get_nth_page (notebook, i);
|
||||
g_return_val_if_fail (child, NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user