Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 459081a52f | |||
| 22a5538095 | |||
| 840fca5595 | |||
| 37c507a6e0 |
@@ -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
3
2.7.2.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d2d74eab7a13ade4b1070b11a5bd6775cc5509d88c1ca525f8c4ee3bae79c601
|
||||
size 1608569
|
||||
@@ -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
|
||||
12
mcpp.changes
12
mcpp.changes
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user