diff options
| author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-30 03:41:13 +0800 |
|---|---|---|
| committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-30 03:41:13 +0800 |
| commit | cc5f7fb2371d3252aa5bc469a73754cc4ab02133 (patch) | |
| tree | 76b05783c2765c289ce96f2ac9829a52bcd4c4fa /math/gnumeric/files | |
| parent | 42e1d052cd9d135da30fd4ece32cdb15f0c377ca (diff) | |
| download | marcuscom-ports-cc5f7fb2371d3252aa5bc469a73754cc4ab02133.tar marcuscom-ports-cc5f7fb2371d3252aa5bc469a73754cc4ab02133.tar.gz marcuscom-ports-cc5f7fb2371d3252aa5bc469a73754cc4ab02133.tar.bz2 marcuscom-ports-cc5f7fb2371d3252aa5bc469a73754cc4ab02133.tar.lz marcuscom-ports-cc5f7fb2371d3252aa5bc469a73754cc4ab02133.tar.xz marcuscom-ports-cc5f7fb2371d3252aa5bc469a73754cc4ab02133.tar.zst marcuscom-ports-cc5f7fb2371d3252aa5bc469a73754cc4ab02133.zip | |
Sync with FreeBSD ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9257 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'math/gnumeric/files')
| -rw-r--r-- | math/gnumeric/files/patch-configure | 55 | ||||
| -rw-r--r-- | math/gnumeric/files/patch-src_widgets_gnumeric-expr-entry.c | 35 |
2 files changed, 55 insertions, 35 deletions
diff --git a/math/gnumeric/files/patch-configure b/math/gnumeric/files/patch-configure new file mode 100644 index 000000000..71ecb2bff --- /dev/null +++ b/math/gnumeric/files/patch-configure @@ -0,0 +1,55 @@ +--- configure.orig 2007-07-29 02:46:18.000000000 -0400 ++++ configure 2007-07-29 02:48:14.000000000 -0400 +@@ -23472,12 +23472,12 @@ if test -n "$PKG_CONFIG"; then + pkg_cv_GB_CFLAGS="$GB_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgb == 1.17\"") >&5 +- ($PKG_CONFIG --exists --print-errors "libgb == 1.17") 2>&5 ++ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgb = 1.17\"") >&5 ++ ($PKG_CONFIG --exists --print-errors "libgb = 1.17") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then +- pkg_cv_GB_CFLAGS=`$PKG_CONFIG --cflags "libgb == 1.17" 2>/dev/null` ++ pkg_cv_GB_CFLAGS=`$PKG_CONFIG --cflags "libgb = 1.17" 2>/dev/null` + else + pkg_failed=yes + fi +@@ -23490,12 +23490,12 @@ if test -n "$PKG_CONFIG"; then + pkg_cv_GB_LIBS="$GB_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgb == 1.17\"") >&5 +- ($PKG_CONFIG --exists --print-errors "libgb == 1.17") 2>&5 ++ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgb = 1.17\"") >&5 ++ ($PKG_CONFIG --exists --print-errors "libgb = 1.17") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then +- pkg_cv_GB_LIBS=`$PKG_CONFIG --libs "libgb == 1.17" 2>/dev/null` ++ pkg_cv_GB_LIBS=`$PKG_CONFIG --libs "libgb = 1.17" 2>/dev/null` + else + pkg_failed=yes + fi +@@ -23514,9 +23514,9 @@ else + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- GB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgb == 1.17"` ++ GB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgb = 1.17"` + else +- GB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgb == 1.17"` ++ GB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgb = 1.17"` + fi + # Put the nasty error message in config.log where it belongs + echo "$GB_PKG_ERRORS" >&5 +@@ -27943,7 +27943,7 @@ echo $ECHO_N "checking + ======== for python = 2.x... $ECHO_C" >&6; } + PY_VERSION=`$PYTHON -c 'import sys ; sys.stdout.write(sys.version[0:3])'` + major_ver=`$PYTHON -c 'import sys ; sys.stdout.write(sys.version[0:1])'` +- if test "x$major_ver" == "x2"; then ++ if test "x$major_ver" = "x2"; then + { echo "$as_me:$LINENO: result: yes" >&5 + echo "${ECHO_T}yes" >&6; } + else diff --git a/math/gnumeric/files/patch-src_widgets_gnumeric-expr-entry.c b/math/gnumeric/files/patch-src_widgets_gnumeric-expr-entry.c deleted file mode 100644 index e020c2903..000000000 --- a/math/gnumeric/files/patch-src_widgets_gnumeric-expr-entry.c +++ /dev/null @@ -1,35 +0,0 @@ ---- src/widgets/gnumeric-expr-entry.c 2007/06/18 15:49:42 15609 -+++ src/widgets/gnumeric-expr-entry.c 2007/06/18 17:17:20 15610 -@@ -176,14 +176,14 @@ - g_assert (GTK_IS_CONTAINER (old_entry_parent)); - - g_object_set_data_full (G_OBJECT (entry), "old_entry_parent", -- gtk_widget_ref (old_entry_parent), -- (GDestroyNotify) gtk_widget_unref); -+ g_object_ref (old_entry_parent), -+ (GDestroyNotify) g_object_unref); - - g_return_if_fail ((GtkWidget *) entry != old_toplevel_child); - - g_object_set_data_full (G_OBJECT (entry), "old_toplevel_child", -- gtk_widget_ref (old_toplevel_child), -- (GDestroyNotify) gtk_widget_unref); -+ g_object_ref (old_toplevel_child), -+ (GDestroyNotify) g_object_unref); - - gtk_window_get_size (GTK_WINDOW (toplevel), &width, &height); - g_object_set_data (G_OBJECT (entry), "old_window_width", GUINT_TO_POINTER (width)); -@@ -234,11 +234,11 @@ - old_entry_parent = g_object_get_data (G_OBJECT (entry), "old_entry_parent"); - g_assert (GTK_IS_CONTAINER (old_entry_parent)); - -- gtk_widget_ref (GTK_WIDGET (entry)); -+ g_object_ref (entry); - gtk_container_remove (GTK_CONTAINER (toplevel), GTK_WIDGET (entry)); - gtk_container_add (GTK_CONTAINER (toplevel), old_toplevel_child); - gtk_container_add (GTK_CONTAINER (old_entry_parent), GTK_WIDGET (entry)); -- gtk_widget_unref (GTK_WIDGET (entry)); -+ g_object_unref (entry); - - container_props = g_object_get_data (G_OBJECT (entry), "container_props"); - container_props_pspec = g_object_get_data (G_OBJECT (entry), "container_props_pspec"); |
