summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2010-11-10 12:55:14 +0000
committerAndrey Grozin <grozin@gentoo.org>2010-11-10 12:55:14 +0000
commitc4c05dfeeaa7bcffb2b99aa0288750d7ba786cba (patch)
tree283f8cb95b52db1068b4b112cbdddf60b78830a9 /app-office/texmacs/files
parentUpdate regex to match beginning of the word, bug #342849 thank Sok Ann Yap fo... (diff)
downloadgentoo-2-c4c05dfeeaa7bcffb2b99aa0288750d7ba786cba.tar.gz
gentoo-2-c4c05dfeeaa7bcffb2b99aa0288750d7ba786cba.tar.bz2
gentoo-2-c4c05dfeeaa7bcffb2b99aa0288750d7ba786cba.zip
Added a patch to fix compilation error with USE=qt4
(Portage version: 2.2.0_alpha4/cvs/Linux i686)
Diffstat (limited to 'app-office/texmacs/files')
-rw-r--r--app-office/texmacs/files/texmacs-qt.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-office/texmacs/files/texmacs-qt.patch b/app-office/texmacs/files/texmacs-qt.patch
new file mode 100644
index 000000000000..ebb73553ade2
--- /dev/null
+++ b/app-office/texmacs/files/texmacs-qt.patch
@@ -0,0 +1,22 @@
+diff -r -U1 TeXmacs-1.0.7.7-src.orig//src/Plugins/Imlib2/imlib2.cpp TeXmacs-1.0.7.7-src//src/Plugins/Imlib2/imlib2.cpp
+--- TeXmacs-1.0.7.7-src.orig//src/Plugins/Imlib2/imlib2.cpp 2010-10-23 02:38:01.000000000 +0700
++++ TeXmacs-1.0.7.7-src//src/Plugins/Imlib2/imlib2.cpp 2010-11-11 00:00:12.000000000 +0600
+@@ -17,2 +17,6 @@
+
++#include <Imlib2.h>
++#include <stdio.h>
++#include <string.h>
++
+ /******************************************************************************
+diff -r -U1 TeXmacs-1.0.7.7-src.orig//src/Plugins/Imlib2/imlib2.hpp TeXmacs-1.0.7.7-src//src/Plugins/Imlib2/imlib2.hpp
+--- TeXmacs-1.0.7.7-src.orig//src/Plugins/Imlib2/imlib2.hpp 2010-10-23 02:38:01.000000000 +0700
++++ TeXmacs-1.0.7.7-src//src/Plugins/Imlib2/imlib2.hpp 2010-11-11 00:01:11.000000000 +0600
+@@ -25,8 +25,2 @@
+
+-#ifdef USE_IMLIB2
+-#include <Imlib2.h>
+-#include <stdio.h>
+-#include <string.h>
+-#endif // USE_IMLIB2
+-
+ #endif // IMLIB2_H