]> git.pld-linux.org Git - packages/crossmingw32ce-gcc.git/commitdiff
- updated to 3.3 auto/ac/crossmingw32-gcc-3_3_2-0_1 auto/ac/crossmingw32-gcc-3_3_2-1 auto/th/crossmingw32-gcc-4_1_2-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 17 May 2003 09:11:14 +0000 (09:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added noioctl patch needed to compile libstdc++

Changed files:
    crossmingw32-gcc-noioctl.patch -> 1.1

crossmingw32-gcc-noioctl.patch [new file with mode: 0644]

diff --git a/crossmingw32-gcc-noioctl.patch b/crossmingw32-gcc-noioctl.patch
new file mode 100644 (file)
index 0000000..d69badb
--- /dev/null
@@ -0,0 +1,11 @@
+--- gcc-3.3/libstdc++-v3/config/io/basic_file_stdio.cc.orig    2003-05-01 20:30:25.000000000 +0200
++++ gcc-3.3/libstdc++-v3/config/io/basic_file_stdio.cc 2003-05-17 09:37:01.000000000 +0200
+@@ -239,7 +239,7 @@
+   streamsize
+   __basic_file<char>::showmanyc_helper()
+   {
+-#ifdef FIONREAD
++#if defined(FIONREAD) && (defined(_GLIBCPP_HAVE_SYS_IOCTL_H) || defined(_GLIBCPP_HAVE_SYS_FILIO_H))
+     // Pipes and sockets.    
+     int __num = 0;
+     int __r = ioctl(this->fd(), FIONREAD, &__num);
This page took 0.064086 seconds and 4 git commands to generate.