summaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-2.0-devel/files/patch-project-extentions
blob: ff52c1788dc870c5459b937b15d2b7e7190b890f (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#iZ XXXXX
not yet raised

RCS file: /cvs/util/extensions/source/nsplugin/source/makefile.mk,v
retrieving revision 1.3
diff -u -r1.3 makefile.mk
--- extensions/source/nsplugin/source/makefile.mk	3 Sep 2004 11:41:22 -0000	1.3
+++ extensions/source/nsplugin/source/makefile.mk	4 Oct 2004 15:42:46 -0000
@@ -77,6 +77,9 @@
 .IF "$(GUI)"=="UNX"
 .IF "$(OS)"=="LINUX"
 INC+= -DNP_LINUX
+CFLAGS+=`pkg-config --cflags gtk+-2.0`
+.ELIF "$(OS)"=="FREEBSD"
+CFLAGS+=`pkg-config --cflags gtk+-2.0`
 .ENDIF
 .ENDIF
 .IF "$(GUI)"=="WNT"
@@ -93,8 +96,12 @@
 .IF "$(GUI)"=="UNX"
 SHL1OBJS+=$(SLO)$/npunix.obj
 SLOFILES+=$(SLO)$/npunix.obj
+.IF "$(OS)"=="FREEBSD"
+#SHL1STDLIBS+=
+.ELSE
 SHL1STDLIBS+= -ldl -lnsl
-.ENDIF
+.ENDIF # FREEBSD
+.ENDIF # UNX
 .IF "$(GUI)"=="WNT"
 SHL1OBJS+=$(SLO)$/npwin.obj
 SLOFILES+=$(SLO)$/npwin.obj
@@ -123,6 +130,7 @@
 .IF "$(GUI)"=="UNX"
 #APP1STDLIBS+= -lgdk-x11-2.0 -lgtk-x11-2.0
 .IF "$(OS)"=="LINUX"
+.ELIF "$(OS)"=="FREEBSD"
 .ELSE
 APP1STDLIBS+= -ldl -lnsl -lnls -lsocket
 .ENDIF
Index: extensions/source/nsplugin/source/so_env.cxx
===================================================================
RCS file: /cvs/util/extensions/source/nsplugin/source/so_env.cxx,v
retrieving revision 1.2
diff -u -r1.2 so_env.cxx
--- extensions/source/nsplugin/source/so_env.cxx	20 Aug 2004 10:08:00 -0000	1.2
+++ extensions/source/nsplugin/source/so_env.cxx	4 Oct 2004 15:42:46 -0000
@@ -62,7 +62,7 @@
 #ifdef UNIX
 #include <sys/types.h>
 #include <strings.h>
-#ifdef NP_LINUX
+#if defined(NP_LINUX) || defined (FREEBSD)
 #include <stdarg.h>
 #else
 #include <sys/varargs.h>


Index: extensions/source/config/ldap/makefile.mk
===================================================================
RCS file: /cvs/util/extensions/source/config/ldap/makefile.mk,v
retrieving revision 1.2
diff -u -r1.2 makefile.mk
--- extensions/source/config/ldap/makefile.mk	3 Aug 2004 14:39:30 -0000	1.2
+++ extensions/source/config/ldap/makefile.mk	24 Oct 2004 04:05:13 -0000
@@ -97,6 +97,9 @@
         $(CPPUHELPERLIB) \
         $(CPPULIB) \
         $(SALLIB)
+.IF "$(OS)"=="FREEBSD"
+SHL1STDLIBS+=-lcompat
+.ENDIF
 
 DEF1NAME=$(SHL1TARGET)
 DEF1EXPORTFILE=exports.dxp    
OpenPOWER on IntegriCloud