aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2006-01-18 16:56:15 +0800
committerjmz <jmz@FreeBSD.org>2006-01-18 16:56:15 +0800
commit3607dc583f4a22edd1aa1b0cdc3814ee3c9d480c (patch)
tree175bb6d2d4ed396c0687feb978df147f5c5151b5 /print
parentcff115e41807508452296eb58de888f0822433d0 (diff)
downloadfreebsd-ports-graphics-3607dc583f4a22edd1aa1b0cdc3814ee3c9d480c.tar.gz
freebsd-ports-graphics-3607dc583f4a22edd1aa1b0cdc3814ee3c9d480c.tar.zst
freebsd-ports-graphics-3607dc583f4a22edd1aa1b0cdc3814ee3c9d480c.zip
Fix the build on amd64.
Submitted by: jasone
Diffstat (limited to 'print')
-rw-r--r--print/tex/Makefile2
-rw-r--r--print/tex/files/patch-af12
2 files changed, 13 insertions, 1 deletions
diff --git a/print/tex/Makefile b/print/tex/Makefile
index ef20f0c5788..e5dc92dd191 100644
--- a/print/tex/Makefile
+++ b/print/tex/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tex
PORTVERSION= 3.14159
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= mikeh
diff --git a/print/tex/files/patch-af b/print/tex/files/patch-af
new file mode 100644
index 00000000000..992c31e7b94
--- /dev/null
+++ b/print/tex/files/patch-af
@@ -0,0 +1,12 @@
+--- kpathsea/config.h.orig Fri Feb 6 04:59:31 1998
++++ kpathsea/config.h Mon Jan 16 21:02:28 2006
+@@ -20,6 +20,9 @@
+ #ifndef KPATHSEA_CONFIG_H
+ #define KPATHSEA_CONFIG_H
+
++/* For basename(3). */
++#include <libgen.h>
++
+ /* System defines are for non-Unix systems only. (Testing for all Unix
+ variations should be done in configure.) Presently the defines used
+ are: AMIGA DOS OS2 VMCMS VMS WIN32. I do not use any of these systems