summaryrefslogtreecommitdiff
path: root/emulators/peace
diff options
context:
space:
mode:
authorkent <kent>2005-06-09 07:01:59 +0000
committerkent <kent>2005-06-09 07:01:59 +0000
commit82c8c1c51e1039e90cc7b8f46970cfc078b484e0 (patch)
tree9f71b7747a3469ce410a4ad5b0f2efbf465eaa70 /emulators/peace
parent4d73a531a722117b0478cc2469613a928d4f7ede (diff)
downloadpkgsrc-82c8c1c51e1039e90cc7b8f46970cfc078b484e0.tar.gz
fix a build problem
Diffstat (limited to 'emulators/peace')
-rw-r--r--emulators/peace/distinfo5
-rw-r--r--emulators/peace/patches/patch-aa12
-rw-r--r--emulators/peace/patches/patch-ab14
-rw-r--r--emulators/peace/patches/patch-ac40
4 files changed, 70 insertions, 1 deletions
diff --git a/emulators/peace/distinfo b/emulators/peace/distinfo
index 1758e46b723..36d52a4d461 100644
--- a/emulators/peace/distinfo
+++ b/emulators/peace/distinfo
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.7 2005/02/23 18:49:19 agc Exp $
+$NetBSD: distinfo,v 1.8 2005/06/09 07:01:59 kent Exp $
SHA1 (peace-0.0.20040611.tar.gz) = ea7423a11b909f19cf523dc75b630eb832bbe9ca
RMD160 (peace-0.0.20040611.tar.gz) = ac4f794e51576e7f173efa63cdbf7cd1c105d66a
Size (peace-0.0.20040611.tar.gz) = 572332 bytes
+SHA1 (patch-aa) = 6b6283103de3ee763f944c1b1d9446f5128ffd1d
+SHA1 (patch-ab) = 6184eae1411c703ab60896c5f7cc61015f64dab3
+SHA1 (patch-ac) = 7c113202197a6bab9a3bcc643fd56694296d3fde
diff --git a/emulators/peace/patches/patch-aa b/emulators/peace/patches/patch-aa
new file mode 100644
index 00000000000..e582594ccdb
--- /dev/null
+++ b/emulators/peace/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2005/06/09 07:01:59 kent Exp $
+
+--- dll/Makefile.inc.~1.64.~ 2004-03-09 11:45:44.000000000 +0900
++++ dll/Makefile.inc
+@@ -24,6 +24,7 @@ ICUINC= -I${LOCALBASE}/include
+ X11INC= -I/usr/X11R6/include
+ FREETYPEINC= ${X11INC}/freetype2
+ CFLAGS+= -I../common -Wall
++CXXFLAGS= ${CFLAGS}
+ LDFLAGS+= -mdll -nostartfiles -Wl,--image-base,${IBASE}
+ #LDFLAGS+= -Wl,--verbose
+ #LDFLAGS+= -Wl,--enable-extra-pe-debug
diff --git a/emulators/peace/patches/patch-ab b/emulators/peace/patches/patch-ab
new file mode 100644
index 00000000000..d842c2a1e66
--- /dev/null
+++ b/emulators/peace/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2005/06/09 07:01:59 kent Exp $
+
+--- dll/advapi32/Makefile.~1.16.~ 2003-11-29 19:32:12.000000000 +0900
++++ dll/advapi32/Makefile
+@@ -3,8 +3,7 @@
+ DLL= advapi32
+ SRCS= crt0.c winbase.c winsvc.c wincrypt.c ntsecapi.c \
+ reg.cc RegistryKey.cc combase.cc handle.c
+-CFLAGS+= ${ICUINC}
+-CXXFLAGS+= -I../kernel32
++CFLAGS+= ${ICUINC} -I../kernel32
+ IBASE= 0x89000000
+ DLLDEPS= kernel32
+ LDADD+= ${ICULDADD} ${GUIDLDADD}
diff --git a/emulators/peace/patches/patch-ac b/emulators/peace/patches/patch-ac
new file mode 100644
index 00000000000..1fc6efdfa6e
--- /dev/null
+++ b/emulators/peace/patches/patch-ac
@@ -0,0 +1,40 @@
+$NetBSD: patch-ac,v 1.1 2005/06/09 07:01:59 kent Exp $
+
+--- dll/ui.so/string.cc.~1.9.~ 2003-12-01 01:11:04.000000000 +0900
++++ dll/ui.so/string.cc
+@@ -43,7 +43,7 @@ CharLowerA(LPSTR str)
+ /*
+ * 1 character.
+ */
+- return (LPSTR)tolower(str);
++ return (LPSTR)tolower(LOWORD(str));
+ } else {
+ CharLowerBuffA(str, strlen(str));
+ }
+@@ -60,7 +60,7 @@ CharLowerW(LPWSTR str)
+ /*
+ * 1 character.
+ */
+- return (LPWSTR)tolower(str);
++ return (LPWSTR)tolower(LOWORD(str));
+ } else {
+ CharLowerBuffW(str, lstrlenW(str));
+ }
+@@ -223,7 +223,7 @@ CharUpperA(LPSTR str)
+ /*
+ * 1 character.
+ */
+- return (LPSTR)toupper(str);
++ return (LPSTR)toupper(LOWORD(str));
+ } else {
+ CharUpperBuffA(str, strlen(str));
+ }
+@@ -240,7 +240,7 @@ CharUpperW(LPWSTR str)
+ /*
+ * 1 character.
+ */
+- return (LPWSTR)toupper(str);
++ return (LPWSTR)toupper(LOWORD(str));
+ } else {
+ CharUpperBuffW(str, lstrlenW(str));
+ }