Hi, I made a debdiff using quilt.
Regards, Paul -- PaulLiu(劉穎駿) E-mail address: grandp...@gmail.com
diff -u sockstat-0.3/debian/control sockstat-0.3/debian/control --- sockstat-0.3/debian/control +++ sockstat-0.3/debian/control @@ -2,7 +2,7 @@ Section: admin Priority: extra Maintainer: William Pitcock <neno...@dereferenced.org> -Build-Depends: debhelper (>= 6) +Build-Depends: debhelper (>= 6), quilt Standards-Version: 3.8.0 Homepage: http://nenolod.net/sockstat diff -u sockstat-0.3/debian/changelog sockstat-0.3/debian/changelog --- sockstat-0.3/debian/changelog +++ sockstat-0.3/debian/changelog @@ -1,3 +1,12 @@ +sockstat (0.3-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Add quilt for patching + * debian/patches/001_fix_CHAR_BIT_missing.patch + - Fix FTBFS in karmic + + -- Ying-Chun Liu (PaulLiu) <grandp...@gmail.com> Thu, 04 Jun 2009 16:12:06 +0800 + sockstat (0.3-1) unstable; urgency=low * Initial release for Debian. (Closes: #483899) diff -u sockstat-0.3/debian/rules sockstat-0.3/debian/rules --- sockstat-0.3/debian/rules +++ sockstat-0.3/debian/rules @@ -4,8 +4,10 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +include /usr/share/quilt/quilt.make + configure: configure-stamp -configure-stamp: +configure-stamp: $(QUILT_STAMPFN) dh_testdir touch configure-stamp @@ -16,7 +18,7 @@ $(MAKE) touch $@ -clean: +clean: unpatch dh_testdir dh_testroot rm -f build-stamp configure-stamp only in patch2: unchanged: --- sockstat-0.3.orig/debian/patches/series +++ sockstat-0.3/debian/patches/series @@ -0,0 +1 @@ +001_fix_CHAR_BIT_missing.patch only in patch2: unchanged: --- sockstat-0.3.orig/debian/patches/001_fix_CHAR_BIT_missing.patch +++ sockstat-0.3/debian/patches/001_fix_CHAR_BIT_missing.patch @@ -0,0 +1,12 @@ +Index: sockstat-0.3/sockstat.c +=================================================================== +--- sockstat-0.3.orig/sockstat.c 2009-06-04 11:34:59.051534157 +0800 ++++ sockstat-0.3/sockstat.c 2009-06-04 11:35:27.283531833 +0800 +@@ -41,6 +41,7 @@ + #include <pwd.h> + #include <grp.h> + #include <assert.h> ++#include <limits.h> + + #define SEARCH_ALL 0x00 + #define SEARCH_GID 0x01
signature.asc
Description: OpenPGP digital signature