Группа :: Науки/Прочее
Пакет: 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