Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37818287
en ru br
ALT Linux repos
S:7.8.4-alt4.1

Group :: Sciences/Other
RPM: boinc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: texfont_removal.patch
Download


Index: boinc/api/Makefile.am
===================================================================
--- boinc.orig/api/Makefile.am	2010-07-18 22:04:47.000000000 +0200
+++ boinc/api/Makefile.am	2010-07-18 22:09:39.000000000 +0200
@@ -16,12 +16,12 @@
     gutil.cpp \
     gutil_text.cpp \
     reduce_lib.cpp \
-    texfont.cpp \
     texture.cpp \
-    txf_util.cpp \
     graphics2.cpp \
     graphics2_unix.cpp
 
+# removed:  texfont.cpp txf_util.cpp
+
 if OS_DARWIN
     graphics2_files += mac_icon.cpp
     graphics2_files += macglutfix.m
Index: boinc/api/txf_util.cpp
===================================================================
--- boinc.orig/api/txf_util.cpp	2010-07-18 22:03:58.000000000 +0200
+++ boinc/api/txf_util.cpp	2010-07-18 22:08:53.000000000 +0200
@@ -26,14 +26,15 @@
 #include "filesys.h"
 #include "boinc_api.h"
 
-#include "texfont.h"
+//#include "texfont.h"
 #include "txf_util.h"
 
 #ifndef _MAX_PATH
 #define _MAX_PATH 256
 #endif 
 
-static TexFont* txf[TXF_NUM_FONT];
+//static TexFont* txf[TXF_NUM_FONT];
+static void* txf[TXF_NUM_FONT];
 
 // load fonts. call once.
 //
Index: boinc/api/txf_util.h
===================================================================
--- boinc.orig/api/txf_util.h	2010-07-18 22:07:21.000000000 +0200
+++ boinc/api/txf_util.h	2010-07-18 22:07:36.000000000 +0200
@@ -21,6 +21,8 @@
 #ifndef _TXF_UTIL_
 #define _TXF_UTIL_
 
+#include <GL/gl.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin