openbsd-ports/net/gopher/patches/patch-object_Regex_h
steven 95ef5ed2f2 import gopher 3.0.11
This is the Gopher+ distribution based on the University of Minnesota's
Internet Gopher+ distribution for UNIX machines.  University of
Minnesota actively developed this software until 1995.  In 2000, they
released it to the public under the GNU General Public License.

submitted by Deanna Phillips <deanna at sdf.lonestar.org>

ok bernd@, looks good jasper@
2006-07-31 12:52:20 +00:00

19 lines
643 B
Plaintext

$OpenBSD: patch-object_Regex_h,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
--- object/Regex.h.orig Wed Jul 26 12:56:33 2006
+++ object/Regex.h Wed Jul 26 12:56:44 2006
@@ -171,14 +171,6 @@
#warning REGEX_POSIX defined but REG_EXTENDED not found.
#endif
-/* These are named posix_re_comp and then #defined to the original names
-because MacOS X is nice enough to typedef re_comp and re_exec differently
-in unistd.h. Eww. */
-
-char *posix_re_comp(char *regex);
-int posix_re_exec(char *string);
-#define re_comp(a) (posix_re_comp(a))
-#define re_exec(a) (posix_re_exec(a))
#else
/* ********** Try to figure out what else they have. */