- Take maintainership, see http://lists.freebsd.org/pipermail/freebsd-ports/2011-October/071195.html - Use %%DATADIR%% in plist where appropriate - Add a few TEST_DEPENDS. Most of the tests pass, the ones that don't seem to be upstream issues and/or already existing
19 lines
426 B
C
19 lines
426 B
C
--- ./src/augrun.c.orig 2012-02-11 04:26:33.948339055 -0500
|
|
+++ ./src/augrun.c 2012-02-11 04:29:28.090339060 -0500
|
|
@@ -988,6 +988,16 @@
|
|
&cmd_def_last
|
|
};
|
|
|
|
+char *strchrnul(const char *s, int c) {
|
|
+ char *i;
|
|
+ for (i = (char*)s; *i != '\0'; ++i) {
|
|
+ if (*i == c) {
|
|
+ return i;
|
|
+ }
|
|
+ }
|
|
+ return i;
|
|
+}
|
|
+
|
|
int aug_srun(augeas *aug, FILE *out, const char *text) {
|
|
char *line = NULL;
|
|
const char *eol;
|