mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
upgrade to 0.9.2
PR: 46589 Submitted by: Ports Fury
This commit is contained in:
parent
3ad9d774d2
commit
3de7611d1a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72464
5 changed files with 9 additions and 53 deletions
|
@ -7,15 +7,17 @@
|
|||
#
|
||||
|
||||
PORTNAME= libwpcg
|
||||
PORTVERSION= 0.9.0
|
||||
PORTVERSION= 0.9.2
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://www.paassen.tmfweb.nl/
|
||||
DISTNAME= libWPCG-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
USE_GCC= 3.1
|
||||
USE_MESA= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
|
||||
LDFLAGS="-L${X11BASE}/lib -lGL -lGLU -lglut"
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (libWPCG-0.9.0.tar.gz) = 4a61cf77dac8e064823476ec36f205c7
|
||||
MD5 (libWPCG-0.9.2.tar.gz) = 43b9d603e3602d1d98d1ae66d217fe4e
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
--- src/WP_Image.C.orig Sat May 4 00:49:18 2002
|
||||
+++ src/WP_Image.C Tue Nov 19 01:11:28 2002
|
||||
@@ -154,7 +154,7 @@
|
||||
//read file to memory
|
||||
|
||||
int size = 0;
|
||||
- byte c;
|
||||
+ char c;
|
||||
while(input.get(c))
|
||||
{
|
||||
size++;
|
||||
@@ -434,7 +434,7 @@
|
||||
//read file to memory
|
||||
|
||||
int size = 0;
|
||||
- byte c;
|
||||
+ char c;
|
||||
while(input.get(c))
|
||||
{
|
||||
size++;
|
||||
@@ -460,7 +460,7 @@
|
||||
|
||||
while(input.get(c))
|
||||
{
|
||||
- *p = c;
|
||||
+ *p = (byte)c;
|
||||
p++;
|
||||
}
|
||||
|
||||
@@ -717,8 +717,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
-void WP_Image::setTextureGL(GLuint* texture_id, GLint wrap_s=GL_REPEAT, GLint wrap_t=GL_REPEAT,
|
||||
- GLint mag_filter=GL_NEAREST, GLint min_filter=GL_NEAREST, bool mipmapping=false)
|
||||
+void WP_Image::setTextureGL(GLuint* texture_id, GLint wrap_s, GLint wrap_t,
|
||||
+ GLint mag_filter, GLint min_filter, bool mipmapping)
|
||||
{
|
||||
glGenTextures(1, texture_id);
|
||||
glBindTexture(GL_TEXTURE_2D, *texture_id);
|
|
@ -1,11 +0,0 @@
|
|||
--- src/WP_Terrain.C.orig Tue Nov 19 01:14:04 2002
|
||||
+++ src/WP_Terrain.C Tue Nov 19 01:14:18 2002
|
||||
@@ -23,6 +23,8 @@
|
||||
#include "WP_Quad.h"
|
||||
#include "WP_Terrain.h"
|
||||
|
||||
+using namespace std;
|
||||
+
|
||||
WP_Terrain::WP_Terrain(int _width, int _height, int number_iterations, scalar resolution, int scale):
|
||||
width(_width), height(_height), displayID(0), height_map(0)
|
||||
{
|
|
@ -1 +1,6 @@
|
|||
include/OPCODE-1.2/Opcode.h
|
||||
include/WPCG/WPCG.h
|
||||
lib/libOPCODE.a
|
||||
lib/libWPCG.a
|
||||
@dirrm include/WPCG
|
||||
@dirrm include/OPCODE-1.2
|
||||
|
|
Loading…
Add table
Reference in a new issue