summaryrefslogtreecommitdiff
path: root/misc/openoffice3/patches/patch-ap
blob: 326a4aeb629a44d1ce4dc0e0c1cc7060bfcabe94 (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
76
77
78
79
$NetBSD: patch-ap,v 1.2 2009/05/09 18:43:41 hira Exp $

--- stlport/STLport-4.5.patch.orig	2008-12-30 23:32:01.000000000 +0900
+++ stlport/STLport-4.5.patch	2009-05-09 23:08:06.000000000 +0900
@@ -1045,3 +1045,74 @@
  # elif defined (__FreeBSD__)
  
  # define _Locale_CNTRL _CTYPE_C
+--- misc/STLport-4.5/src/gcc-3.0-netbsd.mak	2008-07-26 06:41:56.000000000 +0900
++++ misc/build/STLport-4.5/src/gcc-3.0-netbsd.mak	2008-07-26 06:18:49.000000000 +0900
+@@ -1 +1,67 @@
+-dummy
++#
++# Note : this makefile is for gcc-3 !
++#
++
++#
++# compiler
++#
++CC+= -D_REENTRANT
++CXX+= -D_REENTRANT
++
++#
++# Basename for libraries
++#
++LIB_BASENAME = libstlport_gcc
++
++#
++# guts for common stuff
++#
++#
++LINK=ar cr
++DYN_LINK=$(CXX) $(LDFLAGS) $(PTHREAD_LIBS) -fexceptions -shared -o
++
++OBJEXT=o
++DYNEXT=so
++STEXT=a
++RM=rm -rf
++PATH_SEP=/
++MKDIR=mkdir -p
++COMP=GCC$(ARCH)
++INSTALL_STEP = install_unix
++
++all:  all_dynamic all_static symbolic_links
++
++include common_macros.mak
++
++WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32
++
++CXXFLAGS_COMMON =  -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} -fexceptions -I${STLPORT_DIR} ${WARNING_FLAGS} $(CXXFLAGS)
++CFLAGS_COMMON =  -D_REENTRANT -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} -fexceptions -I${STLPORT_DIR} ${WARNING_FLAGS} ${ARCH_FLAGS}
++
++CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -O2 -fPIC
++CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -O2 -fPIC
++
++CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g -fPIC
++CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -g -fPIC
++
++CXXFLAGS_STLDEBUG_static = $(CXXFLAGS_DEBUG_static) -D_STLP_DEBUG
++CXXFLAGS_STLDEBUG_dynamic = $(CXXFLAGS_DEBUG_dynamic) -D_STLP_DEBUG
++
++CFLAGS_RELEASE_static = $(CFLAGS_COMMON) -O2 -fPIC
++CFLAGS_RELEASE_dynamic = $(CFLAGS_COMMON) -O2 -fPIC
++
++CFLAGS_DEBUG_static = $(CFLAGS_COMMON) -g -fPIC
++CFLAGS_DEBUG_dynamic = $(CFLAGS_COMMON) -g -fPIC
++
++CFLAGS_STLDEBUG_static = $(CFLAGS_DEBUG_static) -D_STLP_DEBUG
++CFLAGS_STLDEBUG_dynamic = $(CFLAGS_DEBUG_dynamic) -D_STLP_DEBUG
++
++include common_percent_rules.mak
++include common_rules.mak
++
++#install: all
++#    cp -p $(LIB_TARGET) ${D_LIB_TARGET} ../lib
++
++#%.s: %.cpp
++#    $(CXX) $(CXXFLAGS) -O4 -S -pto $<  -o $@
++