summaryrefslogtreecommitdiff
path: root/libgsf/libgsf-1.14.19.mingw.patch
blob: bc9fd5e0a5488e23db30a0787d3e76d6f09c4f3c (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
--- misc/libgsf-1.14.19/gsf/gsf-config.h	2011-03-23 16:18:27.163747600 +0100
+++ misc/build/libgsf-1.14.19/gsf/gsf-config.h	2011-03-23 16:01:26.598374600 +0100
@@ -3,8 +3,6 @@
 
 #define GETTEXT_PACKAGE "gsf"
 
-typedef unsigned short mode_t;
-
 #define S_ISREG(x) ((x & _S_IFREG)!=0)
 
 #endif
--- misc/libgsf-1.14.19/gsf/makefile.mk	2011-03-23 16:18:27.070742300 +0100
+++ misc/build/libgsf-1.14.19/gsf/makefile.mk	2011-03-23 16:17:29.477448100 +0100
@@ -91,14 +91,14 @@
 SHL1TARGET=	$(TARGET)
 SHL1OBJS=$(SLOFILES)
 SHL1STDLIBS=\
-    libxml2.lib \
-    gio-2.0.lib \
-    gmodule-2.0.lib \
-    gobject-2.0.lib \
-    glib-2.0.lib \
-    intl.lib \
-    zlib.lib \
-	Advapi32.lib
+    $(LIBXML2LIB) \
+    -lgio-2.0 \
+    -lgmodule-2.0 \
+    -lgobject-2.0 \
+    -lglib-2.0 \
+    -lintl \
+    $(ZLIB3RDLIB) \
+	$(ADVAPI32LIB)
 
 
 SHL1IMPLIB=	i$(TARGET)