mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
- Update to 0.53 and adopt
This commit is contained in:
parent
cdaab81c8d
commit
fd77c93082
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168489
@ -6,14 +6,17 @@
|
||||
#
|
||||
|
||||
PORTNAME= otk
|
||||
PORTVERSION= 0.45
|
||||
PORTVERSION= 0.53
|
||||
CATEGORIES= x11-toolkits graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
DISTNAME= ${PORTNAME}_lib_v${PORTVERSION}
|
||||
DISTNAME= ${PORTNAME}_lib_${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= An OpenGL based GUI widget library
|
||||
MAINTAINER= infofarmer@FreeBSD.org
|
||||
COMMENT= Widget library based on OpenGL
|
||||
|
||||
LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut
|
||||
|
||||
USE_GL= yes
|
||||
USE_X_PREFIX= yes
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (otk_lib_v0.45.tar.gz) = b38d092e051cac068cb1997af0e13810
|
||||
SHA256 (otk_lib_v0.45.tar.gz) = f318fcdfce18f5d3d78148c96683de2d2c6989e28363a4873cc82c41dae4e019
|
||||
SIZE (otk_lib_v0.45.tar.gz) = 59434
|
||||
MD5 (otk_lib_0.53.tgz) = b63e12cfd908f0662ef3ff233444a35a
|
||||
SHA256 (otk_lib_0.53.tgz) = 1e56674eaca26657b8ad12ded6c133f6da9642a7be2880b13bbf8108514f9fda
|
||||
SIZE (otk_lib_0.53.tgz) = 65615
|
||||
|
@ -1,24 +0,0 @@
|
||||
--- otk_lib.c.orig
|
||||
+++ otk_lib.c
|
||||
@@ -70,6 +70,7 @@
|
||||
|
||||
#if (PLATFORM_KIND==Posix_Platform)
|
||||
// #include <unistd.h>
|
||||
+ #include <sys/time.h>
|
||||
#define GlutEnabled 0 /* Choice: 0=Use X-windows, 1=Use Glut. */
|
||||
#define WinGLEnabled 0
|
||||
#ifndef SocEnabled
|
||||
@@ -111,6 +112,7 @@
|
||||
#endif
|
||||
|
||||
#include "otk_lib.h"
|
||||
+#include "gadget_lib.h"
|
||||
|
||||
int Otk_verbose=0;
|
||||
int OtkWindowSizeX=-1, OtkWindowSizeY=-1;
|
||||
@@ -4517,3 +4519,5 @@
|
||||
glutMainLoop();
|
||||
#endif
|
||||
}
|
||||
+
|
||||
+#include "gadget_lib.c"
|
@ -1,10 +0,0 @@
|
||||
--- otk_lib.h.orig
|
||||
+++ otk_lib.h
|
||||
@@ -283,4 +283,7 @@
|
||||
|
||||
OtkFont *Otk_Read_SVG_Font( char *filename ); /* FONTS insertion */
|
||||
|
||||
+extern struct OtkObjectInstance *OtkRootObject, *OtkOuterWindow,
|
||||
+ *Otk_keyboard_focus, *Otk_OpenMenu;
|
||||
+
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user