You are not logged in.

#1 2008-04-19 18:09:08

slide_rule
Member
From: loglogdecalog
Registered: 2007-09-16
Posts: 33

malformed patch with uswsusp 0.8-4

I'm trying to whitelist my laptop with the uswsusp package, and I get this error:

patch: **** malformed patch at line 12:         { "4MBOL&S",                    "7521 *",       "REV. A0",      "", 0 },

Here's my whitelist.c.diff:

--- whitelist.c.orig    2008-01-01 22:39:25.829808515 +0100
+++ whitelist.c 2008-01-01 22:36:17.288808011 +0100
@@ -10,6 +10,8 @@
 char *whitelist_version = "$Id: whitelist.c,v 1.117 2007/12/19 14:18:24 seife Exp $";

 struct machine_entry whitelist[] = {
+       /* Common Flags: RADEON_OFF|VBE_SAVE|VBE_POST|S3_BIOS|NOFB */
+       { "TOSHIBA",                    "TECRA A8",             "PTA83U-03202C",                "Version 1.40",         0},
-       { "Acer, inc.",                 "Aspire 1640     ",             "",             "",             },
        { "IBM",                        "",             "ThinkPad X32", "", RADEON_OFF|S3_BIOS|S3_MODE },
        /* Michael Wagner <michael-wagner@gmx.de> */
        { "4MBOL&S",                    "7521 *",       "REV. A0",      "", 0 },

I'm not really familiar with the unified diff format; I've been researching and found nothing helpful so far.  Any hints?

Offline

Board footer

Powered by FluxBB