annotate Resources/Patches/dcmtk-3.6.2-linux-standard-base.patch @ 2690:e0d600882ed2 jobs

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 28 Jun 2018 16:07:57 +0200
parents 862d943115f9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2448
862d943115f9 working on linux standard base
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 diff -urEb dcmtk-3.6.2.orig/ofstd/include/dcmtk/ofstd/offile.h dcmtk-3.6.2/ofstd/include/dcmtk/ofstd/offile.h
862d943115f9 working on linux standard base
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 --- dcmtk-3.6.2.orig/ofstd/include/dcmtk/ofstd/offile.h 2017-07-14 17:41:11.000000000 +0200
862d943115f9 working on linux standard base
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 +++ dcmtk-3.6.2/ofstd/include/dcmtk/ofstd/offile.h 2018-01-02 13:56:04.075293459 +0100
862d943115f9 working on linux standard base
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 @@ -551,7 +551,7 @@
862d943115f9 working on linux standard base
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 */
862d943115f9 working on linux standard base
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6 void setlinebuf()
862d943115f9 working on linux standard base
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 {
862d943115f9 working on linux standard base
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 -#if defined(_WIN32) || defined(__hpux)
862d943115f9 working on linux standard base
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 +#if defined(_WIN32) || defined(__hpux) || defined(__LSB_VERSION__)
862d943115f9 working on linux standard base
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 this->setvbuf(NULL, _IOLBF, 0);
862d943115f9 working on linux standard base
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11 #else
862d943115f9 working on linux standard base
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12 :: setlinebuf(file_);