aboutsummaryrefslogtreecommitdiff
path: root/libraries/gcab/fix-gcab-options.patch
blob: 5f95ce5db13f2d6a64213a2c5acea0201da063f5 (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
diff --git a/libgcab/cabinet.c b/libgcab/cabinet.c
index 6241904..275d5f5 100644
--- a/libgcab/cabinet.c
+++ b/libgcab/cabinet.c
@@ -26,7 +26,7 @@
 static voidpf
 zalloc (voidpf opaque, uInt items, uInt size)
 {
-    return g_malloc (items *size);
+    return g_malloc_n (items, size);
 }
 static void
 zfree (voidpf opaque, voidpf address)
diff --git a/meson.build b/meson.build
index ec02cdc..38d1a19 100644
--- a/meson.build
+++ b/meson.build
@@ -6,10 +6,6 @@ project('gcab', 'c',
 )
 
 git_version = []
-git = find_program('git', required: false)
-if git.found()
-  git_version = run_command(git, 'describe', '--abbrev=4', '--dirty', check: false).stdout().strip().split('-')
-endif
 
 # libtool versioning
 lt_current = 3