Mailinglist Archive: opensuse-commit (564 mails)

< Previous Next >
commit ghostscript-library for openSUSE:Factory
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Fri, 11 Jun 2010 10:27:45 +0200
  • Message-id: <20100611082746.10C5620236@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package ghostscript-library for
openSUSE:Factory
checked in at Fri Jun 11 10:27:45 CEST 2010.



--------
--- ghostscript-library/ghostscript-library.changes 2010-06-08
14:59:14.000000000 +0200
+++
/mounts/work_src_done/STABLE/ghostscript-library/ghostscript-library.changes
2010-06-10 16:49:13.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Jun 10 16:48:02 CEST 2010 - werner@xxxxxxx
+
+- Fix typo in ps2pdfwr script
+
+-------------------------------------------------------------------
@@ -7,0 +13 @@
+- Add security patch from upstream (CVE-2010-1869, bnc#605043)

calling whatdependson for head-i586


New:
----
ghostscript-8.70-bnc605043.dif

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

Other differences:
------------------
++++++ ghostscript-library.spec ++++++
--- /var/tmp/diff_new_pack.R0r7g9/_old 2010-06-11 10:27:17.000000000 +0200
+++ /var/tmp/diff_new_pack.R0r7g9/_new 2010-06-11 10:27:17.000000000 +0200
@@ -65,7 +65,7 @@
Summary: Necessary Files for Running Ghostscript
%endif
Version: 8.70
-Release: 9
+Release: 10
License: GPLv3
Source0: ghostscript-8.70.tar.bz2
Source1:
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/current/ghostscript-fonts-std-8.11.tar.bz2
@@ -129,6 +129,7 @@
Patch56: ghostscript-8.70-bnc592279.dif
Patch57: ghostscript-8.70-png_sig_check.dif
Patch58: ghostscript-8.70-P-use.dif
+Patch59: ghostscript-8.70-bnc605043.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %suse_version > 1010
%define xfontdir /usr/share/fonts
@@ -334,7 +335,7 @@
%package -n libgimpprint
License: GPLv2+
Version: 4.2.7
-Release: 324
+Release: 325
Summary: Gimp-Print libraries
Group: Development/Libraries/C and C++

@@ -350,7 +351,7 @@
%package -n libgimpprint-devel
License: GPLv2+
Version: 4.2.7
-Release: 324
+Release: 325
PreReq: %install_info_prereq
Requires: libgimpprint = %{version}
Requires: glibc-devel
@@ -459,6 +460,7 @@
%patch56 -p0
%patch57 -p0
%patch58 -p0
+%patch59 -p0

%build
test ! -f /.buildenv || . /.buildenv

++++++ ghostscript-mini.spec ++++++
--- /var/tmp/diff_new_pack.R0r7g9/_old 2010-06-11 10:27:17.000000000 +0200
+++ /var/tmp/diff_new_pack.R0r7g9/_new 2010-06-11 10:27:17.000000000 +0200
@@ -65,7 +65,7 @@
Summary: Necessary Files for Running Ghostscript
%endif
Version: 8.70
-Release: 9
+Release: 10
License: GPLv3
Source0: ghostscript-8.70.tar.bz2
Source1:
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/current/ghostscript-fonts-std-8.11.tar.bz2
@@ -333,7 +333,7 @@
%package -n libgimpprint
License: GPLv2+
Version: 4.2.7
-Release: 324
+Release: 325
Summary: Gimp-Print libraries
Group: Development/Libraries/C and C++

@@ -349,7 +349,7 @@
%package -n libgimpprint-devel
License: GPLv2+
Version: 4.2.7
-Release: 324
+Release: 325
PreReq: %install_info_prereq
Requires: libgimpprint = %{version}
Requires: glibc-devel





++++++ ghostscript-8.70-bnc605043.dif ++++++
--- psi/idosave.h (revision 11306)
+++ psi/idosave.h (working copy)
@@ -18,6 +18,22 @@
# define idosave_INCLUDED

/*
+ * Structure for saved change chain for save/restore. Because of the
+ * garbage collector, we need to distinguish the cases where the change
+ * is in a static object, a dynamic ref, or a dynamic struct.
+ */
+typedef struct alloc_change_s alloc_change_t;
+struct alloc_change_s {
+ alloc_change_t *next;
+ ref_packed *where;
+ ref contents;
+#define AC_OFFSET_STATIC (-2) /* static object */
+#define AC_OFFSET_REF (-1) /* dynamic ref */
+#define AC_OFFSET_ALLOCATED (-3) /* a newly allocated ref array */
+ short offset; /* if >= 0, offset within struct */
+};
+
+/*
* Save a change that must be undone by restore. We have to pass the
* pointer to the containing object to alloc_save_change for two reasons:
*
@@ -29,6 +45,7 @@
* relocate the pointer to it from the change record during garbage
* collection.
*/
+
int alloc_save_change(gs_dual_memory_t *dmem, const ref *pcont,
ref_packed *ptr, client_name_t cname);
int alloc_save_change_in(gs_ref_memory_t *mem, const ref *pcont,
@@ -36,6 +53,6 @@
/* Remove an AC_OFFSET_ALLOCATED element. */
void alloc_save_remove(gs_ref_memory_t *mem, ref_packed *obj, client_name_t
cname);
/* Allocate a structure for recording an allocation event. */
-int alloc_save_change_alloc(gs_ref_memory_t *mem, client_name_t cname,
ref_packed ***ppr);
+int alloc_save_change_alloc(gs_ref_memory_t *mem, client_name_t cname,
alloc_change_t **pcp);

#endif /* idosave_INCLUDED */
--- psi/isave.c (revision 11306)
+++ psi/isave.c (working copy)
@@ -156,22 +156,6 @@
/* A link to igcref.c . */
ptr_proc_reloc(igc_reloc_ref_ptr_nocheck, ref_packed);

-/*
- * Structure for saved change chain for save/restore. Because of the
- * garbage collector, we need to distinguish the cases where the change
- * is in a static object, a dynamic ref, or a dynamic struct.
- */
-typedef struct alloc_change_s alloc_change_t;
-struct alloc_change_s {
- alloc_change_t *next;
- ref_packed *where;
- ref contents;
-#define AC_OFFSET_STATIC (-2) /* static object */
-#define AC_OFFSET_REF (-1) /* dynamic ref */
-#define AC_OFFSET_ALLOCATED (-3) /* a newly allocated ref array */
- short offset; /* if >= 0, offset within struct */
-};
-
static
CLEAR_MARKS_PROC(change_clear_marks)
{
@@ -519,7 +503,7 @@

/* Allocate a structure for recording an allocation event. */
int
-alloc_save_change_alloc(gs_ref_memory_t *mem, client_name_t cname, ref_packed
***ppr)
+alloc_save_change_alloc(gs_ref_memory_t *mem, client_name_t cname,
alloc_change_t **pcp)
{
register alloc_change_t *cp;

@@ -533,8 +517,7 @@
cp->where = 0;
cp->offset = AC_OFFSET_ALLOCATED;
make_null(&cp->contents);
- mem->changes = cp;
- *ppr = &cp->where;
+ *pcp = cp;
return 1;
}

--- psi/ialloc.c (revision 11306)
+++ psi/ialloc.c (working copy)
@@ -185,7 +185,14 @@
*/
chunk_t *pcc = mem->pcc;
ref *end;
+ alloc_change_t *cp = 0;
+ int code = 0;

+ if ((gs_memory_t *)mem != mem->stable_memory) {
+ code = alloc_save_change_alloc(mem, "gs_alloc_ref_array", &cp);
+ if (code < 0)
+ return code;
+ }
obj = gs_alloc_struct_array((gs_memory_t *) mem, num_refs + 1,
ref, &st_refs, cname);
if (obj == 0)
@@ -210,14 +217,10 @@
chunk_locate_ptr(obj, &cl);
cl.cp->has_refs = true;
}
- if ((gs_memory_t *)mem != mem->stable_memory) {
- ref_packed **ppr = 0;
- int code = alloc_save_change_alloc(mem, "gs_alloc_ref_array", &ppr);
- if (code < 0)
- return code;
- if (ppr)
- *ppr = (ref_packed *)obj;
- }
+ if (cp) {
+ mem->changes = cp;
+ cp->where = (ref_packed *)obj;
+ }
}
make_array(parr, attrs | mem->space, num_refs, obj);
return 0;
++++++ ghostscript-8.70.dif ++++++
--- /var/tmp/diff_new_pack.R0r7g9/_old 2010-06-11 10:27:17.000000000 +0200
+++ /var/tmp/diff_new_pack.R0r7g9/_new 2010-06-11 10:27:17.000000000 +0200
@@ -1259,7 +1259,7 @@
do
case "$1" in
- -?*) OPTIONS="$OPTIONS $1" ;;
-+ -?*) OPTIONS="${OPTIONS:+OPTIONS }$1" ;;
++ -?*) OPTIONS="${OPTIONS:+$OPTIONS }$1" ;;
*) break ;;
esac
shift



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



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread