# HG changeset patch # User Pascal Bellard # Date 1632821118 0 # Node ID f9c2c6b32e72d3f37064c461396c404d3562e33f # Parent ad86373a4a8cb768fb797cca328d99f5ba61fbbd Up xplanet (1.3.0) diff -r ad86373a4a8c -r f9c2c6b32e72 xplanet/receipt --- a/xplanet/receipt Tue Sep 28 08:31:51 2021 +0000 +++ b/xplanet/receipt Tue Sep 28 09:25:18 2021 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="xplanet" -VERSION="1.2.2" +VERSION="1.3.0" CATEGORY="system-tools" SHORT_DESC="Render major planets into the X root window." MAINTAINER="pascal.bellard@slitaz.org" @@ -27,10 +27,7 @@ # Rules to configure and make the package. compile_rules() { - # Fix for gcc 4.4 - for file in src/Satellite.cpp src/Separation.cpp ; do - grep -q cstdio $file || sed -i '2i\#include ' $file - done + patch -p1 < $stuff/xplanet-giflib5.patch ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS && make && make -j1 DESTDIR=$DESTDIR install