Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37765759
en ru br
Репозитории ALT
S:7.8.4-alt4.1
5.1: 6.10.58-alt0.M51.1
www.altlinux.org/Changes

Группа :: Науки/Прочее
Пакет: boinc

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: texfont_removal.patch
Скачать


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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin