public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-boot/unetbootin/files: unetbootin-gentoo.patch unetbootin-304-syslinux-gentoo.patch
@ 2009-02-02  7:32 Jeroen Roovers (jer)
  0 siblings, 0 replies; only message in thread
From: Jeroen Roovers (jer) @ 2009-02-02  7:32 UTC (permalink / raw
  To: gentoo-commits

jer         09/02/02 07:32:58

  Added:                unetbootin-gentoo.patch
  Removed:              unetbootin-304-syslinux-gentoo.patch
  Log:
  Rename patch. Version bump (and use qt4.eclass instead of INSTALL).
  (Portage version: 2.2_rc23/cvs/Linux i686)

Revision  Changes    Path
1.1                  sys-boot/unetbootin/files/unetbootin-gentoo.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/unetbootin/files/unetbootin-gentoo.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/unetbootin/files/unetbootin-gentoo.patch?rev=1.1&content-type=text/plain

Index: unetbootin-gentoo.patch
===================================================================
--- unetbootin.cpp.orig	2009-01-10 14:30:50.000000000 +0100
+++ unetbootin.cpp	2009-01-10 14:39:43.000000000 +0100
@@ -2219,11 +2219,11 @@
 	QFile srcF(QString(":/%1").arg(srcfName));
 	#ifdef NOSTATIC
 	if (srcfName == "memdisk")
-		srcF.setFileName("/usr/lib/syslinux/memdisk");
+		srcF.setFileName(QFile::exists("/usr/share/syslinux/memdisk") ? "/usr/share/syslinux/memdisk" : "/usr/lib/syslinux/memdisk");
 	else if (srcfName == "vesamenu.c32")
-		srcF.setFileName("/usr/lib/syslinux/vesamenu.c32");
+		srcF.setFileName(QFile::exists("/usr/share/syslinux/vesamenu.c32") ? "/usr/share/syslinux/vesamenu.c32" : "/usr/lib/syslinux/vesamenu.c32");
 	else if (srcfName == "mbr.bin")
-		srcF.setFileName("/usr/lib/syslinux/mbr.bin");
+		srcF.setFileName(QFile::exists("/usr/share/syslinux/mbr.bin") ? "/usr/share/syslinux/mbr.bin" : "/usr/lib/syslinux/mbr.bin");
 	else if (srcfName == "ubnsylnx")
 		srcF.setFileName("/usr/bin/syslinux");
 //	else






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-02  7:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-02  7:32 [gentoo-commits] gentoo-x86 commit in sys-boot/unetbootin/files: unetbootin-gentoo.patch unetbootin-304-syslinux-gentoo.patch Jeroen Roovers (jer)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox