[Debichem-commits] r1380 - in /unstable/gelemental/debian: changelog control patches/ patches/00list patches/ftbfs_missing_limits.dpatch rules

dleidert-guest at users.alioth.debian.org dleidert-guest at users.alioth.debian.org
Sun May 25 22:18:05 UTC 2008


Author: dleidert-guest
Date: Sun May 25 22:18:05 2008
New Revision: 1380

URL: http://svn.debian.org/wsvn/debichem/?sc=1&rev=1380
Log:
* debian/control (Build-Depends): Added dpatch.
* debian/rules: Added dpatch related stuff.
* debian/patches/ftbfs_missing_limits.dpatch: Added.
  - libelemental/value.hh: Include <limits> to fix FTBFS.
* debian/patches/00list: Added.

Added:
    unstable/gelemental/debian/patches/
    unstable/gelemental/debian/patches/00list
    unstable/gelemental/debian/patches/ftbfs_missing_limits.dpatch   (with props)
Modified:
    unstable/gelemental/debian/changelog
    unstable/gelemental/debian/control
    unstable/gelemental/debian/rules

Modified: unstable/gelemental/debian/changelog
URL: http://svn.debian.org/wsvn/debichem/unstable/gelemental/debian/changelog?rev=1380&op=diff
==============================================================================
--- unstable/gelemental/debian/changelog (original)
+++ unstable/gelemental/debian/changelog Sun May 25 22:18:05 2008
@@ -1,6 +1,10 @@
 gelemental (1.2.0-2) UNRELEASED; urgency=low
 
-  * NOT RELEASED YET
+  * debian/control (Build-Depends): Added dpatch.
+  * debian/rules: Added dpatch related stuff.
+  * debian/patches/ftbfs_missing_limits.dpatch: Added.
+    - libelemental/value.hh: Include <limits> to fix FTBFS.
+  * debian/patches/00list: Added.
 
  -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Mon, 19 May 2008 04:41:58 +0200
 

Modified: unstable/gelemental/debian/control
URL: http://svn.debian.org/wsvn/debichem/unstable/gelemental/debian/control?rev=1380&op=diff
==============================================================================
--- unstable/gelemental/debian/control (original)
+++ unstable/gelemental/debian/control Sun May 25 22:18:05 2008
@@ -4,7 +4,7 @@
 Maintainer: Debichem Team <debichem-devel at lists.alioth.debian.org>
 Uploaders: Cesare Tirabassi <norsetto at ubuntu.com>,
  Daniel Leidert (dale) <daniel.leidert at wgdd.de>
-Build-Depends: debhelper (>= 5.0.51), pkg-config (>= 0.9.0),
+Build-Depends: debhelper (>= 5.0.51), pkg-config (>= 0.9.0), dpatch,
  libgtkmm-2.4-dev (>= 2.6.0), gettext, libxml-parser-perl, doxygen
 Standards-Version: 3.7.3
 Homepage: http://www.kdau.com/projects/gelemental/

Added: unstable/gelemental/debian/patches/00list
URL: http://svn.debian.org/wsvn/debichem/unstable/gelemental/debian/patches/00list?rev=1380&op=file
==============================================================================
--- unstable/gelemental/debian/patches/00list (added)
+++ unstable/gelemental/debian/patches/00list Sun May 25 22:18:05 2008
@@ -1,0 +1,1 @@
+ftbfs_missing_limits

Added: unstable/gelemental/debian/patches/ftbfs_missing_limits.dpatch
URL: http://svn.debian.org/wsvn/debichem/unstable/gelemental/debian/patches/ftbfs_missing_limits.dpatch?rev=1380&op=file
==============================================================================
--- unstable/gelemental/debian/patches/ftbfs_missing_limits.dpatch (added)
+++ unstable/gelemental/debian/patches/ftbfs_missing_limits.dpatch Sun May 25 22:18:05 2008
@@ -1,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## ftbfs_missing_limits.dpatch by Daniel Leidert (dale) <daniel.leidert at wgdd.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix an FTBFS on several architectures by including <limits>.
+
+ at DPATCH@
+diff -urNad gelemental~/libelemental/value.hh gelemental/libelemental/value.hh
+--- gelemental~/libelemental/value.hh	2007-09-25 07:10:16.000000000 +0200
++++ gelemental/libelemental/value.hh	2008-05-26 00:03:18.000000000 +0200
+@@ -27,6 +27,7 @@
+ #include <libelemental/misc/ucompose.hh>
+ #include <libelemental/misc/extras.hh>
+ 
++#include <limits>
+ #include <iomanip>
+ #include <ostream>
+ #include <vector>

Propchange: unstable/gelemental/debian/patches/ftbfs_missing_limits.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Modified: unstable/gelemental/debian/rules
URL: http://svn.debian.org/wsvn/debichem/unstable/gelemental/debian/rules?rev=1380&op=diff
==============================================================================
--- unstable/gelemental/debian/rules (original)
+++ unstable/gelemental/debian/rules Sun May 25 22:18:05 2008
@@ -2,6 +2,8 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
 
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
@@ -18,7 +20,7 @@
 #Linker flags
 LDFLAGS = -Wl,--as-needed
 
-config.status: configure
+config.status: patch-stamp configure
 	dh_testdir
 	CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
 	  ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
@@ -30,12 +32,12 @@
 	$(MAKE)
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	[ ! -f Makefile ] || $(MAKE) distclean
 	rm -rf docs/api/html
-	dh_clean build-stamp configure-stamp
+	dh_clean patch-stamp build-stamp
 
 install: build
 	dh_testdir




More information about the Debichem-commits mailing list