aboutsummaryrefslogtreecommitdiff
path: root/system/i2c-tools
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-16 21:11:27 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-16 23:31:35 -0500
commitb4f1a3e7ff0e77227030908554300b3f276dddd0 (patch)
treef23889a57c726be2f0fb732b3ed296bd924deefc /system/i2c-tools
parentab051bd3bcec2a438989434ccda0deb2b1cba4e1 (diff)
system/i2c-tools: Fixed applying of patches
Diffstat (limited to 'system/i2c-tools')
-rw-r--r--system/i2c-tools/i2c-tools.SlackBuild4
-rw-r--r--system/i2c-tools/patches/changeset_r6063.diff8
2 files changed, 6 insertions, 6 deletions
diff --git a/system/i2c-tools/i2c-tools.SlackBuild b/system/i2c-tools/i2c-tools.SlackBuild
index 6073aa6d829e..bc2037467941 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 59c56d0b3369..f6f83e7a0d4a 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