4 Commits

Author SHA256 Message Date
459081a52f Accepting request 1318288 from devel:tools
- update to 2.7.2.2:
  * includes mcpp-2.7.2.1.diff mcpp-c99.patch (merged upstream)

OBS-URL: https://build.opensuse.org/request/show/1318288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mcpp?expand=0&rev=20
2025-11-18 14:37:09 +00:00
22a5538095 - update to 2.7.2.2:
* includes mcpp-2.7.2.1.diff mcpp-c99.patch (merged upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/mcpp?expand=0&rev=14
2025-11-17 16:54:18 +00:00
840fca5595 Accepting request 1217243 from devel:tools
- refresh mcpp-2.7.2.1.diff, add mcpp-c99.patch: Gcc 14+ build
  fixes

OBS-URL: https://build.opensuse.org/request/show/1217243
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mcpp?expand=0&rev=19
2024-10-23 19:11:13 +00:00
37c507a6e0 - refresh mcpp-2.7.2.1.diff, add mcpp-c99.patch: Gcc 14+ build
fixes

OBS-URL: https://build.opensuse.org/package/show/devel:tools/mcpp?expand=0&rev=12
2024-10-23 08:28:05 +00:00
5 changed files with 18 additions and 20 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec6c2ead79b2334fccf56b8811256c4fccbbe2350e6a2e52dc83a1c7ad995af4
size 1523105

3
2.7.2.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2d74eab7a13ade4b1070b11a5bd6775cc5509d88c1ca525f8c4ee3bae79c601
size 1608569

View File

@@ -1,12 +0,0 @@
diff -ru mcpp-2.7.2.orig//src/system.c mcpp-2.7.2/src/system.c
--- mcpp-2.7.2.orig//src/system.c 2008-11-26 10:53:51.000000000 +0100
+++ mcpp-2.7.2/src/system.c 2009-02-06 10:12:29.000000000 +0100
@@ -43,6 +43,8 @@
#include "internal.H"
#endif
+#include <unistd.h>
+
#if HOST_SYS_FAMILY == SYS_UNIX
#include "unistd.h" /* For getcwd(), readlink() */
#elif HOST_COMPILER == MSC || HOST_COMPILER == LCC

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Nov 17 16:53:49 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 2.7.2.2:
* includes mcpp-2.7.2.1.diff mcpp-c99.patch (merged upstream)
-------------------------------------------------------------------
Wed Oct 23 08:27:43 UTC 2024 - Dirk Müller <dmueller@suse.com>
- refresh mcpp-2.7.2.1.diff, add mcpp-c99.patch: Gcc 14+ build
fixes
-------------------------------------------------------------------
Sun Dec 31 09:45:08 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package mcpp
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,13 @@
Name: mcpp
Version: 2.7.2.1
Version: 2.7.2.2
Release: 0
Summary: Matsui's C Preprocessor
License: BSD-3-Clause
Group: Development/Languages/C and C++
URL: https://mcpp.sourceforge.net/
Source0: https://github.com/museoa/mcpp/archive/refs/tags/%{version}.tar.gz
Patch0: %{name}-2.7.2.1.diff
%description
mcpp is a small and portable C/C++ preprocessor implementing all of
@@ -67,8 +66,7 @@ export CFLAGS="%{optflags} -D_BSD_SOURCE"
rm -rf %{buildroot}%{_datadir}/doc/mcpp
rm -rf %{buildroot}%{_libdir}/libmcpp.*a
%post -n %{_libname} -p /sbin/ldconfig
%postun -n %{_libname} -p /sbin/ldconfig
%ldconfig_scriptlets -n %{_libname}
%files
%license LICENSE