aboutsummaryrefslogtreecommitdiffstats
path: root/lang/helium
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-02-02 16:24:13 +0800
committervs <vs@FreeBSD.org>2005-02-02 16:24:13 +0800
commit4ea0e790616745f7421618065fedcfe883f253d2 (patch)
tree95731b224462d3dba29ded90d5fd332b7c10de23 /lang/helium
parentb283355c155cd4964d0165e9fa61895abfeef455 (diff)
downloadfreebsd-ports-graphics-4ea0e790616745f7421618065fedcfe883f253d2.tar.gz
freebsd-ports-graphics-4ea0e790616745f7421618065fedcfe883f253d2.tar.zst
freebsd-ports-graphics-4ea0e790616745f7421618065fedcfe883f253d2.zip
Unbreak on 5.x: helium's home-grown configure fails to detect [v]snprintf
Diffstat (limited to 'lang/helium')
-rw-r--r--lang/helium/files/patch-lvm::src::configure35
1 files changed, 35 insertions, 0 deletions
diff --git a/lang/helium/files/patch-lvm::src::configure b/lang/helium/files/patch-lvm::src::configure
new file mode 100644
index 00000000000..7f5220cafb3
--- /dev/null
+++ b/lang/helium/files/patch-lvm::src::configure
@@ -0,0 +1,35 @@
+--- lvm/src/configure.orig Wed Feb 2 09:10:20 2005
++++ lvm/src/configure Wed Feb 2 09:10:54 2005
+@@ -608,23 +608,11 @@
+ echo "#define HAS_MEMMOVE" >> s.h
+ fi
+
+-if sh ./hasgot vsnprintf; then
+- echo "vsnprintf() found."
++ echo "vsnprintf() assumed (FreeBSD)."
+ echo "#define HAS_VSNPRINTF" >> s.h
+-else if sh ./hasgot _vsnprintf; then
+- echo "_vsnprintf() found."
+- echo "#define HAS__VSNPRINTF" >> s.h
+- fi
+-fi
+
+-if sh ./hasgot snprintf; then
+- echo "snprintf() found."
++ echo "snprintf() assumed (FreeBSD)."
+ echo "#define HAS_SNPRINTF" >> s.h
+-else if sh ./hasgot _snprintf; then
+- echo "_snprintf() found."
+- echo "#define HAS__SNPRINTF" >> s.h
+- fi
+-fi
+
+ if sh ./hasgot strncpy; then
+ echo "strncpy() found."
+@@ -694,4 +682,4 @@
+ echo " linker used............... $link"
+ echo " options for linking....... $cclinkopts"
+ echo
+-echo
+\ No newline at end of file
++echo