srcpkgs/l*: convert patches to -Np1

```sh
git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" |
while read template; do
	for p in ${template%/template}/patches/*; do
		sed -i '
			\,^[+-][+-][+-] /dev/null,b
			/^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b
			s,^[*][*][*] ,&a/,
			/^--- /{
				s,\(^--- \)\(./\)*,\1a/,
				s,[.][Oo][Rr][Ii][Gg]\([	/]\),\1,
				s/[.][Oo][Rr][Ii][Gg]$//
				s/[.]patched[.]\([^.]\)/.\1/
				h
			}
			/^+++ -/{
				g
				s/^--- a/+++ b/
				b
			}
			s,\(^+++ \)\(./\)*,\1b/,
		' "$p"
	done
	sed -i '/^patch_args=/d' $template
done
```
This commit is contained in:
Đoàn Trần Công Danh 2021-06-19 10:03:21 +07:00 committed by Đoàn Trần Công Danh
parent dd9d4a1979
commit 861ac185a6
434 changed files with 776 additions and 940 deletions

View file

@ -9,8 +9,8 @@ Date: Tue Mar 8 00:02:09 2016 +0100
diff --git laditools/ladish.py laditools/ladish.py
index 3613149..21fc53b 100644
--- laditools/ladish.py
+++ laditools/ladish.py
--- a/laditools/ladish.py
+++ b/laditools/ladish.py
@@ -28,10 +28,8 @@ control_obj_path = "/org/ladish/Control"
studio_obj_path = "/org/ladish/Studio"
service_name = name_base

View file

@ -1,8 +1,8 @@
Support for vte >= 0.52.
See https://bugs.launchpad.net/ubuntu/+source/laditools/+bug/1669111.
--- ladi-system-log.orig 2015-09-13 23:38:51.000000000 +0200
+++ ladi-system-log 2018-10-17 18:04:59.687899590 +0200
--- a/ladi-system-log 2015-09-13 23:38:51.000000000 +0200
+++ b/ladi-system-log 2018-10-17 18:04:59.687899590 +0200
@@ -190,13 +190,13 @@
def on_clear_text (self, data=None):

View file

