aboutsummaryrefslogtreecommitdiffstats
path: root/databases/libodbc++/files
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2012-11-04 19:19:23 +0800
committerfjoe <fjoe@FreeBSD.org>2012-11-04 19:19:23 +0800
commit6f16ef19b5498a5524cf247b9ea9878cd5b7699d (patch)
treeba9f64123f0db50cc4a465c00d7f8c0ce5c92eca /databases/libodbc++/files
parenteb3ee075383d298a946e35f321445d95aede7203 (diff)
downloadfreebsd-ports-gnome-6f16ef19b5498a5524cf247b9ea9878cd5b7699d.tar.gz
freebsd-ports-gnome-6f16ef19b5498a5524cf247b9ea9878cd5b7699d.tar.zst
freebsd-ports-gnome-6f16ef19b5498a5524cf247b9ea9878cd5b7699d.zip
Fix compilation error.
Obtained from: upstream Feature safe: yes
Diffstat (limited to 'databases/libodbc++/files')
-rw-r--r--databases/libodbc++/files/patch-src-dtconv.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/libodbc++/files/patch-src-dtconv.h b/databases/libodbc++/files/patch-src-dtconv.h
new file mode 100644
index 000000000000..d5f34dcde149
--- /dev/null
+++ b/databases/libodbc++/files/patch-src-dtconv.h
@@ -0,0 +1,11 @@
+--- src/dtconv.h.orig 2012-11-04 17:17:28.000000000 +0700
++++ src/dtconv.h 2012-11-04 17:17:56.000000000 +0700
+@@ -113,7 +113,7 @@
+ snprintf(buf,LONG_STR_LEN,
+ # endif
+ # if defined(PRId64)
+- ODBCXX_STRING_PERCENT PRId64
++ ODBCXX_STRING_CONST("%") PRId64
+ # elif ODBCXX_SIZEOF_LONG==8
+ ODBCXX_STRING_CONST("%ld")
+ # else