diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-16 21:11:27 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-16 23:31:35 -0500 |
commit | b4f1a3e7ff0e77227030908554300b3f276dddd0 (patch) | |
tree | f23889a57c726be2f0fb732b3ed296bd924deefc /system/i2c-tools | |
parent | ab051bd3bcec2a438989434ccda0deb2b1cba4e1 (diff) | |
download | slackbuilds-b4f1a3e7ff0e77227030908554300b3f276dddd0.tar.gz |
system/i2c-tools: Fixed applying of patches
Diffstat (limited to 'system/i2c-tools')
-rw-r--r-- | system/i2c-tools/i2c-tools.SlackBuild | 4 | ||||
-rw-r--r-- | system/i2c-tools/patches/changeset_r6063.diff | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/system/i2c-tools/i2c-tools.SlackBuild b/system/i2c-tools/i2c-tools.SlackBuild index 6073aa6d82..bc20374679 100644 --- a/system/i2c-tools/i2c-tools.SlackBuild +++ b/system/i2c-tools/i2c-tools.SlackBuild @@ -55,7 +55,7 @@ fi DOCS="CHANGES COPYING README" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -71,7 +71,7 @@ find . \ -exec chmod 644 {} \; # Recommended patches -for i in $CWD/patches/* ; do patch -p1 < $i ; done +for i in $CWD/patches/* ; do patch -p3 -i $i ; done sed -i \ -e "s|/local||" \ diff --git a/system/i2c-tools/patches/changeset_r6063.diff b/system/i2c-tools/patches/changeset_r6063.diff index 59c56d0b33..f6f83e7a0d 100644 --- a/system/i2c-tools/patches/changeset_r6063.diff +++ b/system/i2c-tools/patches/changeset_r6063.diff @@ -1,7 +1,7 @@ Index: /i2c-tools/branches/i2c-tools-3.1/eeprom/decode-dimms
===================================================================
---- /i2c-tools/branches/i2c-tools-3.1/eeprom/decode-dimms (revision 6043)
-+++ /i2c-tools/branches/i2c-tools-3.1/eeprom/decode-dimms (revision 6063)
+--- /branches/i2c-tools-3.1/eeprom/decode-dimms (revision 6043)
++++ /branches/i2c-tools-3.1/eeprom/decode-dimms (revision 6063)
@@ -1740,5 +1740,5 @@
sub get_dimm_list
{
@@ -32,8 +32,8 @@ Index: /i2c-tools/branches/i2c-tools-3.1/eeprom/decode-dimms Index: /i2c-tools/branches/i2c-tools-3.1/CHANGES
===================================================================
---- /i2c-tools/branches/i2c-tools-3.1/CHANGES (revision 6048)
-+++ /i2c-tools/branches/i2c-tools-3.1/CHANGES (revision 6063)
+--- /branches/i2c-tools-3.1/CHANGES (revision 6048)
++++ /branches/i2c-tools-3.1/CHANGES (revision 6063)
@@ -5,4 +5,5 @@
decode-dimms: Decode module configuration type of DDR2 SDRAM
Decode bus width extension of DDR3 SDRAM
|