summaryrefslogtreecommitdiff
path: root/debian/patches/glibc-ism.patch
blob: 64f1a6097542518d07ef2d8f1ac44af56c7ae3bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Index: cdrkit/genisoimage/sha256.h
===================================================================
--- cdrkit.orig/genisoimage/sha256.h	2012-12-31 20:40:00.503116203 +0400
+++ cdrkit/genisoimage/sha256.h	2012-12-31 20:43:06.242272165 +0400
@@ -29,6 +29,14 @@
 #include <stdint.h>
 #include <stdio.h>
 
+#ifndef __THROW
+# ifdef __GNUC__
+#  define __THROW __attribute__ ((__nothrow__))
+# else
+#  define __THROW /* nothing */
+# endif
+#endif
+
 
 /* Structure to save state of computation between the single steps.  */
 struct sha256_ctx
Index: cdrkit/genisoimage/sha512.h
===================================================================
--- cdrkit.orig/genisoimage/sha512.h	2012-12-31 05:04:44.257026487 +0400
+++ cdrkit/genisoimage/sha512.h	2012-12-31 20:44:09.816509406 +0400
@@ -29,6 +29,15 @@
 #include <stdint.h>
 #include <stdio.h>
 
+#ifndef __THROW
+# ifdef __GNUC__
+#  define __THROW __attribute__ ((__nothrow__))
+# else
+#  define __THROW /* nothing */
+# endif
+#endif
+
+
 
 /* Structure to save state of computation between the single steps.  */
 struct sha512_ctx