[packages/cssed] Rel 4; build fix
arekm
arekm at pld-linux.org
Mon Aug 11 23:28:09 CEST 2025
commit 8200dcdb99ebc6eae0f01d3273ad0cb1004e1bfa
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Aug 11 23:28:05 2025 +0200
Rel 4; build fix
build.patch | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
cssed.spec | 4 +++-
2 files changed, 72 insertions(+), 1 deletion(-)
---
diff --git a/cssed.spec b/cssed.spec
index 41f8b3f..5531484 100644
--- a/cssed.spec
+++ b/cssed.spec
@@ -2,12 +2,13 @@ Summary: CSS editor for web developers
Summary(pl.UTF-8): Edytor CSS dla programistów stron
Name: cssed
Version: 0.4.0
-Release: 3
+Release: 4
Group: X11/Development/Tools
License: GPL
Source0: http://dl.sourceforge.net/cssed/%{name}-%{version}.tar.gz
# Source0-md5: ff7c818d1f819b7d76b4f714be64e08e
Source1: %{name}.desktop
+Patch0: build.patch
URL: http://cssed.sourceforge.net
BuildRequires: autoconf
BuildRequires: automake
@@ -32,6 +33,7 @@ kodowania CSS przez autouzupełnianie oraz podświetlanie składni CSS.
%prep
%setup -q
+%patch -P0 -p1
%build
%{__aclocal}
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..a95fd64
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,69 @@
+--- cssed-0.4.0/libcroco/parser/cr-statement.c~ 2004-04-18 17:26:47.000000000 +0200
++++ cssed-0.4.0/libcroco/parser/cr-statement.c 2025-08-11 23:22:24.762287942 +0200
+@@ -2427,7 +2427,7 @@ cr_statement_dump_ruleset (CRStatement *
+ g_return_if_fail (a_fp && a_this);
+ str = cr_statement_ruleset_to_string (a_this, a_indent);
+ if (str) {
+- fprintf (a_fp, str);
++ fprintf (a_fp, "%s", str);
+ g_free (str);
+ str = NULL;
+ }
+@@ -2472,7 +2472,7 @@ cr_statement_dump_charset (CRStatement *
+ str = cr_statement_charset_to_string (a_this,
+ a_indent) ;
+ if (str) {
+- fprintf (a_fp, str) ;
++ fprintf (a_fp, "%s", str) ;
+ g_free (str) ;
+ str = NULL ;
+ }
+@@ -2496,7 +2496,7 @@ cr_statement_dump_page (CRStatement * a_
+
+ str = cr_statement_at_page_rule_to_string (a_this, a_indent) ;
+ if (str) {
+- fprintf (a_fp, str);
++ fprintf (a_fp, "%s", str);
+ g_free (str) ;
+ str = NULL ;
+ }
+@@ -2519,7 +2519,7 @@ cr_statement_dump_media_rule (CRStatemen
+
+ str = cr_statement_media_rule_to_string (a_this, a_indent) ;
+ if (str) {
+- fprintf (a_fp, str) ;
++ fprintf (a_fp, "%s", str) ;
+ g_free (str) ;
+ str = NULL ;
+ }
+@@ -2542,7 +2542,7 @@ cr_statement_dump_import_rule (CRStateme
+
+ str = cr_statement_import_rule_to_string (a_this, a_indent) ;
+ if (str) {
+- fprintf (a_fp, str) ;
++ fprintf (a_fp, "%s", str) ;
+ g_free (str) ;
+ str = NULL ;
+ }
+--- cssed-0.4.0/scintilla/src/LexCaml.cxx~ 2005-05-27 05:30:23.000000000 +0200
++++ cssed-0.4.0/scintilla/src/LexCaml.cxx 2025-08-11 23:24:23.172984775 +0200
+@@ -273,7 +273,7 @@ void ColouriseCamlDoc(
+
+ case SCE_CAML_OPERATOR: {
+ // [try to] interpret as [additional] operator char
+- char* o = 0;
++ const char* o = 0;
+ if (iscaml(ch) || isspace(ch) /* ident or whitespace */
+ || ((o = strchr(")]};,\'\"`#", ch)) != 0)/* "termination" chars */
+ || !strchr("!$%&*+-./:<=>?@^|~", ch)/* "operator" chars */) {
+--- cssed-0.4.0/configure.in~ 2005-10-23 12:05:18.000000000 +0200
++++ cssed-0.4.0/configure.in 2025-08-11 23:26:28.537055862 +0200
+@@ -86,7 +86,7 @@ fi
+ echo -n "checking for gtk+-2.0... "
+ if pkg-config --exists gtk+-2.0 ; then
+ echo "yes"
+- pkg_modules="gtk+-2.0 >= 2.0.0"
++ pkg_modules="gtk+-2.0 >= 2.0.0 gmodule-2.0"
+ else
+ echo "no"
+ AC_MSG_ERROR(gtk2.0 development library not, found please install it)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cssed.git/commitdiff/8200dcdb99ebc6eae0f01d3273ad0cb1004e1bfa
More information about the pld-cvs-commit
mailing list