[packages/rpm/nodejs: 5/5] fix one missing brace for if-statement

glen glen at pld-linux.org
Sun Apr 28 23:07:11 CEST 2013


commit a6170955991f542eaf1cf303a5912538f85374ed
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Apr 28 23:59:37 2013 +0300

    fix one missing brace for if-statement

 nodejs-autodeps.patch | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/nodejs-autodeps.patch b/nodejs-autodeps.patch
index d88a112..932d7d2 100644
--- a/nodejs-autodeps.patch
+++ b/nodejs-autodeps.patch
@@ -51,7 +51,7 @@
  #if defined(RPM_VENDOR_MANDRIVA)
      { rpmfcSYMLINK,	RPMFC_SYMLINK },
  #endif
-@@ -1152,6 +1164,11 @@
+@@ -1152,6 +1164,12 @@
  		    fn += 2;
  		if (!strncmp(fn, "/python", sizeof("/python")-1))
  		    fc->fcolor->vals[fc->ix] |= RPMFC_PYTHON;
@@ -60,6 +60,7 @@
 +		    if (!strcmp(fn, "/package.json")) {
 +			fc->fcolor->vals[fc->ix] |= RPMFC_MODULE;
 +		    }
++		}
  		else if (!strncmp(fn, "/ruby", sizeof("/ruby")-1)) {
  		    fc->fcolor->vals[fc->ix] |= RPMFC_RUBY;
  		    if ((strstr(fn, ".gemspec") || strstr(fn, "rbconfig.rb"))) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/a6170955991f542eaf1cf303a5912538f85374ed



More information about the pld-cvs-commit mailing list