Hello community,

here is the log from the commit of package acpica for openSUSE:Factory checked 
in at 2013-12-13 14:52:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/acpica (Old)
 and      /work/SRC/openSUSE:Factory/.acpica.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "acpica"

Changes:
--------
--- /work/SRC/openSUSE:Factory/acpica/acpica.changes    2013-09-23 
08:46:17.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.acpica.new/acpica.changes       2013-12-13 
14:52:45.000000000 +0100
@@ -1,0 +2,8 @@
+Fri Dec 13 11:12:18 UTC 2013 - tr...@suse.de
+
+- Update to version 20131115
+- Explicitly add commit 04d10e3c1f41a776cbed96dce2326ee649b9a0f0 to fix
+  bnc#855050:
+  acpica-fix_dots_in_path_for_p_option.patch
+
+-------------------------------------------------------------------

Old:
----
  acpica-unix2-20130823.tar.bz2

New:
----
  acpica-fix_dots_in_path_for_p_option.patch
  acpica-unix2-20131115.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ acpica.spec ++++++
--- /var/tmp/diff_new_pack.2P9gxu/_old  2013-12-13 14:52:46.000000000 +0100
+++ /var/tmp/diff_new_pack.2P9gxu/_new  2013-12-13 14:52:46.000000000 +0100
@@ -20,7 +20,7 @@
 
 Name:           acpica
 Url:            http://acpica.org
-Version:        20130823
+Version:        20131115
 Release:        6
 License:        GPL-2.0
 %define src_dir acpica-unix2-%{version}
@@ -30,6 +30,7 @@
 Source:         %{src_dir}.tar.bz2
 Patch1:         acpica-no-compiletime.patch
 Patch2:         wmidump_add_she_bang.patch
+Patch3:         acpica-fix_dots_in_path_for_p_option.patch
 Source1:        ec_access.c
 Source2:        acpi_genl.tar.bz2
 Source3:        acpi_validate
@@ -64,6 +65,7 @@
 %setup -n %{src_dir} -a 2 -a 4
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 cc %{SOURCE1} $RPM_OPT_FLAGS -o ec_access

++++++ acpica-fix_dots_in_path_for_p_option.patch ++++++
From: Robert Moore <robert.mo...@intel.com>
Subject: iASL: Improve behavior of the -p (path prefix) option.
References: bnc#855050
Patch-Mainline: yes
Git-commit: 04d10e3c1f41a776cbed96dce2326ee649b9a0f0
Git-repo: github.com/acpica/acpica.git

Signed-off-by: Thomas Renninger <tr...@suse.de>

This change allows for zero or multiple periods (dots) within the
prefix pathname.

Also converts backslashes to forward slashes.
ACPICA BZ 1060.

diff --git a/source/common/adfile.c b/source/common/adfile.c
index d598ac8..fc2d815 100644
--- a/source/common/adfile.c
+++ b/source/common/adfile.c
@@ -271,6 +271,7 @@ FlGenerateFilename (
 {
     char                    *Position;
     char                    *NewFilename;
+    char                    *DirectoryPosition;
 
 
     /*
@@ -283,8 +284,10 @@ FlGenerateFilename (
 
     /* Try to find the last dot in the filename */
 
+    DirectoryPosition = strrchr (NewFilename, '/');
     Position = strrchr (NewFilename, '.');
-    if (Position)
+
+    if (Position && (Position > DirectoryPosition))
     {
         /* Tack on the new suffix */
 
diff --git a/source/compiler/aslfiles.c b/source/compiler/aslfiles.c
index df3d368..c470146 100644
--- a/source/compiler/aslfiles.c
+++ b/source/compiler/aslfiles.c
@@ -896,6 +896,7 @@ FlParseInputPathname (
         *(Substring+1) = 0;
     }
 
+    UtConvertBackslashes (Gbl_OutputFilenamePrefix);
     return (AE_OK);
 }
 #endif
diff --git a/source/compiler/aslmain.c b/source/compiler/aslmain.c
index 793b296..27fc6b0 100644
--- a/source/compiler/aslmain.c
+++ b/source/compiler/aslmain.c
@@ -426,6 +426,7 @@ main (
         if (Gbl_UseDefaultAmlFilename)
         {
             Gbl_OutputFilenamePrefix = argv[Index2];
+            UtConvertBackslashes (Gbl_OutputFilenamePrefix);
         }
 
         Status = AslDoOneFile (argv[Index2]);
diff --git a/source/compiler/asloperands.c b/source/compiler/asloperands.c
index 1a85a9f..f011d51 100644
--- a/source/compiler/asloperands.c
+++ b/source/compiler/asloperands.c
@@ -994,6 +994,7 @@ OpnDoDefinitionBlock (
         strcat (Filename, (char *) Child->Asl.Value.Buffer);
 
         Gbl_OutputFilenamePrefix = Filename;
+        UtConvertBackslashes (Gbl_OutputFilenamePrefix);
     }
     Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
 
diff --git a/source/compiler/asloptions.c b/source/compiler/asloptions.c
index 1c73dac..4341267 100644
--- a/source/compiler/asloptions.c
+++ b/source/compiler/asloptions.c
@@ -595,6 +595,8 @@ AslDoOptions (
     case 'p':   /* Override default AML output filename */
 
         Gbl_OutputFilenamePrefix = AcpiGbl_Optarg;
+        UtConvertBackslashes (Gbl_OutputFilenamePrefix);
+
         Gbl_UseDefaultAmlFilename = FALSE;
         break;
 
diff --git a/source/compiler/aslstartup.c b/source/compiler/aslstartup.c
index 73e1b8f..4504532 100644
--- a/source/compiler/aslstartup.c
+++ b/source/compiler/aslstartup.c
@@ -398,6 +398,7 @@ AslDoOneFile (
     }
 
     Gbl_Files[ASL_FILE_INPUT].Filename = Filename;
+    UtConvertBackslashes (Filename);
 
     /*
      * AML Disassembly (Optional)
++++++ acpica-unix2-20130823.tar.bz2 -> acpica-unix2-20131115.tar.bz2 ++++++
++++ 5502 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to