[arch-commits] Commit in celestia/trunk (PKGBUILD celestia-1.5.1-gcc44.patch)

Eric Bélanger eric at archlinux.org
Wed Jul 8 07:05:15 UTC 2009


    Date: Wednesday, July 8, 2009 @ 03:05:15
  Author: eric
Revision: 45167

upgpkg: celestia 1.5.1-2
    libjpeg rebuild, added build patch

Added:
  celestia/trunk/celestia-1.5.1-gcc44.patch
Modified:
  celestia/trunk/PKGBUILD

----------------------------+
 PKGBUILD                   |   11 ++++++-----
 celestia-1.5.1-gcc44.patch |   20 ++++++++++++++++++++
 2 files changed, 26 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-07-08 05:20:44 UTC (rev 45166)
+++ PKGBUILD	2009-07-08 07:05:15 UTC (rev 45167)
@@ -9,16 +9,17 @@
 arch=('i686' 'x86_64')
 license=('GPL2')
 url="http://www.shatters.net/celestia/"
-depends=('gtk2' 'libtheora' 'lua' 'gtkglext' 'glut' 'libxmu' 'mesa')
+depends=('gtk2' 'libtheora' 'lua' 'gtkglext' 'glut' 'libxmu' 'mesa' 'libjpeg>=7')
+options=('!makeflags')
 source=(http://downloads.sourceforge.net/sourceforge/celestia/$pkgname-$pkgver.tar.gz
-	'celestia-1.5.1-gcc43.patch') 
-md5sums=('df6854a2cf62d2e96612398c13b68fd2'
-         '7c2b8921394b67e0a0498eaefa97b4b6')
+	'celestia-1.5.1-gcc43.patch' 'celestia-1.5.1-gcc44.patch')
+md5sums=('df6854a2cf62d2e96612398c13b68fd2' '7c2b8921394b67e0a0498eaefa97b4b6'\
+         '0c606dbd3a641afb1b0725428db854c8')
 
 build() {
     cd $srcdir/$pkgname-$pkgver
     patch -Np1 < $srcdir/celestia-1.5.1-gcc43.patch || return 1
-
+    patch -Np0 < $srcdir/celestia-1.5.1-gcc44.patch || return 1
     ./configure --prefix=/usr \
                 --with-lua=/usr \
 		--datadir=/usr/share \

Added: celestia-1.5.1-gcc44.patch
===================================================================
--- celestia-1.5.1-gcc44.patch	                        (rev 0)
+++ celestia-1.5.1-gcc44.patch	2009-07-08 07:05:15 UTC (rev 45167)
@@ -0,0 +1,20 @@
+--- src/celengine/overlay.h.orig	2009-07-08 02:27:08.000000000 -0400
++++ src/celengine/overlay.h	2009-07-08 02:27:28.000000000 -0400
+@@ -10,6 +10,7 @@
+ #ifndef _OVERLAY_H_
+ #define _OVERLAY_H_
+ 
++#include <cstdio>
+ #include <string>
+ #include <iostream>
+ #include <celtxf/texturefont.h>
+--- src/celengine/star.cpp.orig	2009-07-08 02:40:52.000000000 -0400
++++ src/celengine/star.cpp	2009-07-08 02:41:08.000000000 -0400
+@@ -8,6 +8,7 @@
+ // of the License, or (at your option) any later version.
+ 
+ #include <celmath/mathlib.h>
++#include <cstdio>
+ #include <cstring>
+ #include <cassert>
+ #include "celestia.h"




More information about the arch-commits mailing list