- New upstream version 1.03.
- Fix for Tk 8.5. - Rebuild for OCaml 3.10.1.
This commit is contained in:
parent
84e9598560
commit
93d2db23df
@ -1 +1 @@
|
||||
lablgl-1.02.tar.gz
|
||||
lablgl-1.03.tar.gz
|
||||
|
12
lablgl-tk8.5.patch
Normal file
12
lablgl-tk8.5.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ur lablgl-1.03/Togl/src/Togl/togl.c lablgl-1.03.new/Togl/src/Togl/togl.c
|
||||
--- lablgl-1.03/Togl/src/Togl/togl.c 2006-03-23 00:39:27.000000000 +0000
|
||||
+++ lablgl-1.03.new/Togl/src/Togl/togl.c 2008-02-12 18:56:01.000000000 +0000
|
||||
@@ -153,6 +153,8 @@
|
||||
# include "tkInt8.3.h"
|
||||
#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4
|
||||
# include "tkInt8.4.h"
|
||||
+#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==5
|
||||
+# include "tkInt8.4.h"
|
||||
#else
|
||||
Sorry, you will have to edit togl.c to include the right tkInt.h file
|
||||
#endif
|
@ -1,17 +1,19 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: ocaml-lablgl
|
||||
Version: 1.02
|
||||
Release: 15%{?dist}
|
||||
Version: 1.03
|
||||
Release: 1%{?dist}
|
||||
|
||||
Summary: LablGL is an OpenGL interface for Objective Caml
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: BSD
|
||||
URL: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html
|
||||
Source0: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgl-1.02.tar.gz
|
||||
Source0: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgl-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Patch0: lablgl-tk8.5.patch
|
||||
|
||||
Obsoletes: lablgl <= 1.02-9
|
||||
Provides: lablgl = 1.02-9
|
||||
BuildRequires: freeglut-devel
|
||||
@ -55,6 +57,8 @@ developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n lablgl-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
cat > Makefile.config <<EOF
|
||||
CAMLC = ocamlc.opt
|
||||
CAMLOPT = ocamlopt.opt
|
||||
@ -147,6 +151,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Feb 12 2008 Richard W.M. Jones <rjones@redhat.com> - 1.03-1
|
||||
- New upstream version 1.03.
|
||||
- Fix for Tk 8.5.
|
||||
- Rebuild for OCaml 3.10.1.
|
||||
|
||||
* Fri Sep 7 2007 Gerard Milmeister <gemi@bluewin.ch> - 1.02-15
|
||||
- Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user