summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-26 05:31:12 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-26 05:31:12 +0000
commit3f6dd2f13de2e56829f1a121d13db3f36f44bfe3 (patch)
tree01016b58ca78dd26e041372681aee360b7ccbdd6 /sys-block/unieject/files
parentAdded ~hppa to KEYWORDS. (diff)
downloadgentoo-2-3f6dd2f13de2e56829f1a121d13db3f36f44bfe3.tar.gz
gentoo-2-3f6dd2f13de2e56829f1a121d13db3f36f44bfe3.tar.bz2
gentoo-2-3f6dd2f13de2e56829f1a121d13db3f36f44bfe3.zip
Add patch to fix argument parsing on unsigned-char arches.
(Portage version: 2.1.1_pre1-r2)
Diffstat (limited to 'sys-block/unieject/files')
-rw-r--r--sys-block/unieject/files/digest-unieject-5.3.1-r13
-rw-r--r--sys-block/unieject/files/unieject-5.3.1-ppc.patch15
2 files changed, 18 insertions, 0 deletions
diff --git a/sys-block/unieject/files/digest-unieject-5.3.1-r1 b/sys-block/unieject/files/digest-unieject-5.3.1-r1
new file mode 100644
index 000000000000..b86dc18b8bad
--- /dev/null
+++ b/sys-block/unieject/files/digest-unieject-5.3.1-r1
@@ -0,0 +1,3 @@
+MD5 3a824816ec40edbf91be42596c76d029 unieject-5.3.1.tar.bz2 323895
+RMD160 31590af2fca9dea9d1ccdbac4e434ec4ecffade2 unieject-5.3.1.tar.bz2 323895
+SHA256 c670e618b0e5f12cdad6949431dec73b64786ff1de078ca6d46e163bf9897dca unieject-5.3.1.tar.bz2 323895
diff --git a/sys-block/unieject/files/unieject-5.3.1-ppc.patch b/sys-block/unieject/files/unieject-5.3.1-ppc.patch
new file mode 100644
index 000000000000..bca81e79ef78
--- /dev/null
+++ b/sys-block/unieject/files/unieject-5.3.1-ppc.patch
@@ -0,0 +1,15 @@
+Index: unieject-5.3.1/unieject.c
+===================================================================
+--- unieject-5.3.1.orig/unieject.c
++++ unieject-5.3.1/unieject.c
+@@ -141,8 +141,8 @@ static void parse_configuration()
+ /* Parse a all options. */
+ static int parse_options (int argc, const char *argv[])
+ {
+- char tmpopt;
+- char opt = OP_IGNORE; /* used for argument parsing */
++ int8_t tmpopt;
++ int8_t opt = OP_IGNORE; /* used for argument parsing */
+
+ struct poptOption optionsTable[] = {
+ { "trayclose", 't', POPT_ARG_VAL, &opts.eject, 0,