diff options
Diffstat (limited to 'mathopd/mathopd-config.patch')
-rw-r--r-- | mathopd/mathopd-config.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/mathopd/mathopd-config.patch b/mathopd/mathopd-config.patch new file mode 100644 index 000000000..b982a6c0f --- /dev/null +++ b/mathopd/mathopd-config.patch @@ -0,0 +1,45 @@ +diff -Nru mathopd-1.5p6.orig/src/Makefile mathopd-1.5p6/src/Makefile +--- mathopd-1.5p6.orig/src/Makefile 2007-07-21 14:56:57.000000000 +0200 ++++ mathopd-1.5p6/src/Makefile 2007-07-21 14:58:26.000000000 +0200 +@@ -1,6 +1,6 @@ + BIN = mathopd + CC = gcc +-CFLAGS = -O -Wall ++CFLAGS += -Wall + CPPFLAGS = + LDFLAGS = + LIBS = -lcrypt +@@ -12,12 +12,12 @@ + # LIBS = -lsocket -lnsl -lresolv + + # On Linux, uncomment the following +-# CPPFLAGS = -DHAVE_CRYPT_H ++CPPFLAGS = -DHAVE_CRYPT_H + + # For Linux or Solaris: + # To add support for large files (>2GB), uncomment the following. + # You do not need this for 64-bit executables. +-# CPPFLAGS += -D_FILE_OFFSET_BITS=64 ++CPPFLAGS += -D_FILE_OFFSET_BITS=64 + + OBJS = base64.o cgi.o config.o core.o dump.o imap.o log.o main.o \ + redirect.o request.o util.o stub.o $(EXTRA_OBJS) +@@ -31,15 +31,15 @@ + # CPPFLAGS += -DNEED_SOCKLEN_T + + # Unomment the following if your system has a working vfork() function +-# CPPFLAGS += -DHAVE_VFORK ++CPPFLAGS += -DHAVE_VFORK + + # Currently, sendfile support is available in two flavours: Linux and FreeBSD + # Uncomment one of the following two to enable sendfile() support +-# CPPFLAGS += -DLINUX_SENDFILE ++CPPFLAGS += -DLINUX_SENDFILE + # CPPFLAGS += -DFREEBSD_SENDFILE + # If you define any of the SENDFILE conditionals, make sure to uncomment + # the next line as well. +-# EXTRA_OBJS += sendfile.o ++EXTRA_OBJS += sendfile.o + + all: $(BIN) + install: $(BIN) |