wok rev 24086

libtorrent needs atomic memory access
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 17:20:34 2021 +0000 (2021-07-10)
parents 9288c215c7c2
children 8dbc179f0f97
files libtorrent/receipt ola/receipt rtorrent/receipt tuxpaint/receipt tuxpaint/stuff/Makefile.u
line diff
     1.1 --- a/libtorrent/receipt	Sat Jul 10 14:52:46 2021 +0000
     1.2 +++ b/libtorrent/receipt	Sat Jul 10 17:20:34 2021 +0000
     1.3 @@ -30,6 +30,8 @@
     1.4  	./configure		\
     1.5  		CC=gcc-83	\
     1.6  		CXX=g++-83	\
     1.7 +		CFLAGS="-march=i686 -Os -pipe -fomit-frame-pointer"	\
     1.8 +		CXXFLAGS="-march=i686 -Os -pipe -fomit-frame-pointer"	\
     1.9  		$CONFIGURE_ARGS &&
    1.10  	make -j 1 &&
    1.11  	make install
     2.1 --- a/ola/receipt	Sat Jul 10 14:52:46 2021 +0000
     2.2 +++ b/ola/receipt	Sat Jul 10 17:20:34 2021 +0000
     2.3 @@ -23,6 +23,7 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 +	sed -i 's|AM_PATH_CPPUNIT(\[|PKG_CHECK_MODULES([CPPUNIT], [cppunit >= |' configure.ac
     2.8  	sed -i 's|libusb_set_debug(m_context,\(.*\);|#if LIBUSB_API_VERSION >= 0x01000106\
     2.9      libusb_set_option(m_context, LIBUSB_OPTION_LOG_LEVEL,\1;\
    2.10  #else\
     3.1 --- a/rtorrent/receipt	Sat Jul 10 14:52:46 2021 +0000
     3.2 +++ b/rtorrent/receipt	Sat Jul 10 17:20:34 2021 +0000
     3.3 @@ -11,9 +11,9 @@
     3.4  WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
     3.5  TAGS="torrent"
     3.6  
     3.7 -DEPENDS="ncurses libtorrent zlib ncursesw xmlrpc-c gcc-lib-base"
     3.8 +DEPENDS="ncurses libtorrent zlib ncursesw xmlrpc-c gcc83-lib-base"
     3.9  BUILD_DEPENDS="ncurses-dev libtorrent-dev libtorrent pkg-config xmlrpc-c-dev \
    3.10 -libsigc++-dev curl-dev automake libtool"
    3.11 +libsigc++-dev curl-dev automake libtool gcc83"
    3.12  
    3.13  current_version()
    3.14  {
    3.15 @@ -24,6 +24,9 @@
    3.16  # Rules to configure and make the package.
    3.17  compile_rules()
    3.18  {
    3.19 +	export	CC=gcc-83
    3.20 +	export	CXX=g++-83
    3.21 +
    3.22  	./autogen.sh
    3.23  	./configure \
    3.24  		--with-xmlrpc-c \
     4.1 --- a/tuxpaint/receipt	Sat Jul 10 14:52:46 2021 +0000
     4.2 +++ b/tuxpaint/receipt	Sat Jul 10 17:20:34 2021 +0000
     4.3 @@ -28,7 +28,8 @@
     4.4  compile_rules()
     4.5  {
     4.6  	sed -i 's/$(ARCH_LINKS)/$(ARCH_LINKS) -lpng/' Makefile
     4.7 -	patch -p0 < $stuff/Makefile.u
     4.8 +	sed '/DIR).(KDE_PREFIX).tuxpaint.desktop/{N;N;s|desktop; \\|&\n\t  kbuildsycoca4; \\|;s|fi\n\tkbuildsycoca4|fi|}' \
     4.9 +		-i Makefile
    4.10  
    4.11  	make -j1 PREFIX=/usr &&
    4.12  	make -j1 PREFIX=/usr DESTDIR=$DESTDIR install
     5.1 --- a/tuxpaint/stuff/Makefile.u	Sat Jul 10 14:52:46 2021 +0000
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,12 +0,0 @@
     5.4 ---- Makefile
     5.5 -+++ Makefile
     5.6 -@@ -785,8 +785,8 @@
     5.7 - 	  install -d $(DESTDIR)$(KDE_PREFIX); \
     5.8 - 	  cp src/tuxpaint.desktop $(DESTDIR)$(KDE_PREFIX)/; \
     5.9 - 	  chmod 644 $(DESTDIR)$(KDE_PREFIX)/tuxpaint.desktop; \
    5.10 -+	  kbuildsycoca4; \
    5.11 - 	fi
    5.12 --	kbuildsycoca4
    5.13 - 
    5.14 - .PHONY: install-kde-icons
    5.15 - install-kde-icons: