/etc/make.conf
WITH_PKGNG= yes
WITH_PGSQL_VER= 93
DEFAULT_VERSIONS= ruby=2.1 python=2.7
commands
% cd /usr/ports/ports-mgmt/pkg
% make install clean
| diff --git a/src/latex_modules/index.py b/src/latex_modules/index.py | |
| index eb59023..a682788 100644 | |
| --- a/src/latex_modules/index.py | |
| +++ b/src/latex_modules/index.py | |
| @@ -38,7 +38,7 @@ this argument, they apply to all indices declared at the point where they | |
| occur. | |
| """ | |
| -import os, os.path, re | |
| +import os, os.path, re, string |
/etc/make.conf
WITH_PKGNG= yes
WITH_PGSQL_VER= 93
DEFAULT_VERSIONS= ruby=2.1 python=2.7
commands
% cd /usr/ports/ports-mgmt/pkg
% make install clean
| #include <stdio.h> | |
| #include <stdarg.h> | |
| int sum(int argc, ...) | |
| { | |
| int res = 0; | |
| va_list ap; | |
| va_start(ap, argc); |
| /* astyle --style=kr --indent=spaces=4 --indent-switches --pad-oper --pad-header --align-pointer=name --add-brackets -n main.c | |
| * astyle -A3s4SpHk3jn main.c | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| enum state { | |
| NONE = 1, |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| int main(void) | |
| { | |
| FILE *fp = fopen("file.c", "r"); | |
| char *line = NULL; | |
| size_t linelen = 0; | |
| ssize_t len; |
| /* | |
| * Save as "sort.c". | |
| * Compile with "CXXFLAGS=-std=c++11 make sort". | |
| */ | |
| #include <iostream> | |
| #include <algorithm> | |
| struct Distance { | |
| int index; |
| #include <stdio.h> | |
| union env { | |
| void (*func)(); | |
| }; | |
| void foo(int a, int b) | |
| { | |
| printf("%d\n", a + b); | |
| } |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <gc/gc.h> | |
| struct node { | |
| int i; | |
| }; | |
| struct node *new_node(int i) | |
| { |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| #include <stdio.h> | |
| #include <sys/msg.h> | |
| #include <sys/wait.h> | |
| #include <string.h> | |
| /* message structure */ | |
| struct message { | |
| long mtype; |