summaryrefslogtreecommitdiff
path: root/databases/freetds-devel/files/patch-include_freetds_tds.h
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2015-02-06 08:22:55 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2015-02-06 08:22:55 +0000
commit676855e78766e31341cd7fb49a8e1e03e1c661a3 (patch)
treee3aa6b8769e60bf859a11b74a8f74cea1c291367 /databases/freetds-devel/files/patch-include_freetds_tds.h
parent- Update to version 4.10.3 (diff)
databases/freetds-devel: Update version 0.92.812=>0.92.870
- UnBREAK [1] - Correct SIGBUS on tdsdbopen() [1] PR: 197196 [1] Differential Revision: https://reviews.freebsd.org/D1773 Submitted by: dg@fastmail.co.uk [1] Approved by: marino(mentor)
Notes
Notes: svn path=/head/; revision=378508
Diffstat (limited to 'databases/freetds-devel/files/patch-include_freetds_tds.h')
-rw-r--r--databases/freetds-devel/files/patch-include_freetds_tds.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/freetds-devel/files/patch-include_freetds_tds.h b/databases/freetds-devel/files/patch-include_freetds_tds.h
new file mode 100644
index 000000000000..bd287f97c56f
--- /dev/null
+++ b/databases/freetds-devel/files/patch-include_freetds_tds.h
@@ -0,0 +1,13 @@
+--- include/freetds/tds.h.orig 2015-02-02 17:40:31.253513320 +0600
++++ include/freetds/tds.h 2015-02-02 17:41:42.603514745 +0600
+@@ -144,7 +144,10 @@
+ TDS_INT date; /**< date, 0 = 1900-01-01 */
+ TDS_SMALLINT offset; /**< time offset */
+ TDS_USMALLINT time_prec:3;
++#pragma push_macro("_res")
++#undef _res
+ TDS_USMALLINT _res:10;
++#pragma pop_macro("_res")
+ TDS_USMALLINT has_time:1;
+ TDS_USMALLINT has_date:1;
+ TDS_USMALLINT has_offset:1;