summaryrefslogtreecommitdiffstats
path: root/graphics/libwpcg
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-01-03 20:20:40 +0000
committerijliao <ijliao@FreeBSD.org>2003-01-03 20:20:40 +0000
commit030ff25b4a2abe36253acd6beb78dbf3ff7d5d32 (patch)
tree5df098f1b845fde68fdddc258968078d71af576b /graphics/libwpcg
parent67414547f695044d739104485269bb0d5e517066 (diff)
downloadFreeBSD-ports-030ff25b4a2abe36253acd6beb78dbf3ff7d5d32.zip
FreeBSD-ports-030ff25b4a2abe36253acd6beb78dbf3ff7d5d32.tar.gz
upgrade to 0.9.2
PR: 46589 Submitted by: Ports Fury
Diffstat (limited to 'graphics/libwpcg')
-rw-r--r--graphics/libwpcg/Makefile4
-rw-r--r--graphics/libwpcg/distinfo2
-rw-r--r--graphics/libwpcg/files/patch-WP_Image.C40
-rw-r--r--graphics/libwpcg/files/patch-WP_Terrain.C11
-rw-r--r--graphics/libwpcg/pkg-plist5
5 files changed, 9 insertions, 53 deletions
diff --git a/graphics/libwpcg/Makefile b/graphics/libwpcg/Makefile
index dfc501c..dd36330 100644
--- a/graphics/libwpcg/Makefile
+++ b/graphics/libwpcg/Makefile
@@ -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"
diff --git a/graphics/libwpcg/distinfo b/graphics/libwpcg/distinfo
index 6fac81b..e7f6b82 100644
--- a/graphics/libwpcg/distinfo
+++ b/graphics/libwpcg/distinfo
@@ -1 +1 @@
-MD5 (libWPCG-0.9.0.tar.gz) = 4a61cf77dac8e064823476ec36f205c7
+MD5 (libWPCG-0.9.2.tar.gz) = 43b9d603e3602d1d98d1ae66d217fe4e
diff --git a/graphics/libwpcg/files/patch-WP_Image.C b/graphics/libwpcg/files/patch-WP_Image.C
deleted file mode 100644
index 9a35f45..0000000
--- a/graphics/libwpcg/files/patch-WP_Image.C
+++ /dev/null
@@ -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);
diff --git a/graphics/libwpcg/files/patch-WP_Terrain.C b/graphics/libwpcg/files/patch-WP_Terrain.C
deleted file mode 100644
index 174db6b..0000000
--- a/graphics/libwpcg/files/patch-WP_Terrain.C
+++ /dev/null
@@ -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)
- {
diff --git a/graphics/libwpcg/pkg-plist b/graphics/libwpcg/pkg-plist
index f728876..7b3e264 100644
--- a/graphics/libwpcg/pkg-plist
+++ b/graphics/libwpcg/pkg-plist
@@ -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
OpenPOWER on IntegriCloud