]> git.pld-linux.org Git - packages/librhtv.git/commitdiff
- compilation fix for gcc4
authorwitekfl <witekfl@pld-linux.org>
Wed, 1 Jun 2005 16:24:49 +0000 (16:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    librhtv-gcc4.patch -> 1.1

librhtv-gcc4.patch [new file with mode: 0644]

diff --git a/librhtv-gcc4.patch b/librhtv-gcc4.patch
new file mode 100644 (file)
index 0000000..eed4337
--- /dev/null
@@ -0,0 +1,11 @@
+--- tvision.orig/include/compatlayer.h 2004-10-08 23:04:50.000000000 +0200
++++ tvision/include/compatlayer.h      2005-06-01 18:11:13.700514896 +0200
+@@ -324,7 +324,7 @@
+     library. GCC implemented it in version 3.0. BC++ implemented some
+     stuff in versions like BC++ 5.5. So that's a real mess. */
+  #if __GNUC__>=3
+-  #if __GNUC_MINOR__>=4
++  #if __GNUC__ >=4 || __GNUC_MINOR__>=4
+    // gcc 3.4. It have __gnu_cxx::stdio_filebuf class.
+    #define CLY_filebuf       __gnu_cxx::stdio_filebuf<char>
+    #define CLY_int_filebuf   CLY_filebuf
This page took 0.100848 seconds and 4 git commands to generate.