[Debian-hebrew-package] r880 - in /pkg/libhdate/trunk/debian: changelog patches/ld-as-needed.patch patches/series
kaplan at users.alioth.debian.org
kaplan at users.alioth.debian.org
Tue Apr 5 19:59:35 UTC 2011
Author: kaplan
Date: Tue Apr 5 19:59:32 2011
New Revision: 880
URL: http://svn.debian.org/wsvn/debian-hebrew/?sc=1&rev=880
Log:
* Fix build failure with ld --as-needed (Closes: #604780)
- Apply patch from Matthias Klose (Ubuntu).
Added:
pkg/libhdate/trunk/debian/patches/ld-as-needed.patch
Modified:
pkg/libhdate/trunk/debian/changelog
pkg/libhdate/trunk/debian/patches/series
Modified: pkg/libhdate/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/libhdate/trunk/debian/changelog?rev=880&op=diff
==============================================================================
--- pkg/libhdate/trunk/debian/changelog (original)
+++ pkg/libhdate/trunk/debian/changelog Tue Apr 5 19:59:32 2011
@@ -1,3 +1,10 @@
+libhdate (1.4.20-2) unstable; urgency=low
+
+ * Fix build failure with ld --as-needed (Closes: #604780)
+ - Apply patch from Matthias Klose (Ubuntu).
+
+ -- Lior Kaplan <kaplan at debian.org> Tue, 05 Apr 2011 22:50:16 +0300
+
libhdate (1.4.20-1) unstable; urgency=low
* New upstream release
Added: pkg/libhdate/trunk/debian/patches/ld-as-needed.patch
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/libhdate/trunk/debian/patches/ld-as-needed.patch?rev=880&op=file
==============================================================================
--- pkg/libhdate/trunk/debian/patches/ld-as-needed.patch (added)
+++ pkg/libhdate/trunk/debian/patches/ld-as-needed.patch Tue Apr 5 19:59:32 2011
@@ -1,0 +1,91 @@
+Description: Fix build from source when linking with "ld --as-needed"
+Author: Matthias Klose <doko at ubuntu.com>
+
+--- a/bindings/perl/Makefile.in
++++ b/bindings/perl/Makefile.in
+@@ -401,7 +401,7 @@
+
+ @WITH_PERL_TRUE at hdate.so: hdate_wrap.cxx
+ @WITH_PERL_TRUE@ g++ -fpic -c hdate_wrap.cxx $(PE_CFLAGS) -I$(top_srcdir)/src
+- at WITH_PERL_TRUE@ g++ -shared ../../src/.libs/libhdate.so hdate_wrap.o -o hdate.so
++ at WITH_PERL_TRUE@ g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o hdate.so
+
+ @WITH_PERL_TRUE at hdate_wrap.cxx: hdate.i
+ @WITH_PERL_TRUE@ swig -perl -c++ hdate.i
+--- a/bindings/perl/Makefile.am
++++ b/bindings/perl/Makefile.am
+@@ -12,7 +12,7 @@
+
+ hdate.so: hdate_wrap.cxx
+ g++ -fpic -c hdate_wrap.cxx $(PE_CFLAGS) -I$(top_srcdir)/src
+- g++ -shared ../../src/.libs/libhdate.so hdate_wrap.o -o hdate.so
++ g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o hdate.so
+
+ hdate_wrap.cxx: hdate.i
+ swig -perl -c++ hdate.i
+--- a/bindings/php/Makefile.in
++++ b/bindings/php/Makefile.in
+@@ -401,7 +401,7 @@
+
+ @WITH_PHP_TRUE at hdate.so: hdate_wrap.cpp
+ @WITH_PHP_TRUE@ g++ -I$(top_srcdir)/src `php-config --includes` -fpic -c hdate_wrap.cpp
+- at WITH_PHP_TRUE@ gcc -shared ../../src/.libs/libhdate.so hdate_wrap.o -lstdc++ -o hdate.so
++ at WITH_PHP_TRUE@ gcc -shared hdate_wrap.o ../../src/.libs/libhdate.so -lstdc++ -o hdate.so
+
+ @WITH_PHP_TRUE at hdate_wrap.cpp: hdate.i
+ @WITH_PHP_TRUE@ swig -php5 -c++ hdate.i
+--- a/bindings/php/Makefile.am
++++ b/bindings/php/Makefile.am
+@@ -12,7 +12,7 @@
+
+ hdate.so: hdate_wrap.cpp
+ g++ -I$(top_srcdir)/src `php-config --includes` -fpic -c hdate_wrap.cpp
+- gcc -shared ../../src/.libs/libhdate.so hdate_wrap.o -lstdc++ -o hdate.so
++ gcc -shared hdate_wrap.o ../../src/.libs/libhdate.so -lstdc++ -o hdate.so
+
+ hdate_wrap.cpp: hdate.i
+ swig -php5 -c++ hdate.i
+--- a/bindings/ruby/Makefile.in
++++ b/bindings/ruby/Makefile.in
+@@ -401,7 +401,7 @@
+
+ @WITH_RUBY_TRUE at hdate.so: hdate_wrap.cxx
+ @WITH_RUBY_TRUE@ g++ -fpic -fno-strict-aliasing -g -O2 -c hdate_wrap.cxx $(RU_CFLAGS) -I$(top_srcdir)/src
+- at WITH_RUBY_TRUE@ gcc -shared ../../src/.libs/libhdate.so hdate_wrap.o -rdynamic -Wl,-export-dynamic -lruby$(RU_VERSION) -lpthread -ldl -lcrypt -lm -lc -lstdc++ -o hdate.so
++ at WITH_RUBY_TRUE@ gcc -shared hdate_wrap.o ../../src/.libs/libhdate.so -rdynamic -Wl,-export-dynamic -lruby$(RU_VERSION) -lpthread -ldl -lcrypt -lm -lc -lstdc++ -o hdate.so
+
+ @WITH_RUBY_TRUE at hdate_wrap.cxx: hdate.i
+ @WITH_RUBY_TRUE@ swig -c++ -ruby hdate.i
+--- a/bindings/ruby/Makefile.am
++++ b/bindings/ruby/Makefile.am
+@@ -12,7 +12,7 @@
+
+ hdate.so: hdate_wrap.cxx
+ g++ -fpic -fno-strict-aliasing -g -O2 -c hdate_wrap.cxx $(RU_CFLAGS) -I$(top_srcdir)/src
+- gcc -shared ../../src/.libs/libhdate.so hdate_wrap.o -rdynamic -Wl,-export-dynamic -lruby$(RU_VERSION) -lpthread -ldl -lcrypt -lm -lc -lstdc++ -o hdate.so
++ gcc -shared hdate_wrap.o ../../src/.libs/libhdate.so -rdynamic -Wl,-export-dynamic -lruby$(RU_VERSION) -lpthread -ldl -lcrypt -lm -lc -lstdc++ -o hdate.so
+
+ hdate_wrap.cxx: hdate.i
+ swig -c++ -ruby hdate.i
+--- a/bindings/python/Makefile.in
++++ b/bindings/python/Makefile.in
+@@ -401,7 +401,7 @@
+
+ @WITH_PYTHON_TRUE at _hdate.so: hdate_wrap.cxx
+ @WITH_PYTHON_TRUE@ g++ -fpic -c hdate_wrap.cxx $(PY_CFLAGS) -I$(top_srcdir)/src
+- at WITH_PYTHON_TRUE@ g++ -shared ../../src/.libs/libhdate.so hdate_wrap.o -o _hdate.so
++ at WITH_PYTHON_TRUE@ g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o _hdate.so
+
+ @WITH_PYTHON_TRUE at hdate_wrap.cxx: hdate.i
+ @WITH_PYTHON_TRUE@ swig -python -c++ hdate.i
+--- a/bindings/python/Makefile.am
++++ b/bindings/python/Makefile.am
+@@ -12,7 +12,7 @@
+
+ _hdate.so: hdate_wrap.cxx
+ g++ -fpic -c hdate_wrap.cxx $(PY_CFLAGS) -I$(top_srcdir)/src
+- g++ -shared ../../src/.libs/libhdate.so hdate_wrap.o -o _hdate.so
++ g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o _hdate.so
+
+ hdate_wrap.cxx: hdate.i
+ swig -python -c++ hdate.i
Modified: pkg/libhdate/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/libhdate/trunk/debian/patches/series?rev=880&op=diff
==============================================================================
--- pkg/libhdate/trunk/debian/patches/series (original)
+++ pkg/libhdate/trunk/debian/patches/series Tue Apr 5 19:59:32 2011
@@ -1,1 +1,2 @@
docdir.patch
+ld-as-needed.patch
More information about the Debian-hebrew-package
mailing list