diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-10-01 23:05:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-10-01 23:05:41 +0100 |
commit | 2e34d110f164bf74d55fced27fe0000201b3eec5 (patch) | |
tree | f00ae60197c58f84ad51f60b210738d9b70f555b /sci-calculators/units/files/units-2.20-readerror.patch | |
parent | f70a1bfc721336d4fc7dfb711c2f518a6b18cf16 (diff) |
gentoo resync : 01.10.2020
Diffstat (limited to 'sci-calculators/units/files/units-2.20-readerror.patch')
-rw-r--r-- | sci-calculators/units/files/units-2.20-readerror.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-calculators/units/files/units-2.20-readerror.patch b/sci-calculators/units/files/units-2.20-readerror.patch new file mode 100644 index 000000000000..ccb12c681539 --- /dev/null +++ b/sci-calculators/units/files/units-2.20-readerror.patch @@ -0,0 +1,11 @@ +--- a/units.c ++++ b/units.c +@@ -761,7 +761,7 @@ + } + + +-#define readerror (goterr=1) && errfile && fprintf ++#define readerror(...) do { goterr=1; if (errfile) fprintf(__VA_ARGS__); } while (0) + + #define VAGUE_ERR "%s: error in units file '%s' line %d\n", \ + progname, file, linenum |