severity 322130 important
thanks

Hello,

the attached updated patch makes the latest version 2.12r of 'util-linux'
build on the ppc64 architecture.

The patch adds 'ppc64' to three architecture lines in debian/control.
Additionally, it changes two special 'powerpc' settings in debian/rules
so that they also apply to the 'ppc64' case.

Regards
Andreas Jochens

diff -urN ../tmp-orig/util-linux-2.12r/debian/control ./debian/control
--- ../tmp-orig/util-linux-2.12r/debian/control 2005-12-09 15:03:05.000000000 
+0100
+++ ./debian/control    2005-12-09 14:55:15.000000000 +0100
@@ -35,7 +35,7 @@
  messages in other languages than English.
 
 Package: mount
-Architecture: alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc sh s390 
sparc sparc64
+Architecture: alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc ppc64 sh 
s390 sparc sparc64
 Essential: yes
 Pre-Depends: ${mount:Depends}
 Description: Tools for mounting and manipulating filesystems
@@ -55,7 +55,7 @@
  Included are: logger, renice, replay, script, wall
 
 Package: fdisk-udeb
-Architecture: alpha amd64 arm hppa i386 ia64 mips mipsel powerpc hurd-i386 
sparc s390
+Architecture: alpha amd64 arm hppa i386 ia64 mips mipsel powerpc ppc64 
hurd-i386 sparc s390
 Priority: extra
 Section: debian-installer
 Depends: ${fdisk-udeb:Depends}
@@ -63,7 +63,7 @@
  fdisk package
 
 Package: cfdisk-udeb
-Architecture: alpha amd64 arm hppa i386 ia64 mips mipsel powerpc hurd-i386 s390
+Architecture: alpha amd64 arm hppa i386 ia64 mips mipsel powerpc ppc64 
hurd-i386 s390
 Priority: extra
 Section: debian-installer
 Depends: ${cfdisk-udeb:Depends}
diff -urN ../tmp-orig/util-linux-2.12r/debian/rules ./debian/rules
--- ../tmp-orig/util-linux-2.12r/debian/rules   2005-12-09 15:03:05.000000000 
+0100
+++ ./debian/rules      2005-12-09 15:00:10.000000000 +0100
@@ -21,7 +21,7 @@
 export arch = $(DEB_HOST_ARCH)
 version := $(shell sed -e '1{;s|^util-linux (\(.*\))\ .*|\1|;q;}' 
debian/changelog)
 
-fdisk_arch = $(findstring $(arch),alpha i386 powerpc arm mips mipsel hppa ia64 
hurd-i386 amd64 s390)
+fdisk_arch = $(findstring $(arch),alpha i386 powerpc ppc64 arm mips mipsel 
hppa ia64 hurd-i386 amd64 s390)
 sparc = $(findstring $(arch),sparc)
 nohwclock = $(findstring $(arch),s390)
 
@@ -200,7 +200,7 @@
        install -m 644 $(DOCFILES)  debian/tmp/usr/share/doc/$(PACKAGE)
 endif
        install -m 644 $(EXAMPLES)  debian/tmp/usr/share/doc/$(PACKAGE)/examples
-ifeq ($(arch), powerpc)
+ifeq ($(arch),$(findstring $(arch),powerpc ppc64))
        mv -f debian/tmp/sbin/fdisk debian/tmp/sbin/ddisk
        mv -f debian/tmp/usr/share/man/man8/fdisk.8 
debian/tmp/usr/share/man/man8/ddisk.8
 endif
@@ -212,7 +212,7 @@
        (cd debian/tmp/sbin ; mv agetty getty)
        (cd debian/tmp/usr/share/man/man8 ; mv agetty.8 getty.8)
 ifneq ($(arch), $(nohwclock))
-ifneq ($(arch), powerpc)
+ifneq ($(arch),$(findstring $(arch),powerpc ppc64))
        (cd debian/tmp/usr/share/man/man8 && ln -s hwclock.8.gz clock.8.gz)
 endif
 endif


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to