aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2007-07-14 19:51:29 +0000
committerHiroki Sato <hrs@FreeBSD.org>2007-07-14 19:51:29 +0000
commit64add07445a3e42f82eaed63e62b24ae5fe84205 (patch)
treeefb9e6fc2329103d92c604ecc808cb54616efcd5 /japanese
parent263fd9e2de8d536c23eb25e7d9500db9faebab6a (diff)
downloadports-64add07445a3e42f82eaed63e62b24ae5fe84205.tar.gz
ports-64add07445a3e42f82eaed63e62b24ae5fe84205.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/dvi2dvi/files/patch-Makefile (renamed from japanese/dvi2dvi/files/patch-aa)7
-rw-r--r--japanese/dvi2dvi/files/patch-defs.h14
2 files changed, 15 insertions, 6 deletions
diff --git a/japanese/dvi2dvi/files/patch-aa b/japanese/dvi2dvi/files/patch-Makefile
index 99a5f77b27c8..2f40255b5fe6 100644
--- a/japanese/dvi2dvi/files/patch-aa
+++ b/japanese/dvi2dvi/files/patch-Makefile
@@ -1,5 +1,5 @@
--- Makefile.orig Fri Sep 3 22:01:59 1999
-+++ Makefile Thu Aug 26 01:24:25 2004
++++ Makefile Sun Jul 15 04:45:41 2007
@@ -2,10 +2,10 @@
# your site:
#
@@ -23,14 +23,15 @@
+KPSELIB = -L${kpathsea_parent}/kpathsea/STATIC -lkpathsea
#
- CC=gcc
+-CC=gcc
++CC?=gcc
#
-CCFLAGS = -g
+#CCFLAGS = -g
#CCFLAGS = -O # SUN etc ...
#CCFLAGS = -O -traditional -DPOSIX # 386bsd (gcc 1.X)
-#CCFLAGS = -O -DPOSIX # Netbsd (gcc 2.X), Linux
-+CCFLAGS += -O -DPOSIX # Netbsd (gcc 2.X), Linux
++CCFLAGS += -O -DPOSIX -DANSI # Netbsd (gcc 2.X), Linux
#CCFLAGS = -O -bsd # NeXT
#CCFLAGS = -O -DMSDOS -DPOSIX # DJGCC (gcc 2.X)
#CCFLAGS = -O -DSYSV # SysV
diff --git a/japanese/dvi2dvi/files/patch-defs.h b/japanese/dvi2dvi/files/patch-defs.h
index 06e23b5dcad0..42b53cbb9cd6 100644
--- a/japanese/dvi2dvi/files/patch-defs.h
+++ b/japanese/dvi2dvi/files/patch-defs.h
@@ -1,6 +1,14 @@
---- defs.h.orig Sat Aug 21 01:06:36 2004
-+++ defs.h Sat Aug 21 01:07:14 2004
-@@ -35,21 +35,11 @@
+--- defs.h.orig Fri Apr 17 04:41:28 1998
++++ defs.h Sun Jul 15 04:47:17 2007
+@@ -27,6 +27,7 @@
+ #define bcopy(s, d, n) memcpy(d, s, n)
+ #define bzero(p, n) memset(p, 0, n)
+ #else
++#include <string.h>
+ #include <strings.h>
+ #endif
+
+@@ -35,21 +36,11 @@
char *realloc();
char *calloc();
int free();