freebsd-ports/editors/bed/files/patch-editmacros.cpp
Greg Lewis a7012e1423 . If PACKAGE_BUILDING is set, then set WITHOUT_X11 as we can't guarantee
that we have an appropriate rxvt.
. Make rxvt a PATCH_DEPENDS as it is tested in pre-configure (there is no
  CONFIGURE_DEPENDS).
. Fix packing list and unbreak.
. Fix some minor whitespace bogons in Makefile.
. Add patches which hopefully fix the build on 5.x.
. Add a patch to stop the port installing stuff outside of ${PREFIX}.
  Some of this could be added back in with a better patch that installed
  it in the right place.
2004-01-22 17:39:08 +00:00

11 lines
533 B
C++

--- src/editmacros.cpp.orig Mon Dec 8 10:34:23 2003
+++ src/editmacros.cpp Mon Dec 8 10:35:00 2003
@@ -153,7 +153,7 @@
#define offwrite(handle,off,str, len) ((lseek(handle,off,SEEK_SET)==off)?write(handle,str,len)==len:0)
#include "varmacro.h"
#ifdef OLDGCCVARMACRO
-#define returnmessage(x...) {message( ## x);beep();erefresh();return -1;} VARMACRO
+#define returnmessage(x...) {message( x);beep();erefresh();return -1;} VARMACRO
#else
#define returnmessage(...) {message(__VA_ARGS__);beep();erefresh();return -1;}
#endif