packages: slickworm/slickworm.spec, slickworm/slickworm-graphicssystemopeng...

blekot blekot at pld-linux.org
Thu Sep 16 15:15:06 CEST 2010


Author: blekot                       Date: Thu Sep 16 13:15:06 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:


---- Files affected:
packages/slickworm:
   slickworm.spec (1.7 -> 1.8) , slickworm-graphicssystemopengl.patch (NONE -> 1.1)  (NEW), slickworm-include.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/slickworm/slickworm.spec
diff -u packages/slickworm/slickworm.spec:1.7 packages/slickworm/slickworm.spec:1.8
--- packages/slickworm/slickworm.spec:1.7	Mon Feb 12 23:09:15 2007
+++ packages/slickworm/slickworm.spec	Thu Sep 16 15:14:59 2010
@@ -2,14 +2,16 @@
 Summary:	Slickworm is a shoot-em-up game
 Summary(pl.UTF-8):	Slickworm jest strzelanką
 Name:		slickworm
-Version:	0.2.1
-Release:	1
+Version:	0.4.1
+Release:	0.1
 License:	BSD
 Group:		Applications/Games
 Source0:	http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5:	cf3647b00f1828a2ac4b53dd71409678
+# Source0-md5:	c1a24992207fb4f1a1086bcff787ef6f
 Source1:	%{name}.desktop
 Patch0:		%{name}-data.patch
+Patch1:		%{name}-include.patch
+Patch2:		%{name}-graphicssystemopengl.patch
 URL:		http://slickworm.sourceforge.net/
 BuildRequires:	OpenAL-devel
 BuildRequires:	OpenGL-devel
@@ -38,6 +40,8 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 %{__aclocal}
@@ -72,6 +76,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2010/09/16 13:14:59  blekot
+*** empty log message ***
+
 Revision 1.7  2007/02/12 22:09:15  glen
 - tabs in preamble
 

================================================================
Index: packages/slickworm/slickworm-graphicssystemopengl.patch
diff -u /dev/null packages/slickworm/slickworm-graphicssystemopengl.patch:1.1
--- /dev/null	Thu Sep 16 15:15:06 2010
+++ packages/slickworm/slickworm-graphicssystemopengl.patch	Thu Sep 16 15:14:59 2010
@@ -0,0 +1,56 @@
+--- slickworm-0.4.1/src/graphicssystemopengl.h.old	2010-09-16 15:07:42.000000000 +0200
++++ slickworm-0.4.1/src/graphicssystemopengl.h	2010-09-16 15:08:50.000000000 +0200
+@@ -219,7 +219,7 @@
+     class vertex_buffer
+     {
+     public:
+-        vertex_buffer::vertex_buffer() { buffer = NULL; }
++        vertex_buffer() { buffer = NULL; }
+ 
+         float* buffer;
+         int number_of_vertices;
+@@ -232,7 +232,7 @@
+     class index_buffer
+     {
+     public:
+-        index_buffer::index_buffer() { buffer = NULL; }
++        index_buffer() { buffer = NULL; }
+ 
+         unsigned short* buffer;
+         int number_of_indices;
+@@ -243,7 +243,7 @@
+     class texture
+     {
+     public:
+-        texture::texture() { this->used = false; }
++        texture() { this->used = false; }
+         bool used;
+         GLuint texture_id;
+         Surface copy;
+@@ -255,7 +255,7 @@
+     class texture_ref_count
+     {
+     public:
+-        texture_ref_count::texture_ref_count() { this->reference_count = 1; }
++        texture_ref_count() { this->reference_count = 1; }
+         int reference_count;
+         std::string filename;
+         TEXTURE_HANDLE handle;
+@@ -266,7 +266,7 @@
+     class cubemap_texture
+     {
+     public:
+-        cubemap_texture::cubemap_texture() { this->used = false; }
++        cubemap_texture() { this->used = false; }
+         bool used;
+         GLuint texture_id;
+         Surface copy_px;
+@@ -282,7 +282,7 @@
+     class texture3D
+     {
+     public:
+-        texture3D::texture3D() { this->used = false; }
++        texture3D() { this->used = false; }
+         bool used;
+         GLuint texture_id;
+         unsigned char* buffer_copy;

================================================================
Index: packages/slickworm/slickworm-include.patch
diff -u /dev/null packages/slickworm/slickworm-include.patch:1.1
--- /dev/null	Thu Sep 16 15:15:06 2010
+++ packages/slickworm/slickworm-include.patch	Thu Sep 16 15:14:59 2010
@@ -0,0 +1,10 @@
+--- slickworm-0.4.1/src/error.cpp~	2004-09-05 21:44:40.000000000 +0200
++++ slickworm-0.4.1/src/error.cpp	2010-09-16 15:01:07.000000000 +0200
+@@ -33,6 +33,7 @@
+ 
+ #include "error.h"
+ #include <iostream>
++#include "stdlib.h"
+ 
+ void Error(std::string error_message)
+ {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/slickworm/slickworm.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list