[gentoo-commits] repo/gentoo:master commit in: games-roguelike/mangband/files/, games-roguelike/mangband/, profiles/

2018-12-11 Thread Michał Górny
commit: a0aeea77d9d5eeb52c3846b432f5a1354f27da9d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 11 13:33:50 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 11 13:33:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0aeea77

games-roguelike/mangband: Remove last-rited pkg

Closes: https://bugs.gentoo.org/661746
Signed-off-by: Michał Górny  gentoo.org>

 games-roguelike/mangband/Manifest  |   1 -
 .../mangband/files/mangband-1.1.3-paths.patch  | 118 -
 .../mangband/files/mangband-1.1.3-strchr.patch |  22 
 games-roguelike/mangband/mangband-1.1.3.ebuild |  83 ---
 games-roguelike/mangband/metadata.xml  |   5 -
 profiles/package.mask  |   4 -
 6 files changed, 233 deletions(-)

diff --git a/games-roguelike/mangband/Manifest 
b/games-roguelike/mangband/Manifest
deleted file mode 100644
index e3b3eba6970..000
--- a/games-roguelike/mangband/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST mangband-1.1.3.tar.gz 1497078 BLAKE2B 
69f00c9ae4d2600dd9705103dbc753d385015a81f7467e44e38c86cd6f3168474a3832a4c9e8efc353ef75b923362d35e50f49da7752adf43c37d4df015c0e18
 SHA512 
5efda352607953e94a433bf9aabb496419a22c984dc9e054cebc90623682da23a90fb6cb910fcc950010d469571f2af515bfa7740c921add44ac9ea95e723130

diff --git a/games-roguelike/mangband/files/mangband-1.1.3-paths.patch 
b/games-roguelike/mangband/files/mangband-1.1.3-paths.patch
deleted file mode 100644
index dd955157019..000
--- a/games-roguelike/mangband/files/mangband-1.1.3-paths.patch
+++ /dev/null
@@ -1,118 +0,0 @@
-diff --git a/src/config.h.in b/src/config.h.in
-index e8efdca..9a6290a 100644
 a/config.h.in
-+++ a/config.h.in
-@@ -473,6 +473,9 @@
- #ifndef DEFAULT_PATH
- # define DEFAULT_PATH "./lib/"
- #endif
-+#ifndef DEFAULT_PATH_W
-+# define DEFAULT_PATH_W DEFAULT_PATH
-+#endif
- 
- 
- /*
-diff --git a/src/server/externs.h b/src/server/externs.h
-index 249e41b..e1a5c4f 100644
 a/server/externs.h
-+++ a/server/externs.h
-@@ -644,7 +644,7 @@ extern errr init_e_info_txt(FILE *fp, char *buf);
- extern errr init_r_info_txt(FILE *fp, char *buf);
- 
- /* init.c */
--extern void init_file_paths(char *path);
-+extern void init_file_paths(char *path, char *path2);
- extern void init_some_arrays(void);
- extern void load_server_cfg(void);
- 
-diff --git a/src/server/init2.c b/src/server/init2.c
-index 00d8a01..27fd2b7 100644
 a/server/init2.c
