[packages/bootil] Up to snap 20260114
arekm
arekm at pld-linux.org
Wed May 20 15:06:06 CEST 2026
commit de023eea050fb46bf273dfe78f5d54fce070bf33
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed May 20 15:05:48 2026 +0200
Up to snap 20260114
bootil-includes.patch | 20 --------------------
bootil.spec | 7 +++----
2 files changed, 3 insertions(+), 24 deletions(-)
---
diff --git a/bootil.spec b/bootil.spec
index 1265e2f..546a54e 100644
--- a/bootil.spec
+++ b/bootil.spec
@@ -2,7 +2,7 @@ Summary: Garry Newman's utility library
Summary(pl.UTF-8): Biblioteka narzędziowa Garry'ego Newmana
Name: bootil
Version: 0
-%define snap 20140109
+%define snap 20260114
Release: 0.%{snap}.1
# URL says: "My personal utility library, feel free to steal :)"
License: unknown (free)
@@ -10,8 +10,7 @@ Group: Libraries
# git clone https://github.com/garrynewman/bootil
# tar cJ --exclude=.git -f bootil.tar.xz
Source0: %{name}.tar.xz
-# Source0-md5: fcbf821466349cc3d91f362fea8bd9de
-Patch0: %{name}-includes.patch
+# Source0-md5: f0c2f911d67ab71f30f0aab41b2c0a9e
URL: https://github.com/garrynewman/bootil
BuildRequires: libstdc++-devel
BuildRequires: premake >= 4
@@ -41,7 +40,6 @@ Pliki nagłówkowe biblioteki Bootil.
%prep
%setup -q -n bootil
-%patch -P0 -p1
%{__sed} -i -e 's/bootil_static/bootil/;s/StaticLib/SharedLib/' projects/bootil.lua
@@ -53,6 +51,7 @@ LDFLAGS="%{rpmldflags}" \
CC="%{__cc}" \
CXX="%{__cxx}" \
CFLAGS='%{rpmcflags} %{rpmcppflags} $(CPPFLAGS) $(ARCH) -ffast-math -fPIC' \
+ CXXFLAGS='%{rpmcxxflags} %{rpmcppflags} $(CPPFLAGS) $(ARCH) -ffast-math -fPIC' \
verbose=1
%install
diff --git a/bootil-includes.patch b/bootil-includes.patch
deleted file mode 100644
index 856052c..0000000
--- a/bootil-includes.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- bootil/src/3rdParty/happyhttp/happyhttp.cpp.orig 2014-01-11 17:58:10.000000000 +0100
-+++ bootil/src/3rdParty/happyhttp/happyhttp.cpp 2014-01-11 18:36:14.462546050 +0100
-@@ -34,6 +34,7 @@
- #include <arpa/inet.h>
- #include <netdb.h> // for gethostbyname()
- #include <errno.h>
-+ #include <unistd.h>
- #endif
-
- #ifdef _WIN32
---- bootil/src/Bootil/Network/Socket.cpp.orig 2014-01-11 17:58:10.000000000 +0100
-+++ bootil/src/Bootil/Network/Socket.cpp 2014-01-11 18:50:46.302509462 +0100
-@@ -13,6 +13,7 @@
- #include <sys/ioctl.h>
- #include <arpa/inet.h>
- #include <netdb.h>
-+ #include <unistd.h>
- #define ioctlsocket ioctl
- #define closesocket close
- #define WSAGetLastError() errno
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bootil.git/commitdiff/de023eea050fb46bf273dfe78f5d54fce070bf33
More information about the pld-cvs-commit
mailing list