wok-next rev 20346
libav, lostirc: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 18 14:09:19 2017 +0100 (2017-11-18) |
parents | 4d3f87a6c521 |
children | 4a43dd1d951b |
files | firefox/receipt libav/receipt lostirc/receipt lostirc/stuff/gcc.u |
line diff
1.1 --- a/firefox/receipt Sat Nov 18 14:07:35 2017 +0200 1.2 +++ b/firefox/receipt Sat Nov 18 14:09:19 2017 +0100 1.3 @@ -13,7 +13,7 @@ 1.4 1.5 DEPENDS="gtk+ sqlite3 dbus dbus-glib glib jpeg xorg-libX11 xorg-libXdamage \ 1.6 alsa-lib xorg-libXt libevent libvpx pango nss libfirefox" 1.7 -BUILD_DEPENDS="zip libIDL coreutils findutils wireless_tools-dev \ 1.8 +BUILD_DEPENDS="zip libidl coreutils findutils wireless_tools-dev \ 1.9 perl python yasm alsa-lib-dev mesa-dev libevent-dev libvpx-dev dbus-dev \ 1.10 dbus-glib-dev gtk+-dev glib-dev pango-dev nss-dev sqlite3-dev tar gzip" 1.11 SPLIT="firefox firefox-dev libfirefox"
2.1 --- a/libav/receipt Sat Nov 18 14:07:35 2017 +0200 2.2 +++ b/libav/receipt Sat Nov 18 14:09:19 2017 +0100 2.3 @@ -21,7 +21,7 @@ 2.4 # Rules to configure and make the package. 2.5 compile_rules() 2.6 { 2.7 - sed -i 's|config.h"|&\n#include "libavutil/common.h"|' ffserver.c 2.8 + sed -i 's|config.h"|&\n#include "libavformat/internal.h"\n#include "libavutil/common.h"|' ffserver.c 2.9 ./configure \ 2.10 --prefix=/usr \ 2.11 --enable-shared \
3.1 --- a/lostirc/receipt Sat Nov 18 14:07:35 2017 +0200 3.2 +++ b/lostirc/receipt Sat Nov 18 14:09:19 2017 +0100 3.3 @@ -16,7 +16,6 @@ 3.4 # Rules to configure and make the package. 3.5 compile_rules() 3.6 { 3.7 - cd $src 3.8 busybox patch -p1 -i $stuff/gcc.u 3.9 ./configure --prefix=/usr $CONFIGURE_ARGS && 3.10 make && 3.11 @@ -30,4 +29,3 @@ 3.12 cp -a $install/usr/bin $fs/usr 3.13 cp -a $stuff/skel $fs/etc 3.14 } 3.15 -
4.1 --- a/lostirc/stuff/gcc.u Sat Nov 18 14:07:35 2017 +0200 4.2 +++ b/lostirc/stuff/gcc.u Sat Nov 18 14:09:19 2017 +0100 4.3 @@ -19,3 +19,21 @@ 4.4 #include <cerrno> 4.5 #include <cstdio> 4.6 #include <glibmm/main.h> 4.7 + 4.8 +--- lostirc-0.4.6/src/gtkmm/TextWidget.cpp 4.9 ++++ lostirc-0.4.6/src/gtkmm/TextWidget.cpp 4.10 +@@ -210,11 +210,11 @@ 4.11 + std::vector< Glib::RefPtr<Gtk::TextTag> > tags; 4.12 + 4.13 + Glib::RefPtr<Gtk::TextTag> fg = buffer->get_tag_table()->lookup(Glib::ustring("f")+crop(tp.fgnumber)); 4.14 +- if (fg == 0) 4.15 ++ if (!fg) 4.16 + fg = buffer->get_tag_table()->lookup("f0"); 4.17 + 4.18 + Glib::RefPtr<Gtk::TextTag> bg = buffer->get_tag_table()->lookup(Glib::ustring("b")+crop(tp.bgnumber)); 4.19 +- if (bg == 0) 4.20 ++ if (!bg) 4.21 + bg = buffer->get_tag_table()->lookup("b0"); 4.22 + 4.23 + tags.push_back(fg); 4.24 +