summaryrefslogtreecommitdiff
path: root/net/ORBit/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-09-04 22:00:45 +0000
committeragc <agc@pkgsrc.org>1998-09-04 22:00:45 +0000
commit40004a434337cb248f535f33d6ec3a20abd0901b (patch)
tree1352245f95efc750b12842d85a0bcdcc288cd2e6 /net/ORBit/patches
parent2dc72b771c1bd0cb80ac0af674c5cd2e827de675 (diff)
downloadpkgsrc-40004a434337cb248f535f33d6ec3a20abd0901b.tar.gz
Make this package use GNU indent, which can act as a filter, rather
than NetBSD's indent(1). As pointed out by Matthias Drochner.
Diffstat (limited to 'net/ORBit/patches')
-rw-r--r--net/ORBit/patches/patch-af18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/ORBit/patches/patch-af b/net/ORBit/patches/patch-af
new file mode 100644
index 00000000000..cdd10aef1ec
--- /dev/null
+++ b/net/ORBit/patches/patch-af
@@ -0,0 +1,18 @@
+$NetBSD: patch-af,v 1.1 1998/09/04 22:00:46 agc Exp $
+
+Use GNU indent, not NetBSD indent(1).
+
+--- src/idl-compiler/orbit-c-backend.c 1998/09/04 21:28:47 1.1
++++ src/idl-compiler/orbit-c-backend.c 1998/09/04 21:29:03
+@@ -18,9 +18,9 @@
+ #ifndef HAVE_INDENT
+ #define INDENT "cat"
+ #elif HAVE_INDENT_KR
+-#define INDENT "indent -kr -i8 -bad -fca -sc -sob"
++#define INDENT "gindent -kr -i8 -bad -fca -sc -sob"
+ #else
+-#define INDENT "indent -bad -bap -bc -sob -br -ce -cli2 -npcs -di1 -psl -i3 -lp"
++#define INDENT "gindent -bad -bap -bc -sob -br -ce -cli2 -npcs -di1 -psl -i3 -lp"
+ #endif /* HAVE_INDENT */
+
+ void