-+++ a/server/init2.c
-@@ -63,10 +63,11 @@
-  * to succeed even if the strings have not been allocated yet,
-  * as long as the variables start out as "NULL".
-  */
--void init_file_paths(char *path)
-+void init_file_paths(char *path, char *path2)
- {
-   char *tail;
--
-+  char *tail2;
-+  char *tmp;
- 
-   /*** Free everything ***/
- 
-@@ -103,6 +104,10 @@ void init_file_paths(char *path)
-   /* Prepare to append to the Base Path */
-   tail = path + strlen(path);
- 
-+  tmp = string_make(path2);
-+
-+  /* Prepare to append to the Base Path */
-+  tail2 = path2 + strlen(path2);
- 
- #ifdef VM
- 
-@@ -123,8 +128,8 @@ void init_file_paths(char *path)
-   /*** Build the sub-directory names ***/
- 
-   /* Build a path name */
--  strcpy(tail, "data");
--  ANGBAND_DIR_DATA = string_make(path);
-+  strcpy(tail2, "data");
-+  ANGBAND_DIR_DATA = string_make(path2);
- 
-   /* Build a path name */
-   strcpy(tail, "edit");
-@@ -147,16 +152,16 @@ void init_file_paths(char *path)
-   ANGBAND_DIR_PREF = string_make(path);
- #endif
-   /* Build a path name */
--  strcpy(tail, "save");
--  ANGBAND_DIR_SAVE = string_make(path);
-+  strcpy(tail2, "save");
-+  ANGBAND_DIR_SAVE = string_make(path2);
-   
-   /* Build a path name */
-   strcpy(tail, "text");
-   ANGBAND_DIR_TEXT = string_make(path);
- 
-   /* Build a path name */
--  strcpy(tail, "user");
--  ANGBAND_DIR_USER = string_make(path);
-+  strcpy(tail2, "user");
-+  ANGBAND_DIR_USER = string_make(path2);
- #if 0
-   /* Build a path name */
-   strcpy(tail, "apex");
-diff --git a/src/server/main.c b/src/server/main.c
-index 4260b8d..7884b2f 100644
 a/server/main.c
-+++ a/server/main.c
-@@ -142,6 +142,7 @@ extern unsigned _ovrbuffer = 0x1500;
- static void init_stuff(void)
- {
-   char path[1024];
-+  char path2[1024];
- 
- #if defined(AMIGA) || defined(VM)
- 
-@@ -161,10 +162,16 @@ static void init_stuff(void)
-   /* Hack -- Add a path separator (only if needed) */
-   if (!suffix(path, PATH_SEP)) strcat(path, PATH_SEP);
- 
-+  /* Use the angband_path, or a default */
-+  strcpy(path2, tail ? tail : DEFAULT_PATH_W);
-+
-+  /* Hack -- Add a path separator (only if needed) */
-+  if (!suffix(path2, PATH_SEP)) strcat(path2, PATH_SEP);
-+
- #endif /* AMIGA / VM */
- 
-   /* Initialize */
--  init_file_paths(path);
-+  

[gentoo-commits] repo/gentoo:master commit in: games-roguelike/mangband/

2018-07-26 Thread Jonas Stein
commit: a6272842d2161cc11a549333621479367d53becf
Author: Jonas Stein  gentoo  org>
AuthorDate: Thu Jul 26 19:14:34 2018 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Thu Jul 26 19:14:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6272842

games-roguelike/mangband: Maintainer retired

Proxied maintainer retired due to inactivity.
Closes: https://bugs.gentoo.org/584542
Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-roguelike/mangband/metadata.xml | 10 ++
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/games-roguelike/mangband/metadata.xml 
b/games-roguelike/mangband/metadata.xml
index 3891204b9a6..585b0dc75dd 100644
--- a/games-roguelike/mangband/metadata.xml
+++ b/games-roguelike/mangband/metadata.xml
@@ -1,11 +1,5 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   flamb...@mangband.org
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   
-
+   
+   



[gentoo-commits] repo/gentoo:master commit in: games-roguelike/mangband/

2018-02-11 Thread Michał Górny
commit: 5027ac8107cc73a3e06b9510779757659c699005
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 11 10:47:20 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 11 10:52:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5027ac81

games-roguelike/mangband: Remove useless maintainer 

Remove useless/redundant maintainer . It does not benefit
bug wrangling, and only wastes developer's time on reading it. Few tips:

- assignee/CC is implied by ordering, there is no reason to repeat it,
- we know that maintainer is maintainer (la la la la la),
- most of adjectives for maintainer are of no value and/or are obvious.

 games-roguelike/mangband/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/games-roguelike/mangband/metadata.xml 
b/games-roguelike/mangband/metadata.xml
index 11e4ff3a600..3891204b9a6 100644
--- a/games-roguelike/mangband/metadata.xml
+++ b/games-roguelike/mangband/metadata.xml
@@ -3,7 +3,6 @@
 

flamb...@mangband.org
-   Proxied Maintainer


proxy-ma...@gentoo.org



[gentoo-commits] repo/gentoo:master commit in: games-roguelike/mangband/

2016-05-29 Thread Amy Winston
commit: 3385b95b01906a8172986eee0e781713fa61bb6c
Author: Amy Winston  gentoo  org>
AuthorDate: Sun May 29 08:34:11 2016 +
Commit: Amy Winston  gentoo  org>
CommitDate: Sun May 29 08:35:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3385b95b

games-roguelike/mangband: fix typo

Package-Manager: portage-2.2.28

 games-roguelike/mangband/mangband-1.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-roguelike/mangband/mangband-1.1.3.ebuild 
b/games-roguelike/mangband/mangband-1.1.3.ebuild
index 1910e28..e8e1fd5 100644
--- a/games-roguelike/mangband/mangband-1.1.3.ebuild
+++ b/games-roguelike/mangband/mangband-1.1.3.ebuild
@@ -76,7 +76,7 @@ src_install() {
 
 pkg_postinst() {
echo
-   elog "Make sure LibDir is either unset in ~/.mangrc either points to"
+   elog "Make sure LibDir is either unset in ~/.mangrc or points to"
elog " ${MY_DATADIR} for 'mangclient' to pick it up."
elog "Server binary is called 'mangband', and must be run under user"
elog " mangband, i.e. 'sudo -u mangband mangband' "



[gentoo-commits] repo/gentoo:master commit in: games-roguelike/mangband/, games-roguelike/mangband/files/

2016-05-29 Thread Amy Winston
commit: cf2dd43960ddaba7674b966b116cb0e9868043eb
Author: Amy Winston  gentoo  org>
AuthorDate: Sun May 29 08:28:29 2016 +
Commit: Amy Winston  gentoo  org>
CommitDate: Sun May 29 08:28:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf2dd439

games-roguelike/mangband: initial commit new package bug #139020

Package-Manager: portage-2.2.28

 games-roguelike/mangband/Manifest  |   1 +
 .../mangband/files/mangband-1.1.3-paths.patch  | 118 +
 .../mangband/files/mangband-1.1.3-strchr.patch |  22 
 games-roguelike/mangband/mangband-1.1.3.ebuild |  84 +++
 games-roguelike/mangband/metadata.xml  |  12 +++
 5 files changed, 237 insertions(+)

diff --git a/games-roguelike/mangband/Manifest 
b/games-roguelike/mangband/Manifest
new file mode 100644
index 000..752e404
--- /dev/null
+++ b/games-roguelike/mangband/Manifest
@@ -0,0 +1 @@
+DIST mangband-1.1.3.tar.gz 1497078 SHA256 
d4917c51fc84a0626db1b09f6cf8b0ebc4522dd8ab34334e56fba8275ede9069 SHA512 
5efda352607953e94a433bf9aabb496419a22c984dc9e054cebc90623682da23a90fb6cb910fcc950010d469571f2af515bfa7740c921add44ac9ea95e723130
 WHIRLPOOL 
28bf625bf930dff87e66ef8f500043a061b5834e830b1f377f7115c824432fc8025ab687fb6bc3bf69e73c8316ece0f4707cf6550ba3f6560d1c2b456c510bd0

diff --git a/games-roguelike/mangband/files/mangband-1.1.3-paths.patch 
b/games-roguelike/mangband/files/mangband-1.1.3-paths.patch
new file mode 100644
index 000..dd95515
--- /dev/null
+++ b/games-roguelike/mangband/files/mangband-1.1.3-paths.patch
@@ -0,0 +1,118 @@
+diff --git a/src/config.h.in b/src/config.h.in
+index e8efdca..9a6290a 100644
+--- a/config.h.in
 a/config.h.in
+@@ -473,6 +473,9 @@
+ #ifndef DEFAULT_PATH
+ # define DEFAULT_PATH "./lib/"
+ #endif
++#ifndef DEFAULT_PATH_W
++# define DEFAULT_PATH_W DEFAULT_PATH
++#endif
+ 
+ 
+ /*
+diff --git a/src/server/externs.h b/src/server/externs.h
+index 249e41b..e1a5c4f 100644
+--- a/server/externs.h
 a/server/externs.h
+@@ -644,7 +644,7 @@ extern errr init_e_info_txt(FILE *fp, char *buf);
+ extern errr init_r_info_txt(FILE *fp, char *buf);
+ 
+ /* init.c */
+-extern void init_file_paths(char *path);
++extern void init_file_paths(char *path, char *path2);
+ extern void init_some_arrays(void);
+ extern void load_server_cfg(void);
+ 
+diff --git a/src/server/init2.c b/src/server/init2.c
+index 00d8a01..27fd2b7 100644
+--- a/server/init2.c
 a/server/init2.c
+@@ -63,10 +63,11 @@
+  * to succeed even if the strings have not been allocated yet,
+  * as long as the variables start out as "NULL".
+  */
+-void init_file_paths(char *path)
++void init_file_paths(char *path, char *path2)
+ {
+   char *tail;
+-
++  char *tail2;
++  char *tmp;
+ 
+   /*** Free everything ***/
+ 
+@@ -103,6 +104,10 @@ void init_file_paths(char *path)
+   /* Prepare to append to the Base Path */
+   tail = path + strlen(path);
+ 
++  tmp = string_make(path2);
++
++  /* Prepare to append to the Base Path */
++  tail2 = path2 + strlen(path2);
+ 
+ #ifdef VM
+ 
+@@ -123,8 +128,8 @@ void init_file_paths(char *path)
+   /*** Build the sub-directory names ***/
+ 
+   /* Build a path name */
+-  strcpy(tail, "data");
+-  ANGBAND_DIR_DATA = string_make(path);
++  strcpy(tail2, "data");
++  ANGBAND_DIR_DATA = string_make(path2);
+ 
+   /* Build a path name */
+   strcpy(tail, "edit");
+@@ -147,16 +152,16 @@ void init_file_paths(char *path)
+   ANGBAND_DIR_PREF = string_make(path);
+ #endif
+   /* Build a path name */
+-  strcpy(tail, "save");
+-  ANGBAND_DIR_SAVE = string_make(path);
++  strcpy(tail2, "save");
++  ANGBAND_DIR_SAVE = string_make(path2);
+   
+   /* Build a path name */
+   strcpy(tail, "text");
+   ANGBAND_DIR_TEXT = string_make(path);
+ 
+   /* Build a path name */
+-  strcpy(tail, "user");
+-  ANGBAND_DIR_USER = string_make(path);
++  strcpy(tail2, "user");
++  ANGBAND_DIR_USER = string_make(path2);
+ #if 0
+   /* Build a path name */
+   strcpy(tail, "apex");
+diff --git a/src/server/main.c b/src/server/main.c
+index 4260b8d..7884b2f 100644
+--- a/server/main.c
 a/server/main.c
+@@ -142,6 +142,7 @@ extern unsigned _ovrbuffer = 0x1500;
+ static void init_stuff(void)
+ {
+   char path[1024];
++  char path2[1024];
+ 
+ #if defined(AMIGA) || defined(VM)
+ 
+@@ -161,10 +162,16 @@ static void init_stuff(void)
+   /* Hack -- Add a path separator (only if needed) */
+   if (!suffix(path, PATH_SEP)) strcat(path, PATH_SEP);
+ 
++  /* Use the angband_path, or a default */
++  strcpy(path2, tail ? tail : DEFAULT_PATH_W);
++
++  /* Hack -- Add a path separator (only if needed) */
++  if (!suffix(path2, PATH_SEP)) strcat(path2, PATH_SEP);
++
+ #endif /* AMIGA / VM */
+ 
+   /* Initialize */
+-  init_file_paths(path);
++  init_file_paths(path, path2);
+ }
+ 
+ /*

diff