@ -11,7 +11,6 @@ license="GPL-3.0-or-later"
homepage="https://github.com/alessio/laditools"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=ca99f4b6e17b7333ed87dd12a2d91da4d486e53d89dd2677edfa29170ec6efe5
patch_args=-Np0
post_install() {
# remove wmladi, we do not have wmdocklib.

View file

@ -1,5 +1,5 @@
--- src/Makefile 2007-11-06 11:42:45.000000000 +0100
+++ src/Makefile 2015-09-28 12:37:57.171530771 +0200
--- a/src/Makefile 2007-11-06 11:42:45.000000000 +0100
+++ b/src/Makefile 2015-09-28 12:37:57.171530771 +0200
@@ -46,17 +46,8 @@
# TARGETS
#

View file

@ -1,5 +1,5 @@
--- src/makefile.orig
+++ src/Makefile
--- a/src/makefile
+++ b/src/Makefile
@@ -15,7 +15,7 @@
INCLUDES = -I.

View file

@ -10,7 +10,6 @@ license="LGPL-2.1-or-later"
homepage="http://www.ladspa.org/"
distfiles="http://www.ladspa.org/download/ladspa_sdk_${version}.tgz"
checksum=4229959b09d20c88c8c86f4aa76427843011705df22d9c28b38359fd1829fded
patch_args=-Np0
do_build() {
make CC=$CC CPP=$CXX LD=$LD -C src

View file

@ -13,8 +13,8 @@ Closes #365
diff --git LAPACKE/include/lapack.h LAPACKE/include/lapack.h
index 3f425325..5c131d84 100644
--- LAPACKE/include/lapack.h
+++ LAPACKE/include/lapack.h
--- a/LAPACKE/include/lapack.h
+++ b/LAPACKE/include/lapack.h
@@ -1842,6 +1842,28 @@ void LAPACK_zgeqlf(
lapack_complex_double* work, lapack_int const* lwork,
lapack_int* info );

View file

@ -1,7 +1,7 @@
diff --git BLAS/SRC/CMakeLists.txt BLAS/SRC/CMakeLists.txt
index 41c48043..e3776ecd 100644
--- BLAS/SRC/CMakeLists.txt
+++ BLAS/SRC/CMakeLists.txt
--- a/BLAS/SRC/CMakeLists.txt
+++ b/BLAS/SRC/CMakeLists.txt
@@ -98,9 +98,15 @@ endif()
list(REMOVE_DUPLICATES SOURCES)
@ -20,8 +20,8 @@ index 41c48043..e3776ecd 100644
+lapack_install_library(blas_static)
diff --git CBLAS/src/CMakeLists.txt CBLAS/src/CMakeLists.txt
index 90e19f81..b97d64d7 100644
--- CBLAS/src/CMakeLists.txt
+++ CBLAS/src/CMakeLists.txt
--- a/CBLAS/src/CMakeLists.txt
+++ b/CBLAS/src/CMakeLists.txt
@@ -114,15 +114,22 @@ endif()
list(REMOVE_DUPLICATES SOURCES)
@ -47,8 +47,8 @@ index 90e19f81..b97d64d7 100644
+lapack_install_library(cblas_static)
diff --git LAPACKE/CMakeLists.txt LAPACKE/CMakeLists.txt
index 0589a74b..be63bba3 100644
--- LAPACKE/CMakeLists.txt
+++ LAPACKE/CMakeLists.txt
--- a/LAPACKE/CMakeLists.txt
+++ b/LAPACKE/CMakeLists.txt
@@ -73,12 +73,17 @@ endif()
list(APPEND SOURCES ${UTILS})
@ -83,8 +83,8 @@ index 0589a74b..be63bba3 100644
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
diff --git SRC/CMakeLists.txt SRC/CMakeLists.txt
index f19bdd30..7a9a0661 100644
--- SRC/CMakeLists.txt
+++ SRC/CMakeLists.txt
--- a/SRC/CMakeLists.txt
+++ b/SRC/CMakeLists.txt
@@ -501,16 +501,23 @@ endif()
list(REMOVE_DUPLICATES SOURCES)

View file

@ -1,7 +1,7 @@
diff --git CBLAS/CMakeLists.txt CBLAS/CMakeLists.txt
index 04c5ab79..8fa3b7d4 100644
--- CBLAS/CMakeLists.txt
+++ CBLAS/CMakeLists.txt
--- a/CBLAS/CMakeLists.txt
+++ b/CBLAS/CMakeLists.txt
@@ -88,6 +88,12 @@ install(FILES
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/cblas-${LAPACK_VERSION}
)
@ -17,8 +17,8 @@ index 04c5ab79..8fa3b7d4 100644
# COMPONENT Development
diff --git LAPACKE/CMakeLists.txt LAPACKE/CMakeLists.txt
index 0589a74b..adc87a3e 100644
--- LAPACKE/CMakeLists.txt
+++ LAPACKE/CMakeLists.txt
--- a/LAPACKE/CMakeLists.txt
+++ b/LAPACKE/CMakeLists.txt
@@ -126,6 +126,12 @@ install(FILES
COMPONENT Development
)

View file

@ -12,7 +12,6 @@ license="BSD-3-Clause"
homepage="https://www.netlib.org/lapack/"
distfiles="https://github.com/Reference-LAPACK/lapack/archive/v${version}.tar.gz"
checksum=106087f1bb5f46afdfba7f569d0cbe23dacb9a07cd24733765a0e89dbe1ad573
patch_args=-Np0
post_install() {
vlicense LICENSE

View file

@ -1,5 +1,5 @@
--- /home/aviator/.vim/backups/Makefile~ 2009-04-28 09:37:54.000000000 -0400
+++ Makefile 2016-06-19 16:04:19.885405164 -0400
--- a//home/aviator/.vim/backups/Makefile~ 2009-04-28 09:37:54.000000000 -0400
+++ b/Makefile 2016-06-19 16:04:19.885405164 -0400
@@ -26,10 +26,10 @@
# We write explicity this "implicit rule"

View file

@ -11,7 +11,6 @@ license="GPL-2"
homepage="http://www.latencytop.org"
distfiles="${DEBIAN_SITE}/main/l/$pkgname/${pkgname}_${version}.orig.tar.gz"
checksum=9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef
patch_args=-Np0
pre_build() {
export CFLAGS="$CFLAGS $LDFLAGS"

View file

@ -1,8 +1,8 @@
uint is not portable, use unsigned int instead. Fixes musl.
--xtraeme
--- src/clientgame.cpp 2018-12-21 19:43:51.000000000 +0100
+++ src/clientgame.cpp 2019-06-10 11:04:25.230551850 +0200
--- a/src/clientgame.cpp 2018-12-21 19:43:51.000000000 +0100
+++ b/src/clientgame.cpp 2019-06-10 11:04:25.230551850 +0200
@@ -88,7 +88,7 @@ int ClientGame::init(const string& setna
ClientPlayer *ClientGame::getNextPlayer()
{
@ -21,8 +21,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
{
int oldScore = game->paddles[0]->score;
int ret = 0;
--- src/clientgame.h 2019-03-07 15:36:01.000000000 +0100
+++ src/clientgame.h 2019-06-10 11:04:25.226551802 +0200
--- a/src/clientgame.h 2019-03-07 15:36:01.000000000 +0100
+++ b/src/clientgame.h 2019-06-10 11:04:25.226551802 +0200
@@ -21,19 +21,19 @@
class ClientPlayer {
@ -109,8 +109,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
players[pid]->setLives(lives);
players[pid]->setScore(score);
players[pid]->setLevel(level);
--- src/menu.cpp 2018-11-24 14:35:44.000000000 +0100
+++ src/menu.cpp 2019-06-10 11:04:25.231551862 +0200
--- a/src/menu.cpp 2018-11-24 14:35:44.000000000 +0100
+++ b/src/menu.cpp 2019-06-10 11:04:25.231551862 +0200
@@ -24,7 +24,7 @@ extern SDL_Renderer *mrc;
Font *MenuItem::fNormal = NULL;
Font *MenuItem::fFocus = NULL;
@ -120,8 +120,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
/** Helper to render a part of the menu item. Position is determined
* by given alignment. */
--- src/menu.h 2018-12-22 13:30:58.000000000 +0100
+++ src/menu.h 2019-06-10 11:04:25.227551814 +0200
--- a/src/menu.h 2018-12-22 13:30:58.000000000 +0100
+++ b/src/menu.h 2019-06-10 11:04:25.227551814 +0200
@@ -59,7 +59,7 @@ protected:
}
public:
@ -183,8 +183,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
for (auto& i : items)
i->update(ms);
}
--- src/mixer.h 2019-03-07 20:54:45.000000000 +0100
+++ src/mixer.h 2019-06-10 11:04:25.228551826 +0200
--- a/src/mixer.h 2019-03-07 20:54:45.000000000 +0100
+++ b/src/mixer.h 2019-06-10 11:04:25.228551826 +0200
@@ -63,7 +63,7 @@ public:
_loginfo("Mixer closed\n");
}
@ -194,8 +194,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
if (v > 100)
v = 100;
v = v * MIX_MAX_VOLUME / 100;
--- src/sdl.cpp 2019-03-07 14:07:05.000000000 +0100
+++ src/sdl.cpp 2019-06-10 11:04:25.231551862 +0200
--- a/src/sdl.cpp 2019-03-07 14:07:05.000000000 +0100
+++ b/src/sdl.cpp 2019-06-10 11:04:25.231551862 +0200
@@ -484,7 +484,7 @@ void Font::writeText(int x, int y, const
SDL_DestroyTexture(tex);
}
@ -205,8 +205,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
{
if (str == "") {
empty = true;
--- src/sdl.h 2019-03-07 13:15:07.000000000 +0100
+++ src/sdl.h 2019-06-10 11:04:25.228551826 +0200
--- a/src/sdl.h 2019-03-07 13:15:07.000000000 +0100
+++ b/src/sdl.h 2019-06-10 11:04:25.228551826 +0200
@@ -209,7 +209,7 @@ public:
return TTF_SizeText(font,str.c_str(),w,h);
return 0;
@ -240,8 +240,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
if (empty)
return 0;
return img.getWidth();
--- src/selectdlg.cpp 2018-12-21 20:02:48.000000000 +0100
+++ src/selectdlg.cpp 2019-06-10 11:04:25.232551874 +0200
--- a/src/selectdlg.cpp 2018-12-21 20:02:48.000000000 +0100
+++ b/src/selectdlg.cpp 2019-06-10 11:04:25.232551874 +0200
@@ -31,17 +31,17 @@ SetInfo::SetInfo(const string &n, Theme
author = "?";
@ -327,8 +327,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
if (pos + i < entries.size() && sel == (int)(pos + i))
font.setColor(theme.menuFontColorFocus);
else
--- src/selectdlg.h 2018-10-31 18:49:34.000000000 +0100
+++ src/selectdlg.h 2019-06-10 11:04:25.228551826 +0200
--- a/src/selectdlg.h 2018-10-31 18:49:34.000000000 +0100
+++ b/src/selectdlg.h 2019-06-10 11:04:25.228551826 +0200
@@ -21,7 +21,7 @@ class SetInfo {
string name;
string version;
@ -354,8 +354,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
Image background;
--- src/sprite.cpp 2018-09-02 18:47:18.000000000 +0200
+++ src/sprite.cpp 2019-06-10 11:04:25.232551874 +0200
--- a/src/sprite.cpp 2018-09-02 18:47:18.000000000 +0200
+++ b/src/sprite.cpp 2019-06-10 11:04:25.232551874 +0200
@@ -24,7 +24,7 @@ extern SDL_Renderer *mrc;
Particle::Particle(GridImage &simg, int _gx, int _gy,
int _sx, int _sy, int _sw, int _sh,
@ -365,8 +365,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
: img(simg), gx(_gx), gy(_gy), sx(_sx), sy(_sy), sw(_sw), sh(_sh),
pos(px,py), vel(vx,vy)
{
--- src/sprite.h 2018-09-02 18:47:18.000000000 +0200
+++ src/sprite.h 2019-06-10 11:04:25.229551838 +0200
--- a/src/sprite.h 2018-09-02 18:47:18.000000000 +0200
+++ b/src/sprite.h 2019-06-10 11:04:25.229551838 +0200
@@ -19,21 +19,21 @@
class Sprite {
public:
@ -404,8 +404,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
pos.add(ms, vel);
return sc.update(ms);
}
--- src/theme.cpp 2019-03-07 15:14:49.000000000 +0100
+++ src/theme.cpp 2019-06-10 11:04:25.233551886 +0200
--- a/src/theme.cpp 2019-03-07 15:14:49.000000000 +0100
+++ b/src/theme.cpp 2019-06-10 11:04:25.233551886 +0200
@@ -22,12 +22,12 @@ extern SDL_Renderer *mrc;
/** Load resources and scale if necessary using bricks screen height.
@ -431,8 +431,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
if (fileExists(path + "/back0.png") || fileExists(path + "/back0.jpg")) {
wpath = path;
wbfh = brickFileHeight;
--- src/theme.h 2019-03-07 15:05:53.000000000 +0100
+++ src/theme.h 2019-06-10 11:04:25.229551838 +0200
--- a/src/theme.h 2019-03-07 15:05:53.000000000 +0100
+++ b/src/theme.h 2019-06-10 11:04:25.229551838 +0200
@@ -33,37 +33,37 @@ class Theme {
string stdPath; /* path to standard theme for fallbacks */
bool oldTheme;
@ -498,8 +498,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
int antialiasing);
};
--- src/tools.cpp 2018-11-04 12:04:17.000000000 +0100
+++ src/tools.cpp 2019-06-10 11:04:25.233551886 +0200
--- a/src/tools.cpp 2018-11-04 12:04:17.000000000 +0100
+++ b/src/tools.cpp 2019-06-10 11:04:25.233551886 +0200
@@ -94,7 +94,7 @@ int FileParser::get(const string& k, int
v = stoi(str);
return ret;
@ -509,8 +509,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
{
string str;
int ret = get(k,str);
--- src/tools.h 2018-10-31 12:23:22.000000000 +0100
+++ src/tools.h 2019-06-10 11:04:25.229551838 +0200
--- a/src/tools.h 2018-10-31 12:23:22.000000000 +0100
+++ b/src/tools.h 2019-06-10 11:04:25.229551838 +0200
@@ -95,7 +95,7 @@ public:
FileParser(const string& fname);
int get(const string& k, string &v);
@ -529,8 +529,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
SmoothCounter::init(SCT_REPEAT, 0, -0.01 + max, delay);
}
int get() { return SmoothCounter::get(); }
--- src/view.cpp 2019-03-08 19:13:31.000000000 +0100
+++ src/view.cpp 2019-06-10 11:04:25.234551898 +0200
--- a/src/view.cpp 2019-03-08 19:13:31.000000000 +0100
+++ b/src/view.cpp 2019-06-10 11:04:25.234551898 +0200
@@ -74,7 +74,7 @@ View::View(Config &cfg, ClientGame &_cg)
/** (Re)Initialize window, theme and menu.
@ -682,8 +682,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
darkenScreen();
--- src/view.h 2019-03-07 15:44:36.000000000 +0100
+++ src/view.h 2019-06-10 11:04:25.229551838 +0200
--- a/src/view.h 2019-03-07 15:44:36.000000000 +0100
+++ b/src/view.h 2019-06-10 11:04:25.229551838 +0200
@@ -105,7 +105,7 @@ class View {
void showHelp();
void createParticles(BrickHit *hit);
@ -710,8 +710,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
void run();
void render();
void runMenu();
--- src/clientgame.cpp.orig 2019-06-10 11:08:55.515756485 +0200
+++ src/clientgame.cpp 2019-06-10 11:09:17.964021355 +0200
--- a/src/clientgame.cpp 2019-06-10 11:08:55.515756485 +0200
+++ b/src/clientgame.cpp 2019-06-10 11:09:17.964021355 +0200
@@ -95,7 +95,7 @@ ClientPlayer *ClientGame::getNextPlayer(
if (curPlayer == players.size())
curPlayer = 0;
@ -730,8 +730,8 @@ uint is not portable, use unsigned int instead. Fixes musl.
p->setLevelSnapshot(levelset->levels[p->getLevel()]);
else {
strprintf(msg,_("Congratulations, %s, you cleared all levels!"),p->getName().c_str());
--- src/clientgame.h.orig 2019-06-10 11:10:30.500877231 +0200
+++ src/clientgame.h 2019-06-10 11:10:41.972012581 +0200
--- a/src/clientgame.h 2019-06-10 11:10:30.500877231 +0200
+++ b/src/clientgame.h 2019-06-10 11:10:41.972012581 +0200
@@ -120,7 +120,7 @@ public:
void getCurrentLevelNameAndAuthor(string &name, string &author) {
ClientPlayer *p = players[curPlayer].get();

View file

@ -11,4 +11,3 @@ license="GPL-2.0-or-later"
homepage="http://lgames.sourceforge.net/LBreakoutHD/"
distfiles="${SOURCEFORGE_SITE}/lgames/$pkgname-$version.tar.gz"
checksum=df5f8ad88bcf20bd34e1dfd77697b49a168d83ad43d8fdf5a3fee1fe272e15bd
patch_args=-Np0

View file

@ -1,7 +1,7 @@
diff --git lib/fseterr.c lib/fseterr.c
index 1e212e4..81f51ed 100644
--- lib/fseterr.c
+++ lib/fseterr.c
--- a/lib/fseterr.c
+++ b/lib/fseterr.c
@@ -1,5 +1,5 @@
/* Set the error indicator of a stream.
- Copyright (C) 2007-2014 Free Software Foundation, Inc.

View file

@ -9,4 +9,3 @@ license="GPL-3.0-or-later"
homepage="http://lbzip2.org/"
distfiles="http://archive.lbzip2.org/lbzip2-${version}.tar.gz"
checksum=46c75ee93cc95eedc6005625442b2b8e59a2bef3ba80987d0491f055185650e9
patch_args=-Np0

View file

@ -6,8 +6,8 @@ Last-Updated: 2014-09-13
Index: lcov-1.12/bin/lcov
===================================================================
--- bin/lcov
+++ bin/lcov
--- a/bin/lcov
+++ b/bin/lcov
@@ -224,7 +224,9 @@ Getopt::Long::Configure("default");
# Remove spaces around rc options
my %new_opt_rc;
@ -21,8 +21,8 @@ Index: lcov-1.12/bin/lcov
Index: lcov-1.12/bin/geninfo
===================================================================
--- bin/geninfo
+++ bin/geninfo
--- a/bin/geninfo
+++ b/bin/geninfo
@@ -284,8 +284,9 @@ Getopt::Long::Configure("default");
{
# Remove spaces around rc options

View file

@ -7,8 +7,8 @@ Last-Update: 2013-02-01
Index: lcov-1.12/bin/geninfo
===================================================================
--- bin/geninfo
+++ bin/geninfo
--- a/bin/geninfo
+++ b/bin/geninfo
@@ -1771,8 +1771,9 @@ sub read_gcov_file($)
$number = (split(" ",substr($_, 0, 16)))[0];

View file

@ -12,4 +12,3 @@ license="GPL-2.0-or-later"
homepage="http://ltp.sourceforge.net/coverage/lcov.php"
distfiles="https://github.com/linux-test-project/${pkgname}/archive/v${version}.tar.gz"
checksum=d88b0718f59815862785ac379aed56974b9edd8037567347ae70081cd4a3542a
patch_args=-Np0

View file

@ -17,8 +17,8 @@ Signed-off-by: Anders Kaseorg <andersk at mit.edu>
diff --git a/ldapvi/misc.c b/ldapvi/misc.c
index 3b6896e..e9a0d4c 100644
--- misc.c
+++ misc.c
--- a/misc.c
+++ b/misc.c
@@ -172,9 +172,9 @@ edit(char *pathname, long line)
if (line > 0) {
char buf[20];

View file

@ -11,8 +11,8 @@ Subject: [PATCH] renamed getline
diff --git a/ldapvi/common.h b/ldapvi/common.h
index 4c264e8..f731e62 100644
--- common.h
+++ common.h
--- a/common.h
+++ b/common.h
@@ -273,7 +273,7 @@ void pipeview_wait(int pid);
char *home_filename(char *name);
void read_ldapvi_history(void);
@ -24,8 +24,8 @@ index 4c264e8..f731e62 100644
void *xalloc(size_t size);
diff --git a/ldapvi/ldapvi.c b/ldapvi/ldapvi.c
index 9d7d77c..7b312f8 100644
--- ldapvi.c
+++ ldapvi.c
--- a/ldapvi.c
+++ b/ldapvi.c
@@ -470,7 +470,7 @@ change_mechanism(bind_options *bo)
bo->authmethod = LDAP_AUTH_SASL;
puts("Switching to SASL authentication.");
@ -37,8 +37,8 @@ index 9d7d77c..7b312f8 100644
static int
diff --git a/ldapvi/misc.c b/ldapvi/misc.c
index 0a9dba9..3b6896e 100644
--- misc.c
+++ misc.c
--- a/misc.c
+++ b/misc.c
@@ -315,7 +315,7 @@ write_ldapvi_history()
}

View file

@ -12,7 +12,6 @@ homepage="http://www.lichteblau.com/ldapvi/"
short_desc="An interactive LDAP client for Unix terminals"
distfiles="http://www.lichteblau.com/download/ldapvi-${version}.tar.gz"
checksum=6f62e92d20ff2ac0d06125024a914b8622e5b8a0a0c2d390bf3e7990cbd2e153
patch_args=-Np0
do_install() {
vbin ldapvi

View file

@ -1,5 +1,5 @@
--- tests/ldb_match_test.c
+++ tests/ldb_match_test.c
--- a/tests/ldb_match_test.c
+++ b/tests/ldb_match_test.c
@@ -32,6 +32,8 @@
* This allows test applications to use custom definitions of C standard
* library functions and types.

View file

@ -19,7 +19,6 @@ license="LGPL-3.0-or-later"
homepage="https://www.samba.org/ldb/"
distfiles="https://www.samba.org/ftp/pub/ldb/ldb-${version}.tar.gz"
checksum=134bb51769709af59f30bf468e454d1377a8096acd4e80dcb42fd264f558bd5f
patch_args=-Np0
# workaround for cmocka's broken uintptr_t definition on musl
if [ "$XBPS_TARGET_WORDSIZE" = "64" -a "$XBPS_TARGET_LIBC" = "musl" ]; then

View file

@ -1,5 +1,5 @@
--- cmake/FindUtfcpp.cmake.old 2016-01-13 19:14:05.737426666 +0100
+++ cmake/FindUtfcpp.cmake 2016-01-13 19:13:28.952877141 +0100
--- a/cmake/FindUtfcpp.cmake.old 2016-01-13 19:14:05.737426666 +0100
+++ b/cmake/FindUtfcpp.cmake 2016-01-13 19:13:28.952877141 +0100
@@ -1,23 +1,8 @@
-# - Try to find utfcpp
-# Once done, this will define

View file

@ -1,7 +1,7 @@
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig
+++ CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,7 +41,6 @@ if (BUILD_DEBUG)
set(CMAKE_BUILD_TYPE Debug)
set(DEBUG_MODE 1)

View file

@ -10,7 +10,6 @@ license="BSD-3-Clause"
homepage="https://www.ledger-cli.org/"
distfiles="https://github.com/ledger/${pkgname}/archive/v${version}.tar.gz"
checksum=92bf09bc385b171987f456fe3ee9fa998ed5e40b97b3acdd562b663aa364384a
patch_args=-Np0
post_install() {
rm -Rf ${DESTDIR}/usr/local

View file

@ -1,5 +1,5 @@
--- Makefile.orig 2018-01-15 14:49:00.426539554 +0100
+++ Makefile 2018-01-15 14:49:04.968584026 +0100
--- a/Makefile 2018-01-15 14:49:00.426539554 +0100
+++ b/Makefile 2018-01-15 14:49:04.968584026 +0100
@@ -118,7 +118,7 @@ comp_opts.mk:
-include comp_opts.mk

View file

@ -10,7 +10,6 @@ license="Apache-2.0"
homepage="http://lfe.io/"
distfiles="https://github.com/rvirding/lfe/archive/v${version}.tar.gz"
checksum=04634f2c700ecedb55f4369962837792669e6be809dba90d81974198fc2b7b72
patch_args=-Np0
do_build() {
make

View file

@ -1,12 +1,12 @@
--- liba52/Makefile.am 2002-01-27 20:36:48.000000000 -0800
+++ liba52/Makefile.am 2004-11-05 01:10:21.317401872 -0800
--- a/liba52/Makefile.am 2002-01-27 20:36:48.000000000 -0800
+++ b/liba52/Makefile.am 2004-11-05 01:10:21.317401872 -0800
@@ -1,4 +1,3 @@
-CFLAGS = @CFLAGS@ @LIBA52_CFLAGS@
lib_LTLIBRARIES = liba52.la
--- liba52/configure.incl 2002-01-27 20:36:48.000000000 -0800
+++ liba52/configure.incl 2004-11-05 01:11:38.172672216 -0800
--- a/liba52/configure.incl 2002-01-27 20:36:48.000000000 -0800
+++ b/liba52/configure.incl 2004-11-05 01:11:38.172672216 -0800
@@ -2,7 +2,6 @@
AC_SUBST([LIBA52_LIBS])
@ -15,8 +15,8 @@
AC_ARG_ENABLE([double],
[ --enable-double use double-precision samples])
--- src/Makefile.am 2002-06-22 18:51:57.000000000 -0700
+++ src/Makefile.am 2004-11-05 01:10:21.320401375 -0800
--- a/src/Makefile.am 2002-06-22 18:51:57.000000000 -0700
+++ b/src/Makefile.am 2004-11-05 01:10:21.320401375 -0800
@@ -1,4 +1,3 @@
-CFLAGS = @A52DEC_CFLAGS@

View file

@ -7,8 +7,8 @@ Author: Sebastian Ramacher <sramacher@debian.org>
Forwarded: not-needed
Last-Update: 2017-02-04
--- test/Makefile.am
+++ test/Makefile.am
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -3,4 +3,4 @@ compare_SOURCES = compare.c
compare_LDADD = -lm

View file

@ -12,7 +12,6 @@ license="GPL-2.0-or-later"
homepage="http://liba52.sourceforge.net/"
distfiles="http://liba52.sourceforge.net/files/a52dec-${version}.tar.gz"
checksum=a21d724ab3b3933330194353687df82c475b5dfb997513eef4c25de6c865ec33
patch_args=-Np0
pre_configure() {
./bootstrap

View file

@ -1,5 +1,5 @@
--- include/abg-comparison.h.orig
+++ include/abg-comparison.h
--- a/include/abg-comparison.h
+++ b/include/abg-comparison.h
@@ -27,6 +27,7 @@
#include <ostream>
@ -8,8 +8,8 @@
#include "abg-corpus.h"
#include "abg-diff-utils.h"
#include "abg-ini.h"
--- src/abg-dwarf-reader.cc.orig
+++ src/abg-dwarf-reader.cc
--- a/src/abg-dwarf-reader.cc
+++ b/src/abg-dwarf-reader.cc
@@ -37,6 +37,10 @@
#include <cmath>
#include <elfutils/libdwfl.h>
@ -21,8 +21,8 @@
#include <algorithm>
#include <iostream>
#include <tr1/unordered_map>
--- tools/abisym.cc.orig
+++ tools/abisym.cc
--- a/tools/abisym.cc
+++ b/tools/abisym.cc
@@ -151,10 +151,10 @@
cout << "could not find symbol '"
<< opts.symbol_name

View file

@ -1,7 +1,7 @@
Detect .xbps as tarballs.
--- src/abg-tools-utils.cc.orig
+++ src/abg-tools-utils.cc
--- a/src/abg-tools-utils.cc
+++ b/src/abg-tools-utils.cc
@@ -690,7 +690,8 @@
|| string_ends_with(file_path, ".tlz")
|| string_ends_with(file_path, ".tar.Z")

View file

@ -12,7 +12,6 @@ license="LGPL-3.0-or-later"
homepage="https://www.sourceware.org/libabigail/"
distfiles="http://mirrors.kernel.org/sourceware/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=86347c9f0a8666f263fd63f8c3fe4c4f9cb1bdb3ec4260ecbaf117d137e89787
patch_args=-Np0
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" musl-fts-devel"; LDFLAGS="-lfts" ;;

View file

@ -10,8 +10,8 @@ Change-Id: I5645629526a8d9d896e4faeb2c7b9ea88540fd23
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 5766f39..d12d8e2 100644
--- src/lib/Makefile.am
+++ src/lib/Makefile.am
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -26,6 +26,7 @@ generated_files = \
$(top_builddir)/src/lib/tokens.h \
$(top_builddir)/src/lib/tokenhash.h

View file

@ -11,7 +11,6 @@ distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.t
makedepends="librevenge-devel boost-devel libxml2-devel"
hostmakedepends="automake libtool pkg-config perl gperf"
checksum=e763a9dc21c3d2667402d66e202e3f8ef4db51b34b79ef41f56cacb86dcd6eed
patch_args=-Np0
CXXFLAGS="-Wno-deprecated-copy"

View file

@ -1,5 +1,5 @@
--- Accounts/AccountsQt5Config.cmake.in 2019-09-18 21:00:34.000000000 +0200
+++ - 2020-04-26 23:54:46.522721966 +0200
--- a/Accounts/AccountsQt5Config.cmake.in 2019-09-18 21:00:34.000000000 +0200
+++ b/Accounts/AccountsQt5Config.cmake.in 2019-09-18 21:00:34.000000000 +0200
@@ -1,5 +1,20 @@
# ACCOUNTSQT_INCLUDE_DIRS - The libaccounts-qt include directories
# ACCOUNTSQT_LIBRARIES - The libraries needed to use libaccounts-qt

View file

@ -13,7 +13,6 @@ license="LGPL-2.1-only"
homepage="https://gitlab.com/accounts-sso/libaccounts-qt"
distfiles="${homepage}/repository/archive.tar.gz?ref=VERSION_${version}>${pkgname}-${version}.tar.gz"
checksum=286eb02f936853e32e610003a2a332a12524050d226707e7630b6a29bd3bdf66
patch_args=-Np0
libaccounts-qt5-devel_package() {
short_desc+=" - development files"

View file

@ -2,8 +2,8 @@ Enable xz multithreaded compression by default.
--xtraeme
--- libarchive/archive_write_add_filter_xz.c.orig 2016-05-04 09:49:31.262876338 +0200
+++ libarchive/archive_write_add_filter_xz.c 2016-05-04 09:50:25.318811601 +0200
--- a/libarchive/archive_write_add_filter_xz.c 2016-05-04 09:49:31.262876338 +0200
+++ b/libarchive/archive_write_add_filter_xz.c 2016-05-04 09:50:25.318811601 +0200
@@ -152,7 +152,7 @@ common_setup(struct archive_write_filter
}
f->data = data;

View file

@ -18,7 +18,6 @@ license="BSD-2-Clause"
homepage="http://www.libarchive.org/"
distfiles="https://github.com/libarchive/libarchive/releases/download/${version}/libarchive-${version}.tar.gz"
checksum=9015d109ec00bb9ae1a384b172bf2fc1dff41e2c66e5a9eeddf933af9db37f5a
patch_args=-Np0
build_options="acl expat lzo lz4 ssl zstd"
build_options_default="acl ssl lz4 zstd"

View file

@ -24,8 +24,8 @@ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
diff --git a/strpool/Makefile.am b/strpool/Makefile.am
index b041cea..5b335a5 100644
--- strpool/Makefile.am
+++ strpool/Makefile.am
--- a/strpool/Makefile.am
+++ b/strpool/Makefile.am
@@ -17,8 +17,8 @@
# <http://www.gnu.org/licenses/>.

View file

@ -12,7 +12,6 @@ license="LGPL-2.1-or-later"
homepage="http://0pointer.de/blog/projects/being-smart.html"
distfiles="http://0pointer.de/public/$pkgname-$version.tar.xz"
checksum=61f0ea345f63d28ab2ff0dc352c22271661b66bf09642db3a4049ac9dbdb0f8d
patch_args=-Np0
pre_configure() {
autoreconf -fi

View file

@ -1,5 +1,5 @@
--- daemon.bak 2016-01-16 20:34:52.682900674 -0600
+++ daemon.c 2016-01-16 20:34:45.496900167 -0600
--- a/daemon.bak 2016-01-16 20:34:52.682900674 -0600
+++ b/daemon.c 2016-01-16 20:34:45.496900167 -0600
@@ -3,6 +3,7 @@
#include <stdlib.h>
#include <signal.h>

View file

@ -13,7 +13,6 @@ license="LGPL-2"
homepage="http://www.linux-ax25.org/wiki/Libax25"
distfiles="http://www.linux-ax25.org/pub/libax25/${wrksrc}.tar.gz"
checksum=051bd736c3f3f3b242b3efea91af37f2e8d5afaebb5fe6e1df050bb1f6aeb986
patch_args=-Np0
libax25-devel_package() {
short_desc+=" - development files"

View file

@ -2,8 +2,8 @@ Source: maxice8
Upstream: no
Reason: fixes compilation
--- src/flopen.c
+++ src/flopen.c
--- a/src/flopen.c
+++ b/src/flopen.c
@@ -34,6 +34,7 @@
#include <errno.h>
#include <stdarg.h>

View file

@ -1,5 +1,5 @@
--- test/fpurge.c
+++ test/fpurge.c
--- a/test/fpurge.c
+++ b/test/fpurge.c
@@ -29,15 +29,11 @@
int
main()

View file

@ -10,7 +10,6 @@ license="ISC, MIT, Beerware, BSD-2-Clause, BSD-3-Clause, BSD-4-Clause"
homepage="https://libbsd.freedesktop.org/"
distfiles="https://libbsd.freedesktop.org/releases/libbsd-${version}.tar.xz"
checksum=ff95cf8184151dacae4247832f8d4ea8800fa127dbd15033ecfe839f285b42a1
patch_args=-Np0
post_install() {
vlicense COPYING

View file

@ -11,8 +11,8 @@ Subject: [PATCH] gtk: Don't assume all GdkDisplays are GdkX11Displays:
diff --git a/src/canberra-gtk-module.c b/src/canberra-gtk-module.c
index 67791f0..c1532ab 100644
--- src/canberra-gtk-module.c
+++ src/canberra-gtk-module.c
--- a/src/canberra-gtk-module.c
+++ b/src/canberra-gtk-module.c
@@ -307,6 +307,11 @@ static gint window_get_desktop(GdkDisplay *d, GdkWindow *w) {
guchar *data = NULL;
gint ret = -1;
@ -51,8 +51,8 @@ index 67791f0..c1532ab 100644
diff --git a/src/canberra-gtk.c b/src/canberra-gtk.c
index 34446f5..08cb668 100644
--- src/canberra-gtk.c
+++ src/canberra-gtk.c
--- a/src/canberra-gtk.c
+++ b/src/canberra-gtk.c
@@ -185,6 +185,11 @@ static gint window_get_desktop(GdkDisplay *d, GdkWindow *w) {
guchar *data = NULL;
gint ret = -1;

View file

@ -16,7 +16,6 @@ license="LGPL-2.1-or-later"
homepage="http://0pointer.de/lennart/projects/libcanberra/"
distfiles="http://pkgs.fedoraproject.org/repo/pkgs/libcanberra/libcanberra-${version}.tar.xz/34cb7e4430afaf6f447c4ebdb9b42072/libcanberra-${version}.tar.xz"
checksum=c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72
patch_args=-Np0
pre_configure() {
autoreconf -if

View file

@ -1,7 +1,7 @@
Make this build with musl, uid_t/pid_t are defined in <unistd.h>.
--- utils/proc-llist.h.orig 2014-01-11 11:38:42.960868985 +0100
+++ utils/proc-llist.h 2014-01-11 11:39:01.776988967 +0100
--- a/utils/proc-llist.h 2014-01-11 11:38:42.960868985 +0100
+++ b/utils/proc-llist.h 2014-01-11 11:39:01.776988967 +0100
@@ -24,6 +24,7 @@
#ifndef PROC_HEADER
#define PROC_HEADER

View file

@ -10,7 +10,6 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://people.redhat.com/sgrubb/libcap-ng/"
distfiles="http://people.redhat.com/sgrubb/$pkgname/$pkgname-$version.tar.gz"
checksum=52c083b77c2b0d8449dee141f9c3eba76e6d4c5ad44ef05df25891126cb85ae9
patch_args=-Np0
subpackages="libcap-ng-devel libcap-ng-progs"

View file

@ -14,8 +14,8 @@ Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
diff --git a/progs/Makefile b/progs/Makefile
index 289186e..2289cf7 100644
--- progs/Makefile
+++ progs/Makefile
--- a/progs/Makefile
+++ b/progs/Makefile
@@ -32,14 +32,14 @@ $(BUILD): %: %.o $(DEPS)
install: all

View file

@ -15,7 +15,6 @@ homepage="http://sites.google.com/site/fullycapable/"
changelog="https://sites.google.com/site/fullycapable/release-notes-for-libcap"
distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/${pkgname}-${version}.tar.xz"
checksum=47a57b8bd238b84c93c921a9b4ff82337551dbcb0cca071316aadf3e23b19261
patch_args=-Np0
if [ "$CROSS_BUILD" ]; then
make_build_args="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"

View file

@ -1,7 +1,7 @@
diff --git src/libcec/cmake/SetBuildInfo.cmake src/libcec/cmake/SetBuildInfo.cmake
index 3402f9f..b121361 100644
--- src/libcec/cmake/SetBuildInfo.cmake
+++ src/libcec/cmake/SetBuildInfo.cmake
--- a/src/libcec/cmake/SetBuildInfo.cmake
+++ b/src/libcec/cmake/SetBuildInfo.cmake
@@ -40,7 +40,7 @@ else()
# add host on which this was built to compile info
find_program(HAVE_HOSTNAME_BIN hostname /bin /usr/bin /usr/local/bin)

View file

@ -14,7 +14,6 @@ license="GPL-2.0-or-later"
homepage="https://github.com/Pulse-Eight/libcec"
distfiles="https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.gz"
checksum=090696d7a4fb772d7acebbb06f91ab92e025531c7c91824046b9e4e71ecb3377
patch_args=-Np0
build_options="rpi"

View file

@ -1,5 +1,5 @@
--- src/daemon/cgrulesengd.c
+++ src/daemon/cgrulesengd.c
--- a/src/daemon/cgrulesengd.c
+++ b/src/daemon/cgrulesengd.c
@@ -889,9 +889,6 @@
} else if (pid > 0) {
exit(EXIT_SUCCESS);

View file

@ -11,8 +11,8 @@ to the next iteration.
diff --git a/src/api.c b/src/api.c
index d6c9d3a..ef796ac 100644
--- src/api.c
+++ src/api.c
--- a/src/api.c
+++ b/src/api.c
@@ -2775,13 +2775,17 @@ static struct cgroup_rule *cgroup_find_matching_rule_uid_gid(uid_t uid,
/* Get the group data. */
sp = &(rule->username[1]);

View file

@ -1,8 +1,8 @@
In musl libc these macros are defined in the deprecated
include file sys/cdefs.h
--- include/libcgroup.h 2014-01-13 15:05:56.000000000 +0100
+++ include/libcgroup.h 2015-10-25 14:03:32.921207668 +0100
--- a/include/libcgroup.h 2014-01-13 15:05:56.000000000 +0100
+++ b/include/libcgroup.h 2015-10-25 14:03:32.921207668 +0100
@@ -16,6 +16,16 @@
#ifndef _LIBCGROUP_H
#define _LIBCGROUP_H

View file

@ -1,8 +1,8 @@
The musl libc strerror_r(3) semantics are different from
GNU libc's if _GNU_SOURCE is defined.
--- src/api.c 2014-01-13 15:05:56.000000000 +0100
+++ src/api.c 2015-10-25 14:09:18.690232596 +0100
--- a/src/api.c 2014-01-13 15:05:56.000000000 +0100
+++ b/src/api.c 2015-10-25 14:09:18.690232596 +0100
@@ -3332,8 +3332,16 @@
const char *cgroup_strerror(int code)

View file

@ -12,7 +12,6 @@ license="LGPL-2.1"
homepage="http://libcg.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/libcg/${pkgname}-${version}.tar.bz2"
checksum=e4e38bdc7ef70645ce33740ddcca051248d56b53283c0dc6d404e17706f6fb51
patch_args=-Np0
case "$XBPS_TARGET_MACHINE" in
*-musl) # Add musl-fts implementation

View file

@ -1,7 +1,7 @@
FTBFS: /usr/include/c++/9.2/memory:146:1: error: template with C linkage
--- inc/libcmis-c/repository.h
+++ inc/libcmis-c/repository.h
--- a/inc/libcmis-c/repository.h
+++ b/inc/libcmis-c/repository.h
@@ -28,12 +28,12 @@
#ifndef _REPOSITORY_H_
#define _REPOSITORY_H_

View file

@ -12,7 +12,6 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later, MPL-1.1"
homepage="https://github.com/tdf/libcmis"
distfiles="https://github.com/tdf/libcmis/releases/download/v${version}/libcmis-${version}.tar.gz"
checksum=ed6f681a48abbf3c2324564b17a180d21fa9503230e8708825e1ad80daee4f81
patch_args=-Np0
CXXFLAGS="-Wno-deprecated"

View file

@ -1,5 +1,5 @@
--- util.c.orig 2012-01-13 23:25:58.000000000 +0100
+++ util.c 2018-05-26 20:14:12.290726591 +0200
--- a/util.c 2012-01-13 23:25:58.000000000 +0100
+++ b/util.c 2018-05-26 20:14:12.290726591 +0200
@@ -386,7 +386,7 @@
msg = "Invalid back reference to a subexpression.";
break;

View file

@ -12,7 +12,6 @@ license="LGPL-2.1"
distfiles="${SOURCEFORGE_SITE}/cprops/${pkgname}-${version}.tar.bz2"
checksum=3737772d2718a2c550adf4ca92cc492e613aa9200aae2bbaaf128d90f4ef67f2
nocross="autotools TRY_RUN checking for PTHREAD_MUTEX_RECURSIVE"
patch_args=-Np0
libcprops-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"

View file

@ -3,8 +3,8 @@ instead of <sys/unistd.h>. This removes an error when building libdaemon
against the musl C library.
Signed-off-by: Jörg Krause <jkrause@posteo.de>
--- examples/testd.c 2014-08-30 00:27:08.359832977 +0200
+++ examples/testd.c 2014-08-30 00:27:25.439832670 +0200
--- a/examples/testd.c 2014-08-30 00:27:08.359832977 +0200
+++ b/examples/testd.c 2014-08-30 00:27:25.439832670 +0200
@@ -23,7 +23,7 @@
#include <string.h>
#include <sys/types.h>

View file

@ -10,7 +10,6 @@ license="LGPL-2.1-or-later"
homepage="http://0pointer.de/lennart/projects/$pkgname"
distfiles="http://pkgs.fedoraproject.org/repo/pkgs/libdaemon/libdaemon-${version}.tar.gz/509dc27107c21bcd9fbf2f95f5669563/libdaemon-${version}.tar.gz"
checksum=fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834
patch_args=-Np0
libdaemon-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"

View file

@ -1,5 +1,5 @@
--- tools/Makefile.am 2018-03-18 17:20:02.221259868 +0100
+++ tools/Makefile.am 2018-03-18 17:19:53.192259402 +0100
--- a/tools/Makefile.am 2018-03-18 17:20:02.221259868 +0100
+++ b/tools/Makefile.am 2018-03-18 17:19:53.192259402 +0100
@@ -1,6 +1,9 @@
# hacky, but ...

View file

@ -13,7 +13,6 @@ license="LGPL-2.1-or-later"
homepage="http://dbus-cplusplus.sourceforge.net/"
distfiles="https://github.com/pkgw/dbus-cplusplus/releases/download/v${version}/libdbus-c---${version}.tar.gz"
checksum=4f140668f2529ecbdce99afbb89f8a977aa47a36248d5f4943b3660316752ee8
patch_args=-Np0
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" libdbus-c++-devel dbus-devel glib-devel"

View file

@ -9,8 +9,8 @@ Subject: [PATCH] Fix compilation for gcc 9.1.0
diff --git a/dns/dns.h b/dns/dns.h
index 7eb3e7d6..dc88ab51 100644
--- dns/dns.h
+++ dns/dns.h
--- a/dns/dns.h
+++ b/dns/dns.h
@@ -496,7 +496,7 @@ size_t dns_rr_print(void *, size_t, struct dns_rr *, struct dns_packet *, int *)

View file

@ -10,7 +10,6 @@ license="MIT"
homepage="http://libdill.org/"
distfiles="https://github.com/sustrik/libdill/archive/${version}.tar.gz"
checksum=ebba0e5b433ec123b74a57d49b89dfa673aa258e03e6a452959e556b4c4529b9
patch_args=-Np0
pre_configure() {
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=?/}"

View file

@ -1,5 +1,5 @@
--- tests/meson.build
+++ tests/meson.build
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -44,9 +44,9 @@ endif
if with_etnaviv
subdir('etnaviv')

View file

@ -1,6 +1,6 @@
https://gitlab.freedesktop.org/mesa/drm/-/commit/40f73d0b0b3936ccadc693edc25aad70c1225766
--- xf86drmMode.c 2021-04-07 16:54:11.000000000 +0300
+++ xf86drmMode.c 2021-04-23 08:16:18.037479830 +0300
--- a/xf86drmMode.c 2021-04-07 16:54:11.000000000 +0300
+++ b/xf86drmMode.c 2021-04-23 08:16:18.037479830 +0300
@@ -292,2 +292 @@ drm_public int drmModeAddFB2WithModifier
- if (modifier) {
- f.flags |= DRM_MODE_FB_MODIFIERS;

View file

@ -13,7 +13,6 @@ license="MIT"
homepage="https://dri.freedesktop.org/"
distfiles="https://gitlab.freedesktop.org/mesa/drm/-/archive/libdrm-${version}/drm-libdrm-${version}.tar.gz"
checksum=0ba5017cafd4b7ac885356403c20105d40efcd11271ebf75727c1a5599e4ed53
patch_args=-Np0
case "$XBPS_TARGET_MACHINE" in
aarch64*) configure_args+=" -Dvc4=true";;

View file

@ -2,8 +2,8 @@ In musl open64 is by default a #define to open.
However, it provides compat symbols and we want this
to explicitly use those.
--- libeatmydata/libeatmydata.c
+++ libeatmydata/libeatmydata.c
--- a/libeatmydata/libeatmydata.c
+++ b/libeatmydata/libeatmydata.c
@@ -27,6 +27,11 @@
#include <stdarg.h>
#include <pthread.h>

View file

@ -12,8 +12,8 @@ Signed-off-by: Stewart Smith <stewart@flamingspork.com>
diff --git eatmydata.in eatmydata.in
index 40468db..e37f07c 100644
--- eatmydata.in
+++ eatmydata.in
--- a/eatmydata.in
+++ b/eatmydata.in
@@ -15,9 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

View file

@ -9,4 +9,3 @@ license="GPL-3.0-only"
homepage="http://www.flamingspork.com/projects/libeatmydata/"
distfiles="http://www.flamingspork.com/projects/libeatmydata/${pkgname}-${version}.tar.gz"
checksum=bdd2d068b6b27cf47cd22aa4c5da43b3d4a05944cfe0ad1b0d843d360ed3a8dd
patch_args=-Np0

View file

@ -1,5 +1,5 @@
--- configure 2021-02-13 22:19:40.127583919 +0100
+++ - 2021-02-13 22:25:30.535900276 +0100
--- a/configure 2021-02-13 22:19:40.127583919 +0100
+++ b/configure 2021-02-13 22:19:40.127583919 +0100
@@ -11896,9 +11896,9 @@
fi

View file

@ -12,7 +12,6 @@ homepage="http://brianstafford.info/libesmtp/"
distfiles="https://sources.voidlinux.org/libesmtp-1.0.6/libesmtp-1.0.6.tar.bz2"
#distfiles="http://brianstafford.info/libesmtp/libesmtp-${version}.tar.bz2"
checksum=d0a61a5c52d99fa7ce7d00ed0a07e341dbda67101dbed1ab0cdae3f37db4eb0b
patch_args=-Np0
libesmtp-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

View file

@ -19,8 +19,8 @@ clientid.c:66:38:
diff --git a/src/low-level/imap/clientid.c b/src/low-level/imap/clientid.c
index 1c34637..f28b616 100644
--- src/low-level/imap/clientid.c
+++ src/low-level/imap/clientid.c
--- a/src/low-level/imap/clientid.c
+++ b/src/low-level/imap/clientid.c
@@ -33,6 +33,8 @@
# include <config.h>
#endif

View file

@ -1,5 +1,5 @@
--- libetpan-config.in.orig 2015-03-29 14:26:51.317434432 +0200
+++ libetpan-config.in 2015-03-29 14:34:29.172407320 +0200
--- a/libetpan-config.in 2015-03-29 14:26:51.317434432 +0200
+++ b/libetpan-config.in 2015-03-29 14:34:29.172407320 +0200
@@ -47,8 +47,7 @@
echo $includedir
;;

View file

@ -14,7 +14,6 @@ license="BSD-3-Clause"
homepage="http://www.etpan.org/libetpan.html"
distfiles="https://github.com/dinhviethoa/libetpan/archive/${version}.tar.gz"
checksum=591f97d5102f600e668502fe1dd5a341e910a840d8ea62e689a3a79d8bfbac87
patch_args=-Np0
pre_configure() {
NOCONFIGURE=1 ./autogen.sh

View file

@ -1,5 +1,5 @@
--- InputEvent.hpp 2020-02-11 17:02:44.000000000 +0100
+++ InputEvent.hpp 2020-12-11 16:56:14.324990733 +0100
--- a/InputEvent.hpp 2020-02-11 17:02:44.000000000 +0100
+++ b/InputEvent.hpp 2020-12-11 16:56:14.324990733 +0100
@@ -20,7 +20,7 @@
public:
input_event event{};

View file

@ -9,7 +9,6 @@ license="MIT"
homepage="https://github.com/YukiWorkshop/libevdevPlus"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=c941b6b45f784c1e6c6f316f59256fabd604ac392db405cf7fd99de2686aaab0
patch_args=-Np0
post_install() {
vlicense LICENSE

View file

@ -1,5 +1,5 @@
--- execinfo.c.orig
+++ execinfo.c
--- a/execinfo.c
+++ b/execinfo.c
@@ -69,7 +69,8 @@
char **
backtrace_symbols(void *const *buffer, int size)

View file

@ -1,5 +1,5 @@
--- Makefile.orig
+++ Makefile
--- a/Makefile
+++ b/Makefile
@@ -23,24 +23,25 @@
# SUCH DAMAGE.
#

View file

@ -1,5 +1,5 @@
--- execinfo.c.orig
+++ execinfo.c
--- a/execinfo.c
+++ b/execinfo.c
@@ -26,6 +26,7 @@
* $Id: execinfo.c,v 1.3 2004/07/19 05:21:09 sobomax Exp $
*/
@ -8,15 +8,15 @@
#include <sys/types.h>
#include <sys/uio.h>
#include <dlfcn.h>
--- stacktraverse.c.orig
+++ stacktraverse.c
--- a/stacktraverse.c
+++ b/stacktraverse.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <stddef.h>
#include "stacktraverse.h"
--- test.c.orig
+++ test.c
--- a/test.c
+++ b/test.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <stdio.h>

View file

@ -12,7 +12,7 @@ diff --git a/libexecinfo.pc b/libexecinfo.pc
new file mode 100644
index 0000000..dc61a97
--- /dev/null
+++ libexecinfo.pc
+++ b/libexecinfo.pc
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}

View file

@ -10,7 +10,6 @@ license="BSD-2-Clause"
homepage="http://www.freshports.org/devel/libexecinfo"
distfiles="http://distcache.freebsd.org/local-distfiles/itetcu/libexecinfo-${version}.tar.bz2"
checksum=c9a21913e7fdac8ef6b33250b167aa1fc0a7b8a175145e26913a4c19d8a59b1f
patch_args=-Np0
do_install() {
vsed -e "/Version:/s@version@${version}@" -i libexecinfo.pc

View file

@ -1,5 +1,5 @@
--- Makefile.orig 2015-02-16 10:55:42.669519299 +0100
+++ Makefile 2015-02-16 10:58:21.278068828 +0100
--- a/Makefile 2015-02-16 10:55:42.669519299 +0100
+++ b/Makefile 2015-02-16 10:58:21.278068828 +0100
@@ -1,5 +1,7 @@
prefix = /usr
DESTDIR =

View file

@ -3,8 +3,8 @@ might happen due to OpenSSL buffering.
Use SSL_pending(3) to make sure SSL_read(3) sucks in last buffered bytes.
--- common.c.orig 2013-01-13 17:12:06.434631196 +0100
+++ common.c 2013-01-13 17:12:36.185921621 +0100
--- a/common.c 2013-01-13 17:12:06.434631196 +0100
+++ b/common.c 2013-01-13 17:12:36.185921621 +0100
@@ -529,6 +529,10 @@ fetch_read(conn_t *conn, char *buf, size
fetch_syserr();
return (-1);

View file

@ -10,7 +10,6 @@ license="BSD-3-Clause"
homepage="https://www.NetBSD.org"
distfiles="https://alpha.de.repo.voidlinux.org/distfiles/libfetch-${version}.tar.xz"
checksum=4e6d4541f213c9ab42ea94d49c2573f0a6f54b04f14668530960f1424b04f722
patch_args=-Np0
do_build() {
make CC=$CC

View file

@ -1,5 +1,5 @@
--- support/tools/SConscript.orig
+++ support/tools/SConscript
--- a/support/tools/SConscript
+++ b/support/tools/SConscript
@@ -40,12 +40,12 @@
else:
e.PrependUnique( LIBS=["expat"] )
@ -15,8 +15,8 @@
if env['ENABLE_DICE']:
e.Program( target = "ffado-set-nickname", source = "ffado-set-nickname.cpp" )
--- SConstruct.orig
+++ SConstruct
--- a/SConstruct
+++ b/SConstruct
@@ -254,13 +254,6 @@
env['REQUIRE_LIBAVC']=0
@ -31,8 +31,8 @@
# Check for pkg-config before using pkg-config to check for other dependencies.
if not conf.CheckForPKGConfig():
print("\nThe program 'pkg-config' could not be found.\nEither you have to install the corresponding package first or make sure that PATH points to the right directions.")
--- SConstruct.orig
+++ SConstruct
--- a/SConstruct
+++ b/SConstruct
@@ -537,7 +537,7 @@
env.Alias( "install", env['libdir'] )
env.Alias( "install", env['includedir'] )
@ -42,8 +42,8 @@
env.Alias( "install", env['bindir'] )
env.Alias( "install", env['mandir'] )
if env['BUILD_MIXER'] == 'true':
--- SConstruct.orig
+++ SConstruct
--- a/SConstruct
+++ b/SConstruct
@@ -395,12 +395,7 @@
# PyQT checks

View file

@ -1,7 +1,7 @@
diff --git src/libutil/PosixMessageQueue.h src/libutil/PosixMessageQueue.h
index 05da300..c331c70 100644
--- src/libutil/PosixMessageQueue.h
+++ src/libutil/PosixMessageQueue.h
--- a/src/libutil/PosixMessageQueue.h
+++ b/src/libutil/PosixMessageQueue.h
@@ -115,7 +115,7 @@ public:
private:

View file

@ -1,7 +1,7 @@
Need to explicitly include stdint.h for musl libc.
--- libffado/ffado.h.in 2016-10-03 18:42:35.335302853 +0200
+++ libffado/ffado.h.in 2016-10-03 18:43:56.999358778 +0200
--- a/libffado/ffado.h.in 2016-10-03 18:42:35.335302853 +0200
+++ b/libffado/ffado.h.in 2016-10-03 18:43:56.999358778 +0200
@@ -31,6 +31,7 @@
#define FFADO_MAX_NAME_LEN 256

View file

@ -20,7 +20,6 @@ license="GPL-2.0-only, GPL-3.0-only"
homepage="http://www.ffado.org"
distfiles="http://www.ffado.org/files/libffado-${version}.tgz"
checksum=a47178cdc8c0c91e91edbaabe23d19ca12a752cbcf81c27314adb27cc00d60f0
patch_args=-Np0
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" argp-standalone" ;;

View file

@ -12,8 +12,8 @@ Subject: [PATCH 1/2] dlmmap_locked always needs locking as it always modifies
src/closures.c | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
--- src/closures.c
+++ src/closures.c
--- a/src/closures.c
+++ b/src/closures.c
@@ -568,16 +568,11 @@
MREMAP_DUP and prot at this point. */
}

View file

@ -1,5 +1,5 @@
--- src/mips/o32.S 2019-10-31 15:49:54.000000000 +0100
+++ src/mips/o32.S 2020-03-24 19:38:35.794316204 +0100
--- a/src/mips/o32.S 2019-10-31 15:49:54.000000000 +0100
+++ b/src/mips/o32.S 2020-03-24 19:38:35.794316204 +0100
@@ -281,10 +281,11 @@
li $13, 1 # FFI_O32

View file

@ -1,5 +1,5 @@
--- src/mips/ffitarget.h 2014-11-08 13:47:24.000000000 +0100
+++ src/mips/ffitarget.h 2017-11-09 16:51:11.866848444 +0100
--- a/src/mips/ffitarget.h 2014-11-08 13:47:24.000000000 +0100
+++ b/src/mips/ffitarget.h 2017-11-09 16:51:11.866848444 +0100
@@ -42,7 +42,7 @@
#define _MIPS_SIM_NABI32 2
#define _MIPS_SIM_ABI64 3

View file

@ -1,5 +1,5 @@
--- libffi.pc.in
+++ libffi.pc.in
--- a/libffi.pc.in
+++ b/libffi.pc.in
@@ -1,11 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@

Some files were not shown because too many files have changed in this diff Show more