Make ld happy

f38
Matthias Clasen 15 years ago
parent dc87c2dee1
commit 5d465b8e6c

@ -1,11 +1,12 @@
diff -up libgnomecanvas-2.26.0/configure.in.libs libgnomecanvas-2.26.0/configure.in diff -up libgnomecanvas-2.26.0/configure.libs libgnomecanvas-2.26.0/configure
--- libgnomecanvas-2.26.0/configure.in.libs 2010-02-13 22:45:28.642364057 -0500 --- libgnomecanvas-2.26.0/configure.libs 2010-02-13 23:05:13.777363452 -0500
+++ libgnomecanvas-2.26.0/configure.in 2010-02-13 22:48:05.209114546 -0500 +++ libgnomecanvas-2.26.0/configure 2010-02-13 23:06:40.070111238 -0500
@@ -89,6 +89,7 @@ CANVAS_MODULES="dnl @@ -23837,6 +23837,8 @@ $as_echo "yes" >&6; }
pangoft2 >= pango_required_version" :
PKG_PROG_PKG_CONFIG([0.18]) fi
PKG_CHECK_MODULES(LIBGNOMECANVAS, $CANVAS_MODULES)
+LIBGNOMECANVAS_LIBS="$LIBGNOMECANVAS_LIBS -lm"
+LIBGNOMECANVAS_LIBS="$LIBGNOMECANVAS_LIBS -lm"
+
if test "$enable_maintainer_mode" = "yes"; then if test "$enable_maintainer_mode" = "yes"; then
LIBGNOMECANVAS_DEPRECATED_CFLAGS="-DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES" LIBGNOMECANVAS_DEPRECATED_CFLAGS="-DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES"

@ -22,7 +22,6 @@ BuildRequires: libglade2-devel >= %{libglade2_version}
BuildRequires: gail-devel >= %{gail_version} BuildRequires: gail-devel >= %{gail_version}
BuildRequires: libtool gettext BuildRequires: libtool gettext
BuildRequires: intltool BuildRequires: intltool
BuildRequires: autoconf automake libtool
%description %description
The canvas widget allows you to create custom displays using stock items The canvas widget allows you to create custom displays using stock items
@ -53,8 +52,6 @@ Tk canvas widget but has evolved quite a bit over time.
%setup -q %setup -q
%patch0 -p1 -b .libs %patch0 -p1 -b .libs
autoreconf -i -f
%build %build
export CFLAGS=$(echo $RPM_OPT_FLAGS |sed -e 's/O2/O1/g') export CFLAGS=$(echo $RPM_OPT_FLAGS |sed -e 's/O2/O1/g')
%configure --disable-gtk-doc %configure --disable-gtk-doc

Loading…
Cancel
Save