freebsd-ports/chinese/mkisofs/files/patch-ab
Jing-Tang Keith Jang 4d10c5d235 New port: mkisofs
mkisofs is a pre-mastering program that generates binary ISO9660
filesystem image.  Users can then write the image to devices like
CD-R or CD-RW.  This port can also generate Chinese Big5 filenames
on Joliet filesystems.  Use the -J option to activate it.

Although it works flawlessly, further improvements are possible:
1. Accept GB(Simplified Chinese) filenames also.
2. Upgrade to mkisofs 1.13.  1.13 uses a better structure to manage
   I18N, which is (almost all) borrowed from Linux kernel's fs code.
2000-11-07 04:50:24 +00:00

26 lines
557 B
Text

--- include/mconfig.h.orig Mon Mar 1 18:42:26 1999
+++ include/mconfig.h Sat May 8 17:00:07 1999
@@ -28,6 +28,10 @@
#ifndef _MCONFIG_H
#define _MCONFIG_H
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
+# include <sys/param.h>
+#endif
+
/*
* This hack that is needed as long as VMS has no POSIX shell.
*/
@@ -77,6 +81,12 @@
/*
* Some magic that cannot (yet) be figured out with autoconf.
*/
+
+#if (defined(BSD) && (BSD >= 199103))
+# ifndef HAVE_FLOCK
+# define HAVE_FLOCK
+# endif
+#endif
#ifdef sparc
# ifndef HAVE_LDSTUB