]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - compat-gdbm/patches/gdbm-1.8.3-filestruct.patch
gdbm: Update to 1.10.
[ipfire-3.x.git] / compat-gdbm / patches / gdbm-1.8.3-filestruct.patch
diff --git a/compat-gdbm/patches/gdbm-1.8.3-filestruct.patch b/compat-gdbm/patches/gdbm-1.8.3-filestruct.patch
new file mode 100644 (file)
index 0000000..3e27db8
--- /dev/null
@@ -0,0 +1,12 @@
+diff -up gdbm-1.8.3/gdbm.proto.filestruct gdbm-1.8.3/gdbm.proto
+--- gdbm-1.8.3/gdbm.proto.filestruct   2011-01-13 09:54:03.004907454 +0100
++++ gdbm-1.8.3/gdbm.proto      2011-01-13 09:54:24.881714834 +0100
+@@ -60,7 +60,7 @@ typedef struct {
+ /* The file information header. This is good enough for most applications. */
+-typedef struct {int dummy[10];} *GDBM_FILE;
++typedef struct __GDBM_FILE_STRUC {int dummy[10];} *GDBM_FILE;
+ /* Determine if the C(++) compiler requires complete function prototype  */
+ #ifndef __P