annotate OrthancFramework/Resources/Patches/dcmtk-3.6.2-linux-standard-base.patch @ 4701:68635d365a27

patch for compatibility of civetweb 1.14 with openssl 3.0.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Jun 2021 17:55:53 +0200
parents d25f4c0fa160
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_);