The following commit has been merged in the release1.2 branch:
commit a367d92b7be5ed6766fe0108189e3ef1c2db2751
Author: Francesco Paolo Lovergine <fran...@debian.org>
Date:   Sat May 14 17:25:07 2011 +0200

    Added no-undefined flag at linking time.

diff --git a/debian/patches/noundefined b/debian/patches/noundefined
new file mode 100644
index 0000000..52b1785
--- /dev/null
+++ b/debian/patches/noundefined
@@ -0,0 +1,23 @@
+Index: liblas/src/Makefile.am
+===================================================================
+--- liblas.orig/src/Makefile.am        2011-05-14 17:16:52.000000000 +0200
++++ liblas/src/Makefile.am     2011-05-14 17:17:06.000000000 +0200
+@@ -38,4 +38,4 @@
+ liblas_la_SOURCES += gt_wkt_srs.cpp gt_citation.cpp tifvsi.cpp
+ endif
+             
+-liblas_la_LDFLAGS = -version-info 1:0:0
++liblas_la_LDFLAGS = -version-info 1:0:0 -Wl,-no-undefined
+Index: liblas/src/Makefile.in
+===================================================================
+--- liblas.orig/src/Makefile.in        2011-05-14 17:19:21.000000000 +0200
++++ liblas/src/Makefile.in     2011-05-14 17:19:30.000000000 +0200
+@@ -226,7 +226,7 @@
+       detail/reader12.cpp detail/writer.cpp detail/writer10.cpp \
+       detail/writer11.cpp detail/writer12.cpp detail/file.cpp \
+       $(am__append_1)
+-liblas_la_LDFLAGS = -version-info 1:0:0
++liblas_la_LDFLAGS = -version-info 1:0:0 -Wl,-no-undefined
+ all: all-recursive
+ 
+ .SUFFIXES:
diff --git a/debian/patches/series b/debian/patches/series
index f035ff3..40dc548 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 # no patches
 missing.diff
 gcc4.5
+noundefined

-- 
ASPRS LiDAR data translation library

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to