aboutsummaryrefslogtreecommitdiffstats
path: root/main/freetds/fix-includes.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-05-23 11:59:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-23 11:59:27 +0000
commit78836b041c49dfc8220ab3c074cdd3e49d4a34b8 (patch)
treeedd0e8067dd6c70ef9f93e32db324bedad1e2dd9 /main/freetds/fix-includes.patch
parent67c536f7866b8cd1445019cfa18050fbbac342ac (diff)
downloadaports-78836b041c49dfc8220ab3c074cdd3e49d4a34b8.tar.bz2
aports-78836b041c49dfc8220ab3c074cdd3e49d4a34b8.tar.xz
main/freetds: upgrade to 1.00
Diffstat (limited to 'main/freetds/fix-includes.patch')
-rw-r--r--main/freetds/fix-includes.patch22
1 files changed, 12 insertions, 10 deletions
diff --git a/main/freetds/fix-includes.patch b/main/freetds/fix-includes.patch
index cd538534c9..af9465d758 100644
--- a/main/freetds/fix-includes.patch
+++ b/main/freetds/fix-includes.patch
@@ -1,10 +1,12 @@
---- freetds-0.92.79.orig/src/apps/tsql.c
-+++ freetds-0.92.79/src/apps/tsql.c
-@@ -33,6 +33,7 @@
- # endif
- #endif
-
-+#include <getopt.h>
- #include <stdio.h>
- #include <assert.h>
- #include <ctype.h>
+diff --git a/src/apps/fisql/fisql.c b/src/apps/fisql/fisql.c
+index ec8fded..fd76956 100644
+--- a/src/apps/fisql/fisql.c
++++ b/src/apps/fisql/fisql.c
+@@ -25,6 +25,7 @@
+ #include <unistd.h>
+ #include <setjmp.h>
+ #include <signal.h>
++#include <sys/stat.h>
+ #ifdef HAVE_READLINE
+ #include <readline/readline.h>
+ #include <readline/history.h>