diff --git a/SPECS/libappindicator.spec b/SPECS/libappindicator.spec index 58c32d2..d71cdd2 100644 --- a/SPECS/libappindicator.spec +++ b/SPECS/libappindicator.spec @@ -87,6 +87,7 @@ appindicator-gtk3 libraries. %autosetup -p1 sed -i "s#gmcs#mcs#g" configure.ac +sed -i "s/priv->sec_activate_target = g_object_ref(G_OBJECT(menuitem));/priv->sec_activate_target = g_object_ref(menuitem);/g" src/app-indicator.c autoreconf -vif @@ -96,14 +97,14 @@ mkdir build-gtk2 build-gtk3 pushd build-gtk2 export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations" -%configure --with-gtk=2 --enable-gtk-doc --disable-static +%configure --with-gtk=2 --disable-gtk-doc --disable-static # Parallel make, crash the build make -j1 V=1 popd pushd build-gtk3 export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations" -%configure --with-gtk=3 --enable-gtk-doc --disable-static +%configure --with-gtk=3 --disable-gtk-doc --disable-static # Parallel make, crash the build make -j1 V=1 